Customer care Example Memory API · 5 min read

A care agent that knows what each customer was told

A customer who calls three times should not have to explain three times. Here is how a customer care product gives its agents, AI or human, a memory of each customer: what they reported, what they were promised, and what has changed since.

This is an example of how the Memory API fits this kind of product, not a case study of a named customer. The numbers we quote as measured are ours; the time saved is arithmetic you can redo with your own figures.

The situation

Picture a home internet provider with an AI agent on chat and voice and a human team behind it. A customer's router drops every evening. On Monday the AI agent walks them through a restart. On Wednesday a human agent books a line check and promises a credit for the lost days. On Friday the customer calls again, and the agent on duty sees a ticket, not the story.

The ticket system holds tickets. The account system holds the plan. Neither says what this customer was already told, what was promised and by when, or which fix was already tried. So the customer repeats it, and sometimes hears a different answer.

What they build

The company keeps its own care product and agents. localmem is the memory layer behind them, reached through an API from the product's backend. Each customer is one localmem customer, held apart from every other.

  1. Every closed conversation goes in. Chat transcripts, call summaries and agent notes go to documents.send, each dated when it happened.
  2. localmem reads it into facts. "Router drops every evening", "Restart tried 3 November, did not help", "Credit for 4 days promised by 14 November". Each fact keeps the conversation it came from.
  3. Promises are facts the product writes itself. When an agent commits to a refund, a callback or a visit, the product writes it with its due date, so it is never left in a note.
  4. The agent asks before it answers. When the customer gets in touch, the product searches their memory and puts the current picture in front of the human agent, or in the AI agent's prompt.

In code

import { Memory } from "@localmem/memory";
const lm = new Memory();

// One localmem customer per account, by your own account id.
const { tenant } = await lm.customers.create("cust-88213");

// When a conversation closes.
await lm.documents.send(tenant, {
  text: transcript,               // the chat or the call summary
  as_of: "2026-11-05T17:40:00Z",
});

// A promise the agent made, written as a fact.
await lm.facts(tenant, {
  facts: [{ subject: "credit", predicate: "promised", object: "4 days, by 14 November", as_of: "2026-11-05T17:40:00Z" }],
});

// The next time the customer gets in touch.
const brief = await lm.search(tenant, { query: "Open issues, what was tried and what was promised" });

What the memory holds

Not a pile of transcripts: each customer's facts, as they stand and as they stood.

Connection: stable since line repair on 8 November
Connection: drops every evening, restart did not help
Changed 8 November 2026, from "Engineer visit, line repaired". The fault held from 1 to 8 November.

Where it helps

MomentWithout a memory layerWith localmem
A repeat contactRead old tickets while the customer waitsThe issue, what was tried and what was promised, on screen
Handover from AI to a personThe person asks the customer to start againThe person starts where the AI agent stopped
Checking open promisesRemembered only if someone wrote it downAsk, and every open promise comes back with its date and who made it
A complaint about what was saidSearch call logs by handWhat held on that day, with the conversation

What it could save

Say a team handles 2,000 contacts a day and a third of them are repeat contacts, each spending 3 minutes on finding out what happened before. That is over 30 hours a day. If the memory gives back even half of that, it is two people's work every day, and customers who are no longer asked to repeat themselves.

Customers themselves are free. One flat monthly plan covers them all, by what the memory reads and answers each month, with a pack when a busy month runs over. Nothing is charged per customer.

These are assumptions for the arithmetic, not measurements. Put in your own contact volume and minutes.

What we have measured

18 of 20questions about what was true on a past date answered right, in a trial on real meeting records
22 of 22isolation checks passed: no customer's memory showed in another's
20 of 24facts recalled in our first live customer's own check, in production

Those three are what matter for customer care: the answer about what a customer was told on a past day is right, one customer's history never shows up in another's, and the facts your agents wrote come back when the customer returns.

Measured by us between 30 October and 10 November 2026, not an independent benchmark.

Good to know

Give your care agents a memory of every customer

Testing is free, always. Live, one flat plan, monthly or yearly, with your customers free and 3 months free on a year.