pnegahdar

pnegahdar / nano

Public

One file. Under 200 lines. Zero dependencies. It's a coding agent.

39
1
75% credibility
Found May 17, 2026 at 83 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

nano.py is a minimalist AI coding assistant that fits in a single file under 200 lines. It connects to an AI service to understand your project, then helps you by reading files, running commands, and fixing issues - all while asking your permission before taking any action. Unlike bulky development frameworks, nano is simple enough to read in minutes and can be dropped into any project to help with debugging, testing, or automation tasks. It includes safety features like mandatory approval prompts and output limits, while still offering an auto-approve mode for trusted tasks.

How It Works

1
🔍 You discover a tiny AI helper

Someone tells you about nano.py - a coding assistant that fits in one file and does everything the big ones do.

2
🔑 You connect your AI service

You enter your API key so the assistant can think and help with your code.

3
💬 You ask it to help

You type a simple request like 'find the bug in auth.py and fix it' and press enter.

4
🛡️ It asks permission before acting

Before running any command, nano shows you exactly what it plans to do and waits for your approval - keeping you in control.

5
You choose how it works
👀
Watch and approve

You review each command before it runs, staying in complete control.

🚀
Let it run

You set it to auto-approve and watch it work autonomously.

6
🔄 It keeps trying until done

Unlike tools that give up after a few tries, nano keeps going - reading files, running tests, fixing issues - until your task is complete.

Your task is finished

The bug is fixed, the tests pass, or your file is updated. You can pick up where you left off anytime with saved sessions.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 83 to 39 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is nano?

Nano is a minimal coding agent that runs entirely in Python without external dependencies. You point it at a task—`./nano.py "fix the tests"`—and it loops with an LLM, running shell commands on your machine after showing you what it plans to do. It defaults to OpenAI's Responses API but accepts any model via environment variable. The agent reads your project's CLAUDE.md or README.md for context, discovers skill files from common agent directories, and keeps working until the job completes or hits the 200-command limit.

Why is it gaining traction?

The hook is simplicity: most agent frameworks ship as sprawling codebases you must understand before trusting. Nano is 200 lines you can audit over lunch. It turns the "black box" concern on its head—you can read every line. The human-in-the-loop approval model balances automation with safety, showing each command before execution. Session resume means you can hand off mid-task or continue later without local state, since OpenAI stores the conversation. The interactive REPL enables exploratory sessions, while one-shot mode lets you queue-and-forget simpler tasks.

Who should use this?

Developers who want to understand what coding agents actually do under the hood will get the most value—Nano is transparent where others are opaque. Backend engineers tired of verbose YAML configs for simple automation might prefer this stripped-down approach. Teams evaluating agent frameworks could use it as a baseline comparison: if GPT-5.5 plus a shell loop handles your use case, you may not need Kubernetes, Docker, or a plugin system. Anyone cautious about fully autonomous agents will appreciate that approvals are on by default.

Verdict

Nano earns attention for its philosophy, but the credibility score of 0.75% signals early-stage software with minimal community vetting. At 39 stars, it has not yet proven itself at scale. The pure stdlib approach and MIT license make it trivial to fork and own, which mitigates risk—but you should test thoroughly before trusting it with anything beyond throwaway tasks. Try it as a learning tool or a lightweight alternative to heavyweight agent frameworks, but do not mistake small code for battle-tested code.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.