Projets
Voir sur GitHub
1rgs/nanocode
À propos
Alternative minimaliste à Claude Code. Un seul fichier Python, aucune dépendance et environ 250 lignes.
Outils de développementWhat you can do
- Full agentic loop with tool use
- Tools: read, write, edit, glob, grep, bash
- Conversation history
- Colored terminal output
Progression mesurée des étoiles
- in 24h
- +2
- in 7 days
- +5
- in 15 days
- +23
- in 1 month
- +49
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Originalnanocode
Minimal Claude Code alternative. Single Python file, zero dependencies, ~250 lines.
Built using Claude Code, then used to build itself.

Features
- Full agentic loop with tool use
- Tools:
read,write,edit,glob,grep,bash - Conversation history
- Colored terminal output
Usage
export ANTHROPIC_API_KEY="your-key"
python nanocode.py
OpenRouter
Use OpenRouter to access any model:
export OPENROUTER_API_KEY="your-key"
python nanocode.py
To use a different model:
export OPENROUTER_API_KEY="your-key"
export MODEL="openai/gpt-5.2"
python nanocode.py
Commands
/c- Clear conversation/qorexit- Quit
Tools
| Tool | Description |
|---|---|
read |
Read file with line numbers, offset/limit |
write |
Write content to file |
edit |
Replace string in file (must be unique) |
glob |
Find files by pattern, sorted by mtime |
grep |
Search files for regex |
bash |
Run shell command |
Example
────────────────────────────────────────
❯ what files are here?
────────────────────────────────────────
⏺ Glob(**/*.py)
⎿ nanocode.py
⏺ There's one Python file: nanocode.py
License
MIT
Explorer des projets similaires
Chargement…