Lethe docs · Overview

Overview

Lethe is a self-hosted persistent memory platform for AI agents. It runs as a single container with an embedded SQLite store, exposes a typed HTTP API, and — through Charon — a scoped MCP surface for agents.

The problem

Agents forget. Between sessions, between restarts, between models, every conversation rebuilds context from nothing. Lethe provides two ways out of that loop, selectable per deployment (or combined):

  1. Session memory (legacy mode) — continuity for a single agent: what happened, what was decided, what is still open, resumable after any interruption.
  2. Versioned memory (git mode) — durable knowledge with history: project knowledge, architecture decisions, implementation notes, durable preferences, collaborative and multi-agent shared memory — written through review, never overwritten silently.

What Lethe is not

Who uses it

Design principles

The ecosystem

ChatGPT / Claude / Claude Code / Cursor / IDE assistants / MCP clients
                |
                |  OAuth (S256 PKCE) or Obol
                v
             Charon        — authorization, scopes, review, protected merges
                |
                |  private typed API (bearer)
                v
              Lethe        — canonical persistent memory (legacy + Memory Git)

OpenClaw (optional) — plugin injects session memory automatically (legacy mode)

Lethe works without Charon (direct bearer-key API access) and without OpenClaw (any MCP client or plain HTTP client). Charon is the recommended gateway once memory is shared between agents or exposed beyond loopback.

Next steps