Pranav Innovates

Learn AI in Under 3 Minutes · 29 Oct 2026

My AI Texted the Stolen Phone: AI Agent Memory (Ep 19)

About: AI agent memory

Watch on YouTube

About this video

AI agent memory explained: my AI agent had the whole week's chats and still texted the stolen phone.

The test: 8 made-up passengers each talk to a made-up airline's bag desk over a week (35 chats: a new phone on Wednesday, a new hotel on Thursday, 'delete my passport number' on Friday, plus small talk). On Saturday, three new requests each (text me, book my delivery, open a claim): 24 in all. Small model (Qwen3.5 2B): no memory 0/24, the whole week pasted in 10/24 (it used the old phone 6 times of 8 and the old hotel 8 of 8), a short note it kept itself 22/24, only the 5 chats that matter, picked by hand, 24/24. Twice the size (Qwen3.5 4B): 0, 24, 23 and 24.

A model keeps nothing between calls: the app has to send what it should know, every time. Context is what the model reads right now; memory is what survives between chats, and it has four jobs: store, find, update and forget. A pasted history can't forget: the passport number each passenger asked to delete was still sent with every chat. The 2B's notes still had it 3 times of 8; the 4B's never, but all 8 of the 4B's notes broke the 10-line limit (up to 23 lines, much of it small talk).

Episode 19 of Learn AI in Under 3 Minutes, level 4: agent memory.

Measured on an M1 MacBook Air: Qwen3.5 2B and 4B (4-bit, llama.cpp, greedy), the same desk buttons in every way. The memory note: after each of the 35 chats the model rewrote its note (keep what's still true, replace what changed, delete what they asked to delete, at most 10 lines); the next chat got the note, not the history. In the long week the old hotel came up once more than the new one (a luggage-room question); the phones came up equally often. A fourth request ('what do you have on file for me?') mostly set off unrelated actions, so it isn't counted. Small models, 8 passengers: an example, not a benchmark.

Comment MEMORY and I'll send you the checklist, my note-keeping prompt and the 8 test passengers.

0:00 It forgot
0:21 Every chat starts blank
0:40 Why the whole week fails
0:53 What memory has to do
1:05 A memory note
1:26 Quiz
1:39 The catch
2:01 My take
2:12 The checklist

Music: Special Spotlight by Kevin MacLeod, CC BY 3.0, via Wikimedia Commons (https://commons.wikimedia.org/wiki/File:Special_Spotlight_(ISRC_USUAN1600067).mp3)

Follow @PranavInnovates for the tech story that matters, every day.

What the video says

My AI agent had every chat from the week, and it still texted the phone she'd said was stolen. That's why AI agent memory is more than a long chat history. No memory: zero of twenty-four. The whole week pasted in: ten. A short note it kept itself: twenty-two. That's a small model on my laptop, and eight made-up passengers. Here's why. Every chat starts blank. The model keeps nothing between calls, so your app has to send it everything, every time. Send nothing, and it guesses. Both models I tested opened all eight claims under one made-up booking, R8TN4C: the example code in the button's own description. So paste in the whole week? Thirty-five chats, with the new number in there exactly as often as the old one. It still texted the stolen phone six times out of eight, and sent all eight bags to the hotel they'd left. Context is what the model reads right now. Memory is what survives between chats. And memory has four jobs: store what matters, find it, update it when it changes, and forget what it should. So I let the model keep its own note. After every chat, it rewrote it. On Wednesday, the stolen number went out and the new one came in. On Friday, the passport line went. That note was about a tenth the size of the week, and it got twenty-two of twenty-four. Only the five chats that mattered, picked by hand, got all twenty-four. Quick quiz: a model twice the size, the whole week pasted in. Does it still text the stolen phone? Never. It got all twenty-four requests right. But a pasted week can't forget. Every passenger asked to delete their passport number, and it still went to the model in every chat after. The small model's notes kept it three times. The bigger one's, never. And the bigger model failed a different job. Every one of its notes broke the ten-line limit, up to twenty-three lines, much of it small talk, like the pharmacy by gate A2. My take: a long history isn't memory, even when a big model can read it. It can't forget. Give your agent short notes it updates, and check what it stores and deletes. Here's the checklist I use for agent memory: store facts, not transcripts, with a size limit you check. Replace a fact when it changes. Check that deletes really happened. And test it with a fact that changed. Comment MEMORY, and I'll send you this checklist, my note-keeping prompt and the eight test passengers. Next: the four kinds of memory. Episode twenty.

Topics

  • ai agent memory
  • agent memory
  • llm memory
  • context window
  • ai agents
  • memory tool
  • stateless llm
  • qwen
  • local llm
  • learn ai in under 3 minutes