Nanocoder
An open coding agent for your terminal that lets you bring your own model and keep code local.
- Source repo
- Nano-Collective/nanocoder
- Stars
- ★ 2.6k
- Last updated
- today v1.32.0
- FARS reviewed
- Nov 08, 2026
- License
- NOASSERTION
- Primary language
- TypeScript
- FA score
- 73/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer who wants to use local models for coding while keeping code private on their machine.
- Not a fit if
- Users who need a GUI or IDE extension
- Automation that pipes or redirects review output to a file
- Website
- docs.nanocollective.org/nanocoder ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v1.32.0 (2026-11-04)+1.0 ★/day over 7 days
- Source review
- 73/100 · Some gaps
What does this agent do, and when should you use it?
Nanocoder is an open-source coding agent for the terminal, built by the Nano Collective community, not a company. It allows you to bring your own model, using local models via Ollama or any OpenAI-compatible API such as OpenRouter, Anthropic, and Google. It is privacy-respecting and local-first, ensuring your code stays on your machine. Install via npm with npm install -g @nanocollective/nanocoder, then run nanocoder. It supports various CLI flags for provider, model, and mode, and offers both inline and fullscreen rendering. There are no paid tiers, no telemetry, and the roadmap is community-driven. The documentation is comprehensive, covering installation, configuration, features, and command references.
Nanocoder executes coding tasks using the model you specify. It runs from the terminal, with commands like nanocoder --provider openrouter --model google/gemini-3.1-flash run "analyze src/app.ts" for non-interactive analysis, or nanocoder --provider ollama --model llama3.1 for interactive sessions. It supports development modes: normal, auto-accept, yolo, and plan, and a fullscreen mode via --alt-screen. It provides built-in slash commands like /clear and /exit. It reads project files, executes commands, calls model APIs, generates code changes or analysis, and outputs to the terminal. Configuration includes MCP servers, preferences, logging, and timeouts.
- A developer who wants to use local models for coding while keeping code private on their machine.
- A team that needs a uniform coding agent but allows members to choose different providers (e.g., Ollama or OpenRouter).
- A user who wants a coding agent with no paid tiers and no telemetry.
- A developer managing multiple projects who wants a standardized toolchain across them.
- A contributor who wants to influence the roadmap of a community-driven AI tool.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npm install -g @nanocollective/nanocoder
- Install notes cover
- macOS · Linux
How do you install or deploy this agent?
Install globally via npm: npm install -g @nanocollective/nanocoder. Also available via Homebrew (macOS/Linux) and Nix Flakes. After installation, run nanocoder to start. Requires Node.js.
How do you use this agent?
Run nanocoder to start an interactive session. Use --provider and --model to specify provider and model, e.g., nanocoder --provider openrouter --model google/gemini-3.1-flash run "analyze src/app.ts". Modes are normal, auto-accept, yolo, plan; use --mode to specify. Use --alt-screen for fullscreen mode. Slash commands include /clear and /exit.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- True local-first, code never leaves your machine.
- Multi-provider support (Ollama, OpenRouter, Anthropic, Google) avoids lock-in.
- No paid tiers; all features are open to the community.
- Community collective governance, not company-driven, so roadmap reflects user needs.
- Requires you to bring your own model, which may incur API costs.
- Depends on Node.js environment and npm package installation.
- Documentation is extensive but may require time to learn CLI and configuration.
- Fullscreen mode is not default; must use --alt-screen.
How does this agent compare with similar options?
Compared to Claude Code and Codex, Nanocoder emphasizes multi-provider support, local-first design, and no corporate governance.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Nanocoder This agent | 73 · Some gaps | CLIFree + model costs | ★ 2.6k | today | TypeScript | OpenAI API · Claude API |
| Synara | 57 · Major gaps | Desktop appFree + model costs | ★ 2.4k | today | TypeScript | Codex · Claude Code |
| OpenClaude — Universal Terminal AI Coding Agent | 63 · Some gaps | CLIFree + model costs | ★ 35k | 1d ago | TypeScript | Claude Code · OpenAI API · Claude API |
| Codehamr | 59 · Major gaps | CLIFree + model costs | ★ 224 | 2mo ago | Go | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The MCP guide explains that tools normally require confirmation, how alwaysAllow bypasses it, and that auto-accept, yolo, and headless run tools without prompts. The security policy also states that hooks, plugins, custom tools, skills, and MCP servers in trusted folders run with the user's permissions. This supports ordinary least-privilege, confirmation, and data-flow safeguards, but broad unattended execution in yolo/headless still calls for careful configuration, so these are not full marks. The guide recommends treating prompts, code, and decisions as sensitive and checking optional memory servers' storage and network behavior; that is not comprehensive secret protection, so sensitive-data handling is 2. An audit script is listed, but the packet contains no audit result or dependency mitigation evidence, so dependency security is 1. Worktree instructions say the original tree is left alone, existing directories and branches are not overwritten, and provide cleanup commands; the packet does not show recovery paths for every external effect, so rollback is 2. Repository and publisher references point to Nano Collective project metadata and a security reporting path, but the supplied provenance says publisher identity is unverified, so source attribution is 2.
The README, installation guide, and package metadata broadly agree on npm installation, Node requirements, and CLI usage. The packet lacks complete code and runtime evidence, so overall consistency is not fully established and scores 2. npm, Homebrew, Nix, and multiple model providers reduce dependence on one provider, while external models, networks, and third-party MCP servers remain dependencies, so availability is 2. The configuration loader logs read and parse failures, and the guide describes MCP health checks, backoff reconnection, and tool restoration; the packet does not establish that all failure paths produce adequate user-facing messages, so failure messages score 2.
The material clearly covers interactive terminal use, non-interactive tasks, PR review, worktrees, editor ACP, multiple model providers, and local models, earning 3 for audiences and scenarios. The MCP guide explains tool-profile visibility and how plan mode hides potentially mutating tools based on readOnlyHint, but the broad plugin and tool surface is not bounded comprehensively in the packet, so capability boundaries score 2. Command examples are concrete and review/worktree prerequisites are stated, including TTY, Git, gh authentication, and an interactive terminal; triggers across all extensions and automation paths are not covered, so trigger precision is 2. Node 22+, pnpm, macOS/Linux/Windows data paths, terminal modes, and CI/non-TTY shell use are documented, earning 3 for environment fit.
Documentation is organized into getting started, configuration, features, commands, and shortcuts, with clear source-directory responsibilities, earning 3 for information architecture. npm, Homebrew, Nix, development setup, updates, uninstall, and data cleanup have concrete steps, earning 3 for installation notes. Package, CLI, and configuration names are stable in the sample, but there is insufficient evidence for compatibility across the full extension surface and naming history, so naming stability is 2. Documentation includes copyable examples, precedence rules, troubleshooting notes, and limitations, earning 3 for examples and FAQ. The TTY/output limits for review, worktree prerequisites, trusted-folder execution permissions, and supported security-reporting scope are disclosed, earning 3 for known limitations. LICENSE.md and package.json both identify MIT, earning 3 for license. A package version and changeset process are present, and contributor guidance says user-facing changes need changesets; the packet lacks release history or a changelog, so versioning/changelog is 2. Security reporting, supported-version scope, contribution channels, and collective identity are described, but the policy says the team is small and promises no fix timeline, so maintenance responsibility is 2.
The tool supports multiple providers, file editing, commands, MCP, subagents, and interaction modes, with directly usable command examples; without execution evidence, output usability scores 2. Local models, compatible APIs, terminal and editor entry points, plus review, worktree, and daemon capabilities provide practical value beyond a single chat interface, earning 3 for marginal value. Users can choose local or remote models and the architecture notes token/cost features, but the packet does not quantify costs, resource needs, or maintenance burden, so cost-benefit is 2.
README usage and limitations have supporting documentation, and the config loader shows actual parsing and error-logging paths; some privacy and product claims remain project statements in this packet, so claim traceability is 2. The README, installation and security policies, MCP guide, package metadata, and config code corroborate several installation, permission, and configuration claims; cross-source evidence for complete security behavior and release practice is limited, so corroboration is 2. The material often separates configuration facts, advice, and limitations, such as identifying the third-party memory MCP as optional and recommending independent review; some privacy and collective-governance claims lack independent corroboration in the packet, so fact/inference separation is 2.
- Yolo, auto-accept, and headless modes can run tools without per-call confirmation; check tool permissions and triggers before enabling them.
- Local-first does not mean all data stays local: model providers, remote MCP servers, and configured extensions may receive or process code and prompts.
- The packet lists a dependency-audit command but provides no audit results; this review did not execute the software or independently verify product claims.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v1.32.0 nanocoder v1.32.0
Release notes excerpt
What's Changed - Nanocoder's ACP agent now honours the mcpServers an editor sends on session/new, session/load and session/resume. Stdio and HTTP servers are connected for that session only, so their tools exist in that session (and in subagents it starts) and in no other, and your own MCP configuration is never read or changed. Loading or resuming a session replaces its previous servers, and closing it, or deleting it, disconnects them. A server that fails to connect, or uses SSE, is logged and skipped and the request still succeeds. initialize now reports mcpCapabilities (`ht …View on GitHub ↗ -
v1.31.0 nanocoder v1.31.0
Release notes excerpt
What's Changed - Added a first-class provider template for Cheaper Inference, an OpenAI-compatible gateway, to the /settings providers wizard. Selecting it fills in the base URL (https://api.cheaperinference.com/v1) so only an API key and a model name are needed, and the wizard can fetch the account's model list over the standard /models endpoint. …View on GitHub ↗ -
v1.30.0 nanocoder v1.30.0
Release notes excerpt
What's Changed - Added first-class provider template for Groq to the setup wizard. - Added first-class provider template for OrcaRouter to the setup wizard. - Added a /commit slash command that generates Conventional Commit messages from staged Git diffs using the active LLM client. Thanks to @DeepamJha. Closes #757. - Consolidated upload actions under a single '+' menu in the VS Code webview to reduce UI clutter and improve scalability for future attachment types. - Added context attachment functionality with UI for file/folder chips and drag-and-drop support. …View on GitHub ↗
FAQ
What is Nanocoder's pricing model?
How is my code security ensured?
Which model providers are supported?
How do I switch development modes?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.