Every fact that your AI agent saves about a customer can go out of date, appear in another customer's chat, or remain in a backup after you delete the customer's data. In this study, I will show you how you can check your agent for each of those failures, and how you can fix each one with instructions for your coding agent.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Delali on Technology. Season one: Can you trust your agent's memory in production? Written by Delali, and read by Metatron, his AI voice. Every fact that your agent saves about a customer is yours to answer for. From then on, it can go out of date, appear in another customer's conversation, or remain in a backup after the customer asks you to delete it. Each time a customer sends your agent a message, your code loads the facts
that your agent saves about that customer, then sends them to the AI model that generates the reply. When one of those facts is out of date, the reply can therefore be out of date too. Even a stronger model can produce the same out-of-date reply, because it receives the same fact. A court or tribunal can hold your company responsible for the information that your agent provides. In February 2024, for example, a tribunal in British Columbia ordered Air Canada to pay a customer 812 Canadian dollars and 2 cents, because the airline's website chatbot
had provided that customer with a rule for bereavement fares that differed from the airline's policy. One customer can also see another customer's data through a single bug. That happened on 20 March 2023, when some ChatGPT users saw the titles of other users' chats because of a bug in redis-py, which is an open-source library that ChatGPT's servers use. Whichever model you use, you will therefore have to be sure that every fact that your code loads belongs to the customer in the chat.
When a customer asks you to delete their data, you will also need to remove it from every copy, including your backups. In May 2023, for example, the US Federal Trade Commission charged that, after parents asked Amazon to delete what their children had said to Alexa, Amazon failed to delete the transcripts from all of its databases. On 19 July 2023, a federal court approved an order that required Amazon to pay a $25 million civil penalty to settle those charges.
Every episode in this season is about one failure. It opens with a check that you can carry out on your agent. After I show you why the failure happens, I will give you the fix as a brief. A brief is a short set of instructions that you can paste into a coding agent, such as Claude Code or Codex. The coding agent can then apply the fix to your project. Where a fix works only with a database or a search engine that stores each customer's data separately, I will say so in that episode.
Your customers can give your AI agent a new address and then find the old one in a later reply. That can happen when your code saves the new address next to the old one and sends both to the model. In this article, I...
Your returning customers can end up giving your AI agent the same details in every new chat. In one survey, however, most businesses in Asia-Pacific believed that their agent had each customer's history. In this...