Favicon of Nanocoder

Nanocoder

A terminal coding agent that edits files and runs commands with local models through Ollama or hosted models through OpenAI-compatible APIs.

Screenshot of Nanocoder website

Nanocoder is a terminal AI coding assistant for developers who want to choose which model works on their code. It can use local models through Ollama or send requests to a hosted provider through an OpenAI-compatible API.

  • File edits and commands: The agent can work with files and execute commands as part of a coding task.
  • Model choice: It supports models with or without native tool calling, so that capability doesn't determine which models you can use.
  • Diff review: A dedicated review mode examines code changes, but requires an interactive terminal and can't pipe, redirect, or save its output to a file.

The agent runs on your machine. With Ollama, model processing can stay local; choosing a hosted provider sends requests to that service. Supported provider options include OpenRouter, Anthropic, and Google through compatible endpoints. Nanocoder doesn't send prompts through telemetry.

Similar to Nanocoder