Goals

Last verified against the code: 2026-10-21 (first commit)

Why Open Memory exists and how far along each goal is. IMPLEMENTATION.md shows how each goal is built, ARCHITECTURE.md how the pieces fit, ROADMAP.md what comes next, and the paper why it is designed this way.

Purpose

Every mistake, made once, everywhere, by morning. An AI agent that keeps what it learns from its own surprises, consolidates it in sleep, keeps only what predicts, and has it in mind at the start of the next session; and a protocol by which what one agent learns, once verified, reaches every agent.

Who it is for

Goals

# Goal Status
1 Read the raw stream: every Claude Code session transcript into episodes, idempotently Done (openmemory ingest)
2 The unit of memory is the surprise: failed tool calls and the person's corrections become their own episodes Done (errors tied to the tool call that caused them; corrections detected by opening words)
3 Recall that weighs meaning, time and use together Done (0.6 relevance, 0.25 recency, 0.15 strength; hashed embeddings)
4 Sleep: decay, consolidate surprises into lessons, verify and make predictions Done (openmemory sleep)
5 Lessons are observations, never instructions Done (imperative openings rejected; deterministic texts are descriptive)
6 Have it in mind, not look it up: lessons rendered where the agent loads them at session start Done in its weakest form (Claude Code's memory folder); compiled state is goal 12
7 The owner sees and vetoes: a morning report; deleting a lesson file is final Done (morning.md, vetoed.json)
8 Recall mid-task: an MCP server with recall and remember Done (openmemory serve)
9 Works with no model, better with one: deterministic everywhere, a local model improves gists and lessons Done (any OpenAI-compatible server; LM Studio by default)
10 Measure it: the repeat-yourself rate, the repeated-error rate, prediction accuracy, surprise rate (paper §7) Not started; the store already holds what the measurements need
11 Two agents learn from each other's surprises over the wire format alone (paper §7.5) Not started
12 Compiled memory: lessons as a local model's attention state, prefetched (paper §6) Not started
13 The raw stream beyond the terminal: screen (keyframes), later audio, with exclusion rules Not started
14 The commons: deduplicated, federated, verified, revocable shared lessons (paper §5, PROTOCOL.md) Designed; not built
15 Other agents: transcripts from agents other than Claude Code Not started

Non-goals

Principles

  1. The unit of memory is the surprise.
  2. The raw stream is the ground truth; everything above it is recomputable.
  3. Text on the wire, compiled at runtime.
  4. Prediction is the merge rule.
  5. A lesson is an observation, never an instruction.
  6. Forgetting is a function.
  7. The owner can see and veto; nothing raw ever moves.
  8. Easy beats configurable: no dependencies, no setup, sensible defaults (handbook standard).

What success looks like