A terminal AI agent that runs entirely on your machine. It talks to any OpenAI-compatible server (LM Studio, Ollama, llama.cpp, or a remote endpoint), auto-detects the loaded model, and gives that model real tools: running OS commands, managing files in a sandboxed workspace, searching the web, and reading web pages.
Every folder you run it in gets its own persistent memory, so each project remembers its own conversations.
- Zero-config local LLM: connects to LM Studio at
http://localhost:1234/v1out of the box, auto-detects the loaded model, and works with any OpenAI-compatible server via one config key - Agentic tool loop: the model chains tool calls until the task is done (with a round limit and loop detection)
- 9 built-in tools: shell execution, system info, 5 file operations, web search, web page reading
- Approval gate: you confirm every OS command before it runs, with extra warnings for destructive commands
- Sandboxed file tools: the model can only touch files inside
./workspace - Per-folder memory: chat history lives in
.digitalmindx/next to the workspace, outside the sandbox - Per-folder settings: override the global config per project
- Slash commands for direct control:
/command,/history,/clear,/approveand more - Buildable into a single Windows/Linux executable with PyInstaller
pip install -r requirements.txt
Start the local server in LM Studio (Developer tab, default port 1234), or point URL in the config at any OpenAI-compatible server, then:
python main.py
That is all the setup there is. Full instructions are in the user guide.
| File | Contents |
|---|---|
| USER_GUIDE_EN.md | Install, LM Studio setup, folder layout, slash commands, approvals, config |
| USER_GUIDE_AR.md | نفس الدليل بالعربية |
| TECHNICAL_EN.md | Every class and function, for modifying the code |
| TECHNICAL_AR.md | الشرح التقني بالعربية |
DigitalMindX lets a local model run shell commands on your machine. Every command asks for your approval first (unless you turn on AUTO_APPROVE), and file tools are locked to the workspace folder. Keep approvals on unless you fully trust the model you loaded.
MIT, see LICENSE.