The facts that your agent saves are customer data
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.
Where a wrong reply comes from
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.
Who is responsible for your agent's memory?
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 CA$812.02, 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.
Fix the failures in your agent one at a time
Every article in this study 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 article.
