1rgs/nanocode
A single-file Python CLI that acts as an AI coding agent using Anthropic Claude or OpenRouter model APIs.

Velocity · 7d
+16
★ / day
Trend
→steady
star history
This project is a self-contained Python script that replicates core functionality of Anthropic’s Claude Code coding assistant. It implements a full agentic loop with tool use, providing read, write, edit, glob, grep, and bash commands. Users configure it with an API key and interact through a terminal interface with conversation history. It supports both Anthropic’s Claude API and OpenRouter for model access.