Nanocoder is an open terminal coding agent from the Nano Collective. It runs agentic edits with tools on local Ollama models or any OpenAI-compatible API, keeping code local without paid tiers.
Overview
Nanocoder is a command-line coding agent that reads and writes project files and executes shell commands with model-chosen tools. It accepts providers you configure, including Ollama for local inference and OpenAI-compatible endpoints such as OpenRouter, Anthropic, and Google.
The interface supports fullscreen alternate-buffer mode or inline mode that leaves transcript scrollback in the terminal. Slash commands cover skills, subagents, checkpoints, sessions, MCP servers, and review flows; documentation lists keyboard shortcuts and provider setup guides.
Philosophy emphasized in the docs is community ownership without venture-backed tiers, multi-provider support, and a local-first stance on data and models. Installation options include npm, Homebrew, and Nix flakes, with global nanocoder entry after install.
Some commands require an interactive TTY, including review mode and git worktree flows that fetch pull requests via the gh CLI. Features such as semantic memory, browser tools, voice mode, and editor integrations are described in the online docs and configuration reference.
Key features
- Terminal agent with file and shell tools
- Ollama and OpenAI-compatible providers
- Fullscreen or inline terminal UI
- MCP server configuration
- Skills, subagents, and checkpoints
- Session resume and export
- PR worktree checkout helper
- No paid feature gating described
Use cases
- Local-first coding with Ollama models
- Agentic refactors via API providers
- Interactive PR review in the terminal
- Privacy-sensitive edits on your machine