Coaching and learning In production Memory API · 5 min read

A coach that remembers every game

personalchess.club analyses every game a player has played and coaches them on it. localmem is where it keeps what it has learned about each player, month by month, so the coach knows how someone has changed, not only how they played today.

personalchess.club is our first live Memory API customer, built by localmem's founder. Its numbers below come from its production use.

The problem

A strong club player may have thousands of games behind them. Analysing one game tells you about that game. Coaching needs more: is their endgame getting better since the summer, did the new opening stick, do they still lose on time in rapid games?

Those answers change every month, and an old answer is not wrong, only old. "Accuracy in endgames: 71%" was true in June and "78%" is true now. A coach that only sees the latest number cannot say "you have improved", and one that keeps every number in a pile cannot tell which is current.

How it works

  1. One memory per player. Each player who joins gets their own localmem customer. No player's history ever mixes with another's.
  2. Each closed month becomes findings. Once all of the month's games are analysed, the app writes what it found as dated facts: accuracy by phase, results by opening, time trouble, typical mistakes.
  3. A recomputed month replaces its old value. If analysis improves and a past month is graded again, the new value takes the old one's place, and the old one is kept as history.
  4. The coach asks the memory. "How has this player's endgame changed this year?" comes back as the values in order, each with its month.

In code

// When the month closes: every finding, one call, safe to repeat.
await lm.facts(tenant, {
  facts: [
    { subject: "endgame", predicate: "accuracy", object: "78%", as_of: "2026-10-31T23:59:59Z" },
    { subject: "rapid", predicate: "lost on time", object: "4 of 31", as_of: "2026-10-31T23:59:59Z" },
  ],
  idempotency_key: monthKey,   // the same month sent twice is stored once
});

// The coach, before it writes advice.
const { facts } = await lm.recall(tenant, { entity: "endgame" });

What the memory holds

Endgame accuracy: 78% (October 2026)
Endgame accuracy: 71% (June 2026)
Each value written when its month closed. Ask as of any month and hear what held then.

That is what lets the coach say something a single analysis cannot: "your endgames have gone from 71% to 78% since June; your rapid games are now the place you lose points."

What it measured in production

20 of 24findings recalled correctly in its own memory check
Passisolation: no player's memory reachable from another's
1 callper player for each month of games, however many findings

The check writes known findings for real players, then asks for them back, as they stand and as of past months. The misses were findings from the same month competing in one answer, and the fix is already part of how the app writes.

From personalchess.club's checks on 9 and 10 November 2026.

Where the same pattern fits

Give your coach a memory

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