Agentsvia Dev.to API
Developer builds local coding agent with hand-rolled loop

A developer built a CLI coding agent that reads, searches, and modifies files using a local LLM via Ollama. The agent uses Gemma 4:12B and Qwen3.8:27B models with a 15-iteration loop and a three-layer guardrail system blocking system paths, prompting for workspace exits, and denying writes to sensitive files like .env. No frameworks like LangChain were used.
Was this summary accurate?