A lightweight alternative to Claude Code that brings agentic capabilities to your terminal. Built as a single Python file with zero external dependencies, Nanocode provides a complete coding assistant experience in just ~250 lines of code.
Key capabilities include:
Flexible model support through direct Anthropic API or OpenRouter, allowing you to choose from any available model. The tool was built using Claude Code and then used to build itself, demonstrating its practical effectiveness.
Simple command interface with /c to clear conversations and /q to quit. Perfect for developers who want powerful AI-assisted coding without heavyweight dependencies or complex setup. Just set your API key and start coding with natural language commands.
Activity score
68/100
Stars
Forks
Last commit
First release
Language
Auto-fetched .
★ 9.1k · v1.48.0 · python