nanocoder
An open coding agent for your terminal, built by a community collective rather than a company. Bring your own model, keep your code on your machine, and owe not
What is nanocoder?
An open coding agent for your terminal, built by a community collective rather than a company. Bring your own model, keep your code on your machine, and owe nothing to anyone.
Overview of nanocoder
What it is
Nanocoder is an open coding agent for the terminal, built by the Nano Collective, a community collective rather than a company. It allows users to bring their own model and keep code on their machine. It runs agentic coding on the model of the user's choice: local models via Ollama, or any OpenAI-compatible API such as OpenRouter, Requesty, Anthropic, and Google. The tool is described as privacy-respecting, local-first, and open for all.
Key features
- Bring your own model: supports local models via Ollama and any OpenAI-compatible API.
- Multiple screen modes: fullscreen (alternate screen buffer) and inline (native terminal scrollback).
- CLI flags to specify provider, model, and starting mode (normal, auto-accept, yolo, plan, architect).
- Branch/PR review:
nanocoder reviewfor diff-only review of branches or pull requests. - Worktree support:
nanocoder worktreecreates an isolated Git worktree for interactive coding on a PR. - Slash commands: includes
/clear,/exit,/resume,/export, and more. - No closed-source features and no paid tiers gating useful parts.
Use cases
Nanocoder is suitable for developers who want an AI coding agent that runs locally or with a provider of their choice, keeping code on their own machine. It can be used for code analysis, refactoring, auditing modules, reviewing branches or pull requests for bugs and security issues, and interactive coding sessions on isolated worktrees. It is designed for users who prioritize privacy and want to avoid vendor lock-in.
Getting started
bashnpm install -g @nanocollective/nanocodernanocoderAlso available via Homebrew and Nix Flakes.
License and pricing
The license is not stated in the provided metadata. The project is open source and has no paid tiers.
Based on the project's public README and repository metadata.