Memory

Co-Located Memory Surfacing

Surface relevant persistent memories proactively when the human mentions a concrete entity the agent has prior knowledge of, so the human does not bear the burden of remembering to ask.

Problem

Because the human cannot see into the agent's memory, the burden of recognising 'this came up before' falls entirely on the human. If the human does not happen to name the right thing, the agent will not retrieve the relevant prior context, and the conversation proceeds as if those past sessions never happened. The shared map between human and agent only becomes truly shared if the agent proactively surfaces what it knows; if it waits to be asked, most of the relevant context is silently lost.

Solution

On every user message, extract concrete proper nouns and significant named phrases. Grep / embedding-match against the agent's persistent memory (thoughts, notes, insights, project files). If matches exist, surface ≤ 2 most relevant fragments inline in the reply — time-stamped, briefly framed — and let the human steer whether to pursue. Suppress the surface if it would feel like a lecture or if the human's use was clearly incidental.

When to use

  • The agent has a persistent memory store keyed by entities (people, projects, places).
  • Users expect the agent to recognize and react to entities they have discussed before without being prompted.
  • Memory recall can be made cheap enough to run on every user turn (lookup, not LLM call).

Open the full interactive page

Diagram, neighbourhood map, code examples, related patterns and full provenance.

Related