3code Economical Coding Agent
Treats your token budget as a first-class constraint — 5× the work per token so subscriptions last and free tiers work.
- Source repo
- capocasa/3code
- Stars
- ★ 117
- Last updated
- 2d ago
- License
- MIT
- Primary language
- Nim
- FA score
- 59/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Not a fit if
- Users who need a GUI or IDE extension; it is terminal-only
- Enterprises needing paid vendor support or an SLA
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-09latest release 0.8.4 (2026-10-16)
- Source review
- 59/100 · Major gaps
What does this agent do, and when should you use it?
3code is a command-line coding agent whose core design goal is cost rather than raw capability, explicitly targeting more work per token so a subscription lasts longer and free-tier models stay usable. It works with any OpenAI-compatible endpoint, so free tiers, flat-rate coding plans, subscription logins and local servers are all valid backends. It ships as a single 1.6 MB executable with no runtime dependencies, runs on Linux x86-64/arm64, macOS universal, Windows and Termux on Android arm64, and has no daemon, no web UI and no telemetry. Internally it keeps context small through chunked mode (extract relevant context, discard stale material), aggressive caching, supersede-aware context compaction that elides stale reads, and a self-clearing plan/execute skill that resets context between phases. It is also usable as a Nim library: the same agent loop, tool calls, sandbox and session persistence, with the terminal replaced by return values and callbacks. It publishes a 10-task SWE-bench Verified subset comparison showing the lowest token use of five harnesses on the same provider and model.
As a CLI agent, 3code runs inside a project directory: it reads repository files, calls tools to edit them and execute commands, decides its next step from model responses, and produces code changes plus runnable results. All model traffic goes through an OpenAI-compatible endpoint, which can be a free tier, a flat-rate coding plan, a subscription login or a local server. To hold cost down it continuously extracts and discards context in chunked mode, reuses aggressive caching, performs supersede-aware compaction where later writes elide stale reads, and self-clears context between plan and execute phases. The CLI offers 3code to start, :provider add to stack another provider, -p private mode that gates turns to zero-training providers and turns the token bar magenta, a loop guard that halts runaway autonomous edits at configurable thresholds, human-readable .3log session persistence with resume, and built-in native web search. Used as a Nim library, the same agent loop, tool calls, sandbox and session persistence are exposed through return values and callbacks so you can attach a web frontend, chat bot, CI runner or IDE plugin.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| 3code Economical Coding Agent This agent | 59 · Major gaps | CLIFree + model costs | ★ 117 | 2d ago | Nim | OpenAI API |
| Aster | 70 · Some gaps | CLIFree + model costs | ★ 139 | 10d ago | Rust | OpenAI API |
| Ogcode | 50 · Major gaps | CLIFree + model costs | ★ 147 | 2d ago | Go | OpenAI API · Claude API |
| UNCUT | 57 · Major gaps | — | ★ 262 | 2d ago | Go | OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
The README claims no telemetry and local session storage, and describes configurable providers; CI pins dependencies, while the OpenSSL fetch script verifies a signature and fingerprint. This supports moderate scores for least privilege, data flow transparency, and dependency security, but is not a complete review. Setup asks users to paste an API key, without explaining how keys are stored, protected, or removed; confirmation behavior is also not clearly described in the packet. CI uploads build artifacts to a site and installers download and run code, with no documented user confirmation or rollback path. The README, license, and build files provide author, license, and provenance clues, but publisher identity remains unknown.
CI pins Nim, dependencies, and the Linux build environment, and includes a rebuild consistency check; the test script has timeouts, logs, and failure summaries, while the build script reports lock wait timeouts. The README's feature and platform descriptions broadly align with the supplied build material, but these files do not establish runtime results; download services, providers, and some platform toolchains remain external dependencies.
The README targets command-line coding, lists multiple providers, models, and platforms, and describes embedding the Nim library. It explicitly notes that Termux lacks an OS sandbox. Capability boundaries are only partly visible: loop protection and path checks are mentioned, but the packet does not fully define tool permissions, isolation scope, or scenario-specific limits. The `3code` command, installation steps, and provider setup describe the trigger and environment requirements fairly clearly.
The README organizes onboarding, features, community, benchmarks, and technical details, and provides installation instructions, examples, Windows and Termux notes, and documentation links. Naming is stable, and a separate LICENSE states MIT terms. The packet includes CI version pins and a contribution path, but does not provide a clear release/change history or sufficiently describe ongoing maintenance responsibility or support commitments.
The packet gives CLI usage, provider selection, and features such as session persistence and search, with understandable value for coding-agent use. It supports token-saving claims with results from a small SWE-bench subset; the README itself calls the testing preliminary, so the cost-benefit and comparative performance claims merit only partial credit.
Some README claims about installation, platforms, and builds have corresponding evidence in the supplied CI workflows, and the README links to benchmark methods and reports. CI scripts show concrete build and test procedures. The packet lacks the full source, raw benchmark data, and linked report contents, limiting corroboration; the README separates product description, performance claims, and some limitations, but several safety and capability claims remain self-reported.
- Installation downloads and executes a network-hosted script, and CI uploads build artifacts to the project site. The packet does not explain user-side verification, API key storage protections, or rollback procedures.
- Performance figures come from a small SWE-bench subset; the packet does not include raw results or the full methodology report, so they should not be treated as independently reproduced findings.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Full Changelog: https://github.com/capocasa/3code/compare/0.8.3...0.8.4View on GitHub ↗ -
Release notes excerpt
What's Changed * wsl2: landlock sandbox probe on hosted windows runners by @capocasa in https://github.com/capocasa/3code/pull/52 Full Changelog: https://github.com/capocasa/3code/compare/0.8.2...0.8.3View on GitHub ↗ -
Release notes excerpt
Full Changelog: https://github.com/capocasa/3code/compare/0.8.1...0.8.2View on GitHub ↗
FAQ
Is 3code Economical Coding Agent free?
Is 3code Economical Coding Agent open source?
Is 3code Economical Coding Agent safe to use?
Is 3code Economical Coding Agent still maintained?
Who makes 3code Economical Coding Agent?
Thanks — we use this to improve the page.