nanocode
github.com · Open source · Maintained
Minimal Claude Code-style agent in one Python file with no dependencies
- AI & agents
- Open source
- Python
- Day-7 check
- Day-30 check
- coding agent
- python
- minimal
- terminal
- minimal agent
- Stars
- 2.8k
- Forks
- 284
- Open issues
- 4
- Last commit
- Found
- 10 months ago
GitHub figures as of . They are context, not a ranking.
nanocode is a minimal coding agent in a single Python file of about 250 lines with no dependencies. It runs an agentic loop with read, write, edit, glob, grep and bash tools, and it can use Anthropic's API or OpenRouter to reach other models.
Positioned as an alternative to Claude Code.
Repository description on GitHub: “Minimal Claude Code alternative. Single Python file, zero dependencies, ~250 lines.”
What it does
- Agentic loop with tool use and conversation history
- Tools for reading, writing, editing, globbing, grepping and running shell commands
- OpenRouter support for reaching other models
Good for
- Study how a coding agent loop works in a short Python file
- Run a small terminal coding assistant against your own repository
Suits: Developers who want to read or modify a small coding agent.
Worth knowing: Needs an API key from Anthropic or OpenRouter to run.
What you can try
Download nanocode.py and run it with python after setting an ANTHROPIC_API_KEY or OPENROUTER_API_KEY.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw nanocode on , when 1rgs created its repository on GitHub. GitHub listed no published releases for 1rgs/nanocode when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: 1rgs/nanocode
- Found: 1rgs created its repository on GitHub. GitHub
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was nanocode released?
- No dated release record is available. Kip found it on GitHub on 11 Jan 2026.
- Is nanocode open source?
- Its source is public on GitHub at 1rgs/nanocode; check the repository for licence terms.
- What does nanocode run on?
- Command line.
- Is nanocode free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is nanocode still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| GitHub | listing official API record | |
| GitHub repository | 1rgs/nanocode REST API record | |
| GitHub Releases | release list REST API record |
Stable ID github-1131946571. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.