
smallcode
AI coding agent optimized for small LLMs. 87% benchmark with 4B-active model.
The Lens
smallcode is a terminal coding agent built for small, local language models, the 8B to 35B range you can run on your own hardware, not frontier models like Claude or GPT. Most agents assume a huge, reliable model behind them. smallcode assumes the opposite and engineers around it. MIT-licensed and free.
The adaptations are practical: a managed context budget instead of dumping everything at the model, forgiving parsing for messy tool calls, TODO-file planning, and search-and-replace patches instead of full-file rewrites. It's actively maintained, with real releases and a benchmark harness. The project claims 87% on a benchmark with a 4B-active model, though it doesn't spell out the suite or baseline, so take the number as a signal, not proof.
The catch: a coding agent is only as good as the model driving it, and small local models still make mistakes a frontier model wouldn't. If you want to keep code on your own machine or avoid API bills, this is a serious attempt at making that work. If you just want the best results, a frontier model with a mature agent like aider will still beat it.
Free vs Self-Hosted vs Paid
fully freeFree: MIT, free, install scripts for three platforms. No paid tier.
Self-hosted: Run it in your terminal against a local model, no service to host. The cost is the hardware to run the model.
Paid: No paid version. Point it at a paid API instead of a local model and you'd pay that provider, not smallcode.
Free and open source. You pay only in local compute or whatever model you point it at.
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
License: MIT License
Use freely, including commercial. Just keep the license.
Commercial use: ✓ Yes
About
- Owner
- Tyler (User)
- Stars
- 1,973
- Forks
- 151
Explore Further
More tools in the directory
openclaw
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
382.0k ★everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
226.7k ★hermes-agent
The agent that grows with you
210.5k ★