TERMy: A lightweight terminal assistant that converts natural language to shell commands without AI
A developer known for creating the PJON network protocol has released TERMy, a terminal assistant built on the NPC-Forge framework that translates natural language into shell commands without using LLMs, embeddings, or machine learning. The tool runs entirely on the CPU, works on low-power devices like the Raspberry Pi Zero, and responds in milliseconds both in the terminal and in a browser tab. It uses a roughly 1,000-line Python NLU pipeline that applies techniques such as Bag of Words, Inverse Document Frequency, and Levenshtein distance to handle natural language input and typos. The project was developed over two months starting in early July, motivated by the developer's desire to reduce monthly costs from AI coding assistants used for simple workflow tasks. Permission controls are hardcoded into the dataset to prevent potentially destructive commands from executing without approval, making it safer than LLM-based alternatives.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in