
I’ve been building a small open-source CLI coding agent for local models.
It runs with Ollama and works best so far with Qwen Coder. The basic loop is:
model decides action -> reads/writes files-> runs shell commands -> sees test errors -> patches and retries
It currently supports file editing, shell commands, web search, auto mode, and basic safety checks for dangerous commands. I’m also planning plan mode, better context compaction, and maybe AirLLM support.
I made it because existing local Claude Code-style attempts were too slow or unreliable on my Mac Studio M2 Max 32 GB.
GitHub:
https://github.com/mont127/OLCodeZ
Feedback welcome, especially from people testing local coding agents.