Papa Programmer

102 free lessons · 5 paths · Runnable Python

Understand how AI actually works under the hood.

Code-first lessons on LLMs, agents, context engineering, RAG, and fine-tuning. Written for engineers who want to debug what breaks in production — not memorise textbook fluff.

Interactive lab · Try it now

Debug a bloated agent prompt

15,420 / 16,000 tokOverflow risk
Window used
96% full
Reply headroom
580 tok
Input cost
10.9×

96% full — only 580 tokens left for the reply, and 91% of your input bill is noise. Click a bloated block above to trim it.

Pick a problem, start at the right lesson

Skip the intro if you already have something broken. Choose the question you are facing right now.

Explore learning paths

Follow a path from Lesson 01, or jump straight to the concept you need today. Reading is always free — no account required.