Skip to main content
Your persistent memory across all AI tools. The mode is chosen by which parameters you pass; with no parameters it returns the session brief — what an agent needs in the first call of a session.

Modes

Session brief (no parameters)

Attention items in full; everything else as counts plus the exact next calls. Small enough to call freely. overview: true returns the old entity list instead.

Search (query)

Memories ranked by relevance, heat, momentum and importance. FTS5 with a trigram tokenizer, so Japanese and English both work. Filters: entity_name, layer, altitude, mem_type, mem_state, band, thread_id. Ranking internals (heat, band, composite, match_reasons, score_breakdown) are included only with explain: true — they roughly double the cost per memory.

File history (path)

Every recorded edit to the file, each with the user message that drove it. Add scope_to_roots: true to filter to the workspace.

Locate on the map (where)

or { "where": true } to auto-locate from the files you edited recently. Returns your node, journey stage, the blast radius (what else moves if you touch this) and the decision behind it. Pass project when several maps are imported. (Absorbs the old where_am_i.)

Triage session (dream: true)

The full set: the North Star, orphaned proposals (each with candidate_id), the distill queue of raw auto-captured memories to rewrite, and friction (anchors re-surfaced at the gate yet still violated). Resolve proposals with resolve_drift({ candidate_id, action }); rewrite distill items with remember({ memory_id, content }). (Absorbs the old dream.) The distill queue is value-ordered — caveats first, then memories on a named entity, then longer text — and rules have already settled the obvious: acknowledgements, bare paths and 90-day-old never-recalled items carry a distill_verdict and are not shown. distill_total is the real remainder; distill (max 25) is the page size.

Parameters

When to call

  • First call of every session — no arguments
  • Before starting any task or touching a file
  • When the user says “before” / 「前に」 / “last time” / “remember when”
  • When an error occurs — have you seen it before?
  • Before a decision — is there a prior decision on this topic?