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.
Nanocoder is an open-source AI coding agent designed to run directly in your terminal, enabling developers to perform agentic coding tasks using the model provider of their choice. Built by the Nano Collective community, it supports local models via Ollama or any OpenAI-compatible API including OpenRouter, Anthropic, and Google. The tool prioritizes privacy and local-first architecture, keeping your code on your machine with no telemetry or paid feature tiers. Developers can choose between inline or fullscreen rendering modes and boot directly into different development modes including auto-accept, yolo, and planning modes.
Key Features
Use Cases
- 01Analyzing source code files and modules using natural language commands
- 02Refactoring database modules or authentication systems with AI assistance
- 03Running code audits and security reviews on specific components
- 04Generating and modifying code while maintaining complete control over data locality
- 05Using local LLMs for coding assistance without sending code to external services
- 06Automating repetitive coding tasks in yolo mode for faster iteration
Related Agents
View morehermes-agent
The agent that grows with you
agency-agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
openinterpreter
A coding agent for open models like Kimi K3
cline
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
nanocoder — FAQ
What is nanocoder?+
Nanocoder is an open-source AI coding agent that runs in your terminal, allowing you to use natural language to analyze, refactor, and generate code using the LLM provider of your choice, including local models via Ollama or cloud APIs like Anthropic and OpenRouter.
How do I install nanocoder?+
Install nanocoder globally via npm with 'npm install -g @nanocollective/nanocoder', then run 'nanocoder' to start. It's also available through Homebrew for macOS/Linux and Nix Flakes for NixOS users.
Do I need API keys to use nanocoder?+
You need an API key only if using cloud providers like OpenRouter, Anthropic, or Google. For completely local operation, you can use Ollama with local models, requiring no API keys or external services.
Is nanocoder free to use?+
Yes, nanocoder is completely free and open-source with no paid tiers or feature gates. However, you may incur costs from your chosen LLM provider (e.g., API usage fees for cloud models).
Which AI coding clients work with nanocoder?+
Nanocoder is a standalone terminal-based agent rather than a plugin for other clients. It runs independently in your command line and can integrate with MCP servers for extended functionality.
What development modes does nanocoder support?+
Nanocoder offers normal mode (manual approval), auto-accept mode (automatic confirmation of low-risk changes), yolo mode (execute all suggestions), and plan mode (create execution plans before coding). You can specify the mode with the --mode flag when launching.
How do I install nanocoder?+
Open the source repository on GitHub and follow its README. nanocoder is a agent — MCP Agents Market links you directly to the official repo.
Is nanocoder free?+
nanocoder is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.