~/.claude/kairos/memory/. It is a single embedded database with both lexical and dense indexes co-located. Recall happens locally; no codebase content is sent to a third party.
Kairos recalls automatically during normal work. These commands are for introspection, debugging, and one-off cleanups.
backant memory init
One-time installation of the embedding stack. Detects your hardware, picks an appropriate Qwen3-Embedding model tier, and pulls the Docker image plus the model.
Tier sizing
Re-running
memory init lets you switch tiers later. If you switch tiers, run memory reindex afterwards — otherwise the stored vectors don’t match the new model’s dimensionality and recall will fail.backant memory stats
- Total entries per tier (STM, LTM)
- Weight histogram (how decayed the population is)
- Top-cited entries
- Edge counts (proposed / approved / rejected)
- Dream-bucket size (pending consolidations)
backant memory recall
Manual recall against a text cue. Mostly for inspection.
Each hit shows a score (combining lexical, semantic, and lifecycle signals), tier, type, ID, and content preview. The agent uses the same recall surface via MCP.
backant memory inspect
Print one entry with its outgoing and incoming edges:
backant memory graph
Walk the edge graph from an entry, printed as a text tree.
Good for spotting tight clusters or orphan entries.
backant memory render
Read-only Markdown snapshot. Useful for grep, day-over-day diffing, or sharing with teammates.
backant memory reindex
Re-embed every entry from scratch.
memory init, or if you suspect index corruption. Typical run time is a few minutes for a healthy store.
Memory tiers
Memory entries live in one of two tiers, with different lifecycle rules:Memory locations
Memory is user-level — shared across all workspaces. If you want per-workspace isolation, set
KAIROS_MEMORY_DB=/path/to/workspace.db before starting the daemon.