Minimal Claude Code alternative with MLX.
- Full agentic loop with tool use
- Tools:
read,write,edit,glob,grep,bash - Conversation history
- Colored terminal output
- Runs locally with mlx-lm
pip install mlx-lm
mlx_lm.server --model mlx-community/NVIDIA-Nemotron-3-Nano-30B-A3B-4bitpython nanocode.py/c- Clear conversation/qorexit- Quit
| Tool | Description |
|---|---|
read |
Read file with line numbers, offset/limit |
write |
Write content to file |
edit |
Replace string in file (must be unique) |
glob |
Find files by pattern, sorted by mtime |
grep |
Search files for regex |
bash |
Run shell command |
────────────────────────────────────────
❯ what files are here?
────────────────────────────────────────
⏺ Glob(**/*.py)
⎿ nanocode.py
⏺ There's one Python file: nanocode.py
MIT