← all repositories

1rgs/nanocode

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

2.4k stars Python Coding AssistantsAgents
nanocode
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.