Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
A chatbot stores every conversation in a database and injects prior exchanges into context. A developer claims this makes it an 'agent with memory.' What is wrong with this claim, and what would need to change to make it an agent?
Memory gives a chatbot continuity, not agency. An agent must call tools, change external state, observe the result, and loop on it. A memory database is not a tool-using control loop.
Imagine a friend with a perfect diary. They remember every conversation you have ever had, so they can pick up exactly where you left off. That is impressive, but they still only talk. They cannot mail a letter for you, book a table, or check whether the train is late. They can only tell you to do those things yourself. Now imagine a personal assistant. The assistant also remembers everything, but they can actually go out, make the phone call, read the reply, and adjust the plan based on what they hear. The diary friend has memory. The assistant has agency. A chatbot with a database is the diary friend. It recalls the past, but it never reaches into the world, never sees what its actions caused, and never loops on that result to decide the next move.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Open by naming the category mistake, that memory answers what the system knows and agency answers whether it can act. Define agency as a tool-using loop over an external environment. Show the memory chatbot's only environment is its own transcript. Give the feedback loop test, then list the three additions that convert it and the new risks they import.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating memory as the defining property of an agent. Memory supports coherence across turns, but agency comes from a tool-using loop that changes external state and observes the result.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.