Week 2 · Session 2 · 2 hours

Memory & Tools

An agent with no memory forgets you between sentences. Today you give it a memory and a clean set of tools, and learn why a tool’s description matters more than its code. You’ll leave saying: “It remembered what I said and reached for the right hand.”

Begin →
Today you will

Three real wins

🧠

Add memory

Give the agent short-term (this chat) and long-term (across chats) memory.

📝

Write a tool schema

Describe a tool so well the model always knows when to call it.

🔗

Chain tools

Complete a task that needs two tools and one remembered fact.

Two kinds of memory: short-term (this chat) and long-term (saved facts)
Two kinds of memory: short-term (this chat) and long-term (saved facts).
Architecture in one line: an agent = LLM (the brain) + MEMORY (the notes) + TOOLS (the hands) + LOOP (the heartbeat). Today is memory and tools.
The Arc · check each off as you go in Colab (NB2)

Your step-by-step for today

Model Autopsy

The four parts of every agent — tap to open

Open each part to see what it does and the one mistake beginners make. This is the whole architecture — memorize it and you can read any agent framework.

Agent architecture: a central AGENT connected to BRAIN, MEMORY, TOOLS, and LOOP
Every agent = brain + memory + tools + loop.
The skill that separates pros

Which tool description will the agent use correctly?

The model decides whether to call a tool from its description alone — it never reads your code. Pick the description an agent can actually route to.

You have a tool that converts currencies. Which description works best?

Clear name, typed inputs, and a plain-English “use this when…” sentence. Vague names like tool_7 are invisible to the model. Tool descriptions are prompts too.
Lock it in

Law, badge, and this week’s mission

Law #2 · Week 2
An agent is only as capable as its tools.

Give it hands and a memory, not just a mouth — and describe those hands clearly, because the description is the interface.

🧠

Badge earned: Memory Keeper

You gave an agent working memory and multiple tools, and kept it coherent across a multi-turn task.

🎯 Mission before Week 3
  • Give your agent a persistent long-term note it can recall after you restart the notebook.
  • Design one tool whose description is so clear the agent never once misfires across 5 test questions. Bring the description.
Next: Agents That Read → Week 3