MemophantMemophant
Session distillation

Turn a session into memory, not a transcript graveyard.

A coding session is where the learning happens — and where it's usually lost. Memophant imports your coding-agent transcripts into the repo and distills them into durable notes you approve one at a time. The session ends; the insight stays, versioned and queryable.

Distillation runs on Claude — it uses the Anthropic API, so it needs your own key (kept in your macOS Keychain). Importing and reading your sessions works without it.

How it runs

Scan, review, apply — nothing lands without you.

Point Memophant at a session and it works the transcript in stages: configure the run, watch it scan, review every proposed note as a before-and-after, and apply only what's right. Each step is reviewable; nothing is written silently.

  • Auto-discovers your local coding-agent sessions, attributed by repo
  • Reads with a read-only tool allowlist — it proposes, it doesn't edit
  • Per-note approve, edit, or reject — you own every word that lands
  • Deduped within the run so the same lesson isn't captured twice
The Session Distill review stage — proposed memory candidates from a transcript, each with an approve checkbox and a token-cost summary.

The guardrails

Built to add signal, not noise.

Batch 'ingest everything' passes produce low-signal notes and discourage upkeep. Distillation is the opposite by design: few candidates, every one cited, the spend bounded.

Grounded in the message

Every proposal cites the source message it came from. No claim makes it to memory without a pointer back to where the session actually said it.

Precision over recall

A distill pass proposes only a handful of candidates per session, not a noisy ingest of everything. The lesson survives; the chatter doesn't.

Cost-guarded

A configurable token budget caps how much of a long transcript gets sent, so the API spend never runs away on a marathon session.

Sessions tier — an imported transcript rendered as markdown, with a collapsed tool-call block and a cited message.

The full transcript, too

The session itself stays in the repo.

Distillation pulls the durable lessons, but the source transcript is kept as well — converted to readable markdown with collapsible tool calls and per-message anchors, so any citation can be traced back to the exact moment it was said.

  • JSONL runs converted to readable markdown in the Sessions tier
  • Tool calls collapse; thinking and citations are preserved
  • Every proposed note links back to its source message UUID
  • Re-distill later as your understanding of the session changes

Stop losing what your sessions taught you.

Every long session can leave behind a durable note instead of a dead transcript.