nanocoder
Open terminal coding agent that runs on the model and provider you pick
Overview
nanocoder is an open coding agent that runs in the terminal, created by the Nano Collective, a community group rather than a company. It performs agent-driven coding against a model the user selects, letting developers use local models through Ollama or connect to any OpenAI-compatible API, including OpenRouter, Requesty, Anthropic, and Google. According to the README, it is privacy-respecting, local-first, and open to all, with no closed-source features or paid tiers holding back useful functionality.
The product is aimed at developers who work from a command line and want control over which provider handles their code and where their data goes. Installation is documented through NPM, Homebrew for macOS and Linux, and Nix Flakes. A quick start installs the package globally and launches the tool in any directory, and command-line flags can select a provider, a model, and a starting development mode.
What distinguishes nanocoder is its governance and stance: it is built by the people who use it, keeps the harness multi-provider on principle, and avoids telemetry that quietly sends prompts elsewhere. The README also describes a review command for checking a branch or pull request and a worktree command that opens a pull request in an isolated directory, with the original working tree left untouched.
Best for
- Software developers
- Terminal-focused engineers
- Open-source contributors
- Developers using local models
- Platform or DevOps engineers
- Software development
- Open-source software
How to use
- Install the package globally with NPM, or use the documented Homebrew or Nix Flakes route.
- Run nanocoder in any directory to begin.
- Optionally pass provider and model flags for an interactive session.
- Use the run command with a task description for a non-interactive job.
- Choose a starting development mode such as plan or architect when needed.
What it can do
How it works
nanocoder runs in the terminal and connects to the model provider the user specifies, whether a local model through Ollama or an OpenAI-compatible API. Provider, model, and starting mode can be supplied at launch, and documentation also covers configuration of AI providers, MCP servers, preferences, logging, and timeouts. Screen rendering can be switched between the default fullscreen layout and an inline mode that keeps output in the terminal's native scrollback.
Workflows that touch repositories stay under user control. Review sessions require an interactive terminal. Worktree sessions require Git, an authenticated gh CLI, and an interactive terminal, and they create a separate directory and branch while leaving the original working tree alone. The user decides which provider handles the code, which development mode to run, and when to remove the worktree and branch afterward.
The agent performs coding tasks under user direction, but users choose the provider and model and select approval-oriented modes, and review and worktree operations still depend on the user's terminal session and manual cleanup.
Where it fits
- Analyze a source file from a one-off command with a chosen provider.
- Audit an authentication module while starting in plan mode.
- Refactor a database module through an interactive session.
- Review a branch or pull request for bugs, security issues, and style problems.
Good fit
- Developers who want agentic coding in the terminal with a model of their choice, including local models through Ollama
- Teams and individuals who prefer an OpenAI-compatible API such as OpenRouter, Requesty, Anthropic, or Google for running code work
- Reviewing a branch or pull request for bugs, security issues, and style violations via the diff-only review command
- Opening a pull request in an isolated Git worktree for an interactive coding session without touching the original working tree
Not a fit
- Pipelines or scripts that need to capture the output of the review command, since it requires an interactive terminal and its output cannot currently be saved to a file
- Workflows that are not Git-based or lack an authenticated gh CLI, because the worktree command depends on both
How to evaluate
- Confirm the tool runs on your setup: it installs via npm, Homebrew on macOS/Linux, or Nix Flakes, and development requires Node 22 or newer
- Decide whether you will use a local model through Ollama or an OpenAI-compatible API, and verify your chosen provider works with the provider and model flags
- Check whether you need inline or fullscreen rendering, since the default fullscreen view does not keep the transcript on screen after exit unless you resume or export it
- Test the review command in an interactive terminal and confirm its diff-only scope fits your code review needs
- Verify Git and an authenticated gh CLI are available if you plan to use the worktree command for pull request sessions
Alternatives
| Agent | Pricing | Autonomy | Best for |
|---|---|---|---|
| oh-my-claudecode | — | Supervised | Software developers using Claude Code, Engineering team leads, Code reviewers and security reviewers, UI and UX designers working in code, Data scientists, Technical writers and documentation specialists |
| happy | — | Supervised | Software developers, Engineering teams, Pair-programming collaborators, Developers who work across desk and mobile |
| plandex | — | Supervised | Software developers, Engineering teams on large codebases, Developers reviewing AI-generated changes, Teams exploring multiple models, Self-hosting developers |
| MiMo-Code | — | Supervised | Software developers, Engineers working in terminals, Developers managing Git repositories, Teams using multiple LLM providers |
| superplane | — | Supervised | Software engineers, Engineering managers, Platform and infrastructure engineers, DevOps and release engineers, Open source maintainers |
| ralph-claude-code | — | Supervised | Software developers, Engineering teams using Claude Code, Automation and DevOps engineers, Maintainers working from task lists or PRDs |
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/agents/nanocoder"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.