Your personal agent that runs entirely on your machine.
Single binary. Fully offline. Zero cloud dependency.
Not another cloud chatbot. A complete agent system that runs on your own machine.
TypeScript + React + Ink. Status bar, streaming chat, thinking indicators, and a fixed input box — all driven by the event bus.
Loads GGUF models directly inside the Node.js process with node-llama-cpp. No Ollama daemon. No external services.
Think → tool call → local execution → result back to the model. Multi-turn until the task is done or a limit is hit.
Terminal commands are filtered for high-risk patterns. File tools are restricted to the project root with path traversal protection.
On first launch the agent checks for a local model and downloads a lightweight quantized checkpoint from Hugging Face if needed.
A global EventBus connects the model engine and the UI. Tokens, tool calls, and results update the interface in real time.
From interface to engine to tools — every layer is designed for local-first operation.
A modern terminal interface with a status header, streaming chat history, thinking indicators, and a fixed input box. Everything is driven by the event bus so the UI stays in sync while the agent thinks or runs tools.
View structurenode-llama-cpp loads GGUF models in-process. On first run the agent checks for a local model and downloads a lightweight quantized checkpoint if needed. streamPrompt provides efficient token streaming with sensible defaults.
How download worksA ReAct loop coordinates thinking and tool use. A robust JSON parser recovers tool calls from imperfect model output. terminalTool blocks dangerous commands; fileTool stays inside the project root.
Tool designHow it differs from common setups.
| Capability | DevonAI | Ollama + extras | Cloud API |
|---|---|---|---|
| Fully offline | Yes | Yes | No |
| No extra daemon | Yes | Needs Ollama | Needs network |
| Single-binary feel | Yes | Multiple parts | Account + key |
| Data never leaves the machine | Yes | Yes | No |
| Built-in tool sandbox | Yes | DIY | Limited |
| Terminal-native UI | Yes | — | — |
| Automatic model management | Yes | Yes | — |
Full source, download scripts, inference engine, agent loop,
and terminal UI components — ready to run.