Skip to main content

Your assistant saved the note 'prefers calls in Hindi' against the wrong customer and now repeats the mistake in every session. How do you fix it, and how do you stop it from happening again?

Agents and tools · Pro 1

Short answer

First delete the wrong entry and use the trace to find how it was written. Then tighten memory writes: save only explicit, confirmed facts, keyed by a verified customer ID, with source and date attached. Let users and staff see and correct memories. At read time, treat memory as a hint and check important facts against the system of record.

Deeper answer

A wrong memory is worse than a wrong answer, because it is loaded into every later session and looks trusted. Most such bugs come from the write path. The model guessed a fact from a weak signal, or the entry was keyed by a name or phone number that two customers share, or by the wrong session.

So the controls sit on writes. Decide what is allowed into long-term memory. Require a verified customer ID as the key. Store provenance with each entry: which conversation, when, and whether the customer said it or the model inferred it. Inferred items can expire or need confirmation. Give people a way to view, edit and delete entries, which privacy rules often expect anyway. On reads, pass memories to the model as possibly out of date, and prefer the CRM for anything that matters. Interviewers listen for write policy, provenance, correction and a test that covers memory.

What a strong answer covers

Answer it out loud in the mock interview about 2 min

Follow-ups to expect

Common mistakes

Learn it

Agent memory

Practice Agents and tools questions

More on this topic

Today's AI turns are used

Lessons, roadmaps, videos, practice cards and the code playground stay free with your account, with no limit.