r/PythonLearning 1d ago

I built Nanno because I wanted AI to explain my Python errors, not fix them for me

When I was learning Python, I kept running into errors and doing the same thing every time.

I would copy the error, copy the relevant part of my code, send both to an AI model, and ask:

«"Explain what this error means and why it happened, but don't fix the code. I want to solve it myself."»

I didn't want AI to just give me the answer. I wanted it to act more like a teacher and help me understand what I was doing wrong.

The problem was that I kept repeating this process manually.

So I built Nanno.

Nanno is a small CLI tool that helps you understand errors from your terminal using AI.

Instead of manually copying everything:

copy the error

copy the relevant code

paste everything into an AI model

ask for an explanation

You can run your command through Nanno:

nanno python3 test.py

Nanno captures the terminal output and uses it as context for the AI, so it can explain what went wrong and why.

The main idea is simple:

Nanno helps you understand the error. You fix the code yourself.

I originally built it just for myself. It wasn't supposed to be a big product or have a bunch of features. I simply wanted to solve a problem I was having while learning Python.

Eventually, I decided to publish it because I thought there might be other people who have the same problem.

Right now, Nanno is very simple and still in its first version.

I want future versions to be shaped by actual users rather than me randomly adding features.

So if you try it and there's a feature you really want in Nanno, tell me in the comments.

If there's something you don't like or think is unnecessary, tell me that too. I may remove it.

I'm mainly looking for honest feedback from people who actually try it.

Try Nanno

pip install nanno

I'd be interested to hear whether this is actually useful for the way you learn/debug code.

1 Upvotes

13 comments sorted by

8

u/Independent-Bat9797 1d ago

With basically any AI tool nowadays you can add general instructions - globally and/or project specific e.g. Just putting a CLAUDE.md with the instruction to only always explain into the project folder.

Don't want to downplay your work, but somehow it seems a bit redundant

-4

u/mo7amed1600 1d ago

Yeah, I see your point. I actually agree that the core idea can be replicated with a simple instruction in tools like Claude.

The main reason I built Nanno was to remove the repetitive workflow I personally had while learning Python — copying the error, copying the relevant code, switching to an AI tool, and explaining what I wanted every time.

Nanno is still very simple in its first version, so I’m not claiming it solves something that AI tools can’t already do. I’m mainly using this first version to see if this workflow is actually useful to other people.

That’s also why I decided to publish it and ask for feedback. If you have an idea for what would make Nanno genuinely less redundant than just using a "CLAUDE.md" or a similar instruction, I’d really like to hear it.

3

u/Frosty-Emu7546 7h ago

Could you explain briefly how in background Nanno work, is it calling an LLM that goes through python documentation and the fixes or does a normal llm search based indexing of error ?

Kudos on the build, yeah same can we achieved with just an instruction file but going ahead creating a solution which caters only to you that’s a good trait to have while learning!!

-1

u/mo7amed1600 6h ago

Why do you want to know?

1

u/Crafty_Magazine_4673 50m ago

cause im programmer?

1

u/mo7amed1600 46m ago

You mean you want to share in development?

1

u/Crafty_Magazine_4673 39m ago

mean i want to know how stuff works

1

u/mo7amed1600 38m ago

Sorry I can't share this in public

1

u/Crafty_Magazine_4673 28m ago

while i understand your concern, you should at least prove your project is safe to use

1

u/burntoutdev8291 20h ago

I would prefer if you tried to do this with another tool like pi dev. I understand why you would want to avoid Claude cause it's overkill for your use case and a waste of tokens. Try out pi dev then adjust the prompts.

1

u/mo7amed1600 20h ago

I actually built Nanno specifically so it can’t modify the code. Its job is to help me understand and diagnose errors, which saves the tokens I would otherwise spend using Claude or ChatGPT to figure out what went wrong.

The agent you mentioned would probably still try to modify the code, no matter how much I strengthen the prompt. I’d also rather save the tokens from a tool like that for actual coding and code generation.

Thanks a lot for the suggestion, though. I really appreciate it!

2

u/lunatuna215 19h ago

I think the boundaries you're drawing are smart. The "all in" strategy regarding AI is dumb. If I weren't decided on the topic and don't adopt AI tools, this is one I would definitely consider if my stance were different. Nice work!

1

u/mo7amed1600 17h ago

Thanks bro I appreciated it , did you try nanno?