1 📋 What is an agent
Answers vs outcomes — the reciter vs the doer with a hall pass.
2 🔁 The loop
Think → act → observe — how you run errands, and how agents do.
3 🧰 Tools
The belt: labels are half the intelligence; reads flow, writes gate.
4 📔 Memory
Scratchpad, the small desk, compaction — and the homework diary.
5 🚧 Guardrails
Field-trip rules: curfew, write gates, hardened tools, full logs.
6 💥 Failure modes
Confidently wrong, with momentum — five ways it breaks, and evals.
7 🔬 Build an agent
Read agent.py whole: 130 lines, every concept at a line number.
8 🌍 Agent patterns
Planners, critics, teams, human gates — and when NOT to.