WeSearch

Nano: Coding agent in under 200 lines

·3 min read · 0 reactions · 0 comments · 14 views
#coding#python#ai
Nano: Coding agent in under 200 lines
TL;DR · WeSearch summary

Nano is a minimal coding agent implemented in under 200 lines of pure Python. It allows users to interact with GPT-5.5 for executing shell commands with human approval. This lightweight tool aims to simplify the process of using coding agents without the need for complex infrastructure.

Key facts
Original article
GitHub
Read full at GitHub →
Opening excerpt (first ~120 words) tap to expand

nano.py The models got good enough that the harness doesn't matter anymore. So we made the smallest one that proves it. One file. under 200 lines. Zero dependencies. python3 <(curl -s https://raw.githubusercontent.com/pnegahdar/nano/main/nano.py) That's the whole thing. No, really. Everything below ships in under 200 lines. We counted. 📂 Reads CLAUDE.md, AGENT.md, AGENTS.md, README.md — automatic repo context, same files the real agents use 🧩 Discovers skill files — finds SKILL.md from .claude/skills, ~/.claude/skills, ~/.codex/skills, ~/.codex/plugins 🛡️ Human-in-the-loop approvals — every command shows what and why before it runs 🔁 200-step agentic loop — keeps going until the job is done, not until it gets bored 💬 Interactive REPL — multi-turn sessions with persistent memory…

Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from GitHub