Conversation memory in an AI agent: how it remembers what the customer said ten messages ago, what it carries between days, what it stores on the lead, where memory ends, and how to help it with the facts that matter

A customer gives their name, the service they want and a date, and then three messages later asks a question that depends on all three. Whether the agent remembers decides whether the conversation feels like talking to a person or to a form. Here is how memory works, honestly, including where it stops.

By Ritchie, ReplyKit · Published 5 October 2026 · 6 min read

Quick answer

Before each reply the agent reads the recent conversation, so details from earlier in the same chat (name, what they want, dates, preferences) are available to it. Facts it collects deliberately (qualifying answers, bookings, stage) are written to the lead record, which persists across days and is read on every later conversation with that number. The limits: in very long threads the oldest messages fall outside what the agent reads; details mentioned once in passing can be missed; and the agent may confirm something rather than assume it. Instructions that tell the agent which facts to capture make them stick. ReplyKit works this way.

The conversation windowWhat persists: the lead recordWhere memory endsHelping it rememberFAQ

The conversation window

Each time a message arrives, the agent is given the recent history of that chat along with your knowledge and instructions, and writes its reply from all of it. That is why it can say "so for Saturday at 10, is it still the gel manicure?" without being told again. The window covers the recent part of the conversation, which for most customer chats is the entire thing. The retrieval side (how it picks knowledge lines) is separate and explained in how retrieval works.

What persists: the lead record

Where memory ends

Helping it remember

  1. Tell it what to capture: "Record the customer's preferred stylist, service and any allergies on the lead."
  2. Keep conversations tidy: when a person takes over and finishes, hand back, so the next question starts a clean exchange.
  3. Use the lead notes for things the agent should know next time ("prefers afternoons", "VIP"); it reads them.
  4. For complex multi-day matters (a project, a claim), a short summary note on the lead beats relying on the thread.
  5. Test with a twenty-message conversation in the sandbox and check what it recalls; the routine is in testing before going live.

Frequently asked questions

Does the agent remember what the customer said earlier in the chat?

Yes. It reads the recent conversation before every reply.

Does it remember a customer from last month?

It reads the lead record for that number: captured answers, bookings, stage and your notes.

Why does it sometimes ask for a detail again?

Either the detail was mentioned in passing and not captured, or it is confirming before booking, which is deliberate.

Is there a limit to how much it remembers?

In very long threads the oldest messages fall outside what it reads; captured facts on the lead persist regardless.

How do I make important facts stick?

Instruct the agent to record them on the lead, and use lead notes for things it should know next time.

Remembers the details that matter

Recent conversation read every time, key facts kept on the lead. 7-day free trial, no card.

Start free
Written by Ritchie, ReplyKitPart of the small team in Malaysia that builds and runs ReplyKit. Writes about WhatsApp automation, AI customer service and small business lead response.

How we know this. This describes how ReplyKit's agents use the recent conversation and the lead record when replying, and the practical advice reflects what reduced repeated questions in customers' chats. Product figures in this article (limits, prices, per-reply costs) are taken from ReplyKit as it runs today and are re-checked when we update the page. Where we cite outside research, the source is linked below. We sell ReplyKit, so read our product claims with that in mind; we say where a different tool or no tool is the better choice. About ReplyKit.

Sources and further reading

  1. Harvard Business Review, The Short Life of Online Sales Leads (Oldroyd, McElheran, Elkington, 2011) · firms that responded within an hour were about seven times more likely to qualify the lead
  2. WhatsApp Business Messaging Policy · opt-in, opt-out and prohibited-use rules every business must follow

ReplyKit is an independent product and is not affiliated with or endorsed by Meta or WhatsApp. This article is general guidance for running a small business, not legal, financial or regulatory advice.