Skip to content

Memory

Layer What it holds Where
L1 Per-task context: relevant files and git activity, token-budgeted In memory
L2 Project memory: AGENTS.md, CLAUDE.md, .cursorrules, .sparse/memory.md Your repo
L3 The conversation session SQLite, kept for 6 hours
L4 Structured handoff between agents Per workflow
L5 Learned runs, route stats, failure patterns, overrides and the run journal .sparse/memory.db

L5 is what makes routing improve on your repo over time.

Terminal window
sparse memory show # inspect what's stored
sparse memory forget # forget an entry
sparse memory reset # clear it
sparse memory export # export to a file
sparse memory import # import from a file