Tools/Doorman11991/smallcode

smallcode

AI coding agent optimized for small LLMs. 87% benchmark with 4B-active model.

2.0k+18/wkemergingJavaScriptMIT Licensenew this week

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 free

Free: 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.

Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
65/100 · B
Adoption13/30
Maintenance22/25
Community5/20
License15/15
Analysis10/10

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