Week 2 · Deep dive · ~2 hours

Memory & Tools — every line, explained

Last week's agent forgot everything between turns. Today you give it a memory and a clean tool schema, one line at a time. Tap any line for plain English; tap go deeper ▾ for the detail.

👆 Tap a line → plain English 🔎 go deeper → extra detail # dim italics = a comment
Short-term
the running conversation
Long-term
facts saved for later
Schema
a tool's name + description
Route
pick the right tool for a request
Run it right here. Every cell runs in your browser — no install, no key. Run them in order, 1 → 4; they share memory. First Run downloads Python once (~10–15 MB).
Same deal as Week 1: everything here is real Python — the memory, the tool schema, the router. There's no LLM in this file at all; today's ideas (remembering, describing tools) are plumbing that sits around the model. In Colab you'll bolt these onto the Week-1 loop.
↩ Back to Week 2 Week 3 deep dive →