Frank Guan's Why Your AI Agent Keeps Forgetting (and Getting Slower): 4 Memory Options and 3 Context Fixes describes an AI Agent Clinic demonstration using Scribant, a voice agent built with the TypeScript Agent Development Kit. The demo asks how much recent speech an intent classifier needs and which facts should survive across sessions.
A matching statement can still be outdated
Guan describes a user who first says they live in New York and later says they moved to San Francisco. Both statements are relevant to a question about where the user lives. The answer depends on recognizing the second statement as an update to the first. A search over conversation chunks may return both statements, leaving the model to infer which still applies. Sending the full conversation preserves their order, but also increases the amount of text sent as the conversation grows.
The episode compares those approaches with storing a current fact in a knowledge graph or a managed memory service. A graph requires application code to extract an attribute and update it. The managed option in the demo handles extraction and updates in the background. Either way, a useful test is to give the same agent two successive values for one attribute, then see which value it recalls in a later session.
Give each stage the context it needs
The demo sends only the most recent 40 words to the intent classifier. It keeps a rolling summary for the rest of the current session and stores extracted facts for recall in future sessions. Those three inputs have different jobs. The classifier needs enough language to recognize the current request. The summary preserves what the conversation has established so far. Persistent memory carries forward a fact that may be useful after that session ends.
Guan reports about 86 percent fewer classifier tokens for the short window on one test conversation. That result describes one demo. A separate test could put a correction near the start of a long utterance and its final request near the end, then check whether the classifier still has the words it needs.