all products
Agent toolkit

Cavemem

Why agent forget when agent can remember

Cross-agent persistent memory for coding assistants. It compresses observations with a deterministic grammar (~75% fewer tokens, code and paths preserved), stores them locally in SQLite, and serves them back through MCP — so agents pull back what matters instead of re-sending it every turn.

npm install -g cavememGitHub520

Recall, don't re-send

2 hits

Postgres uses RLS via app.current_organization_id for tenant isolation.

40
fts5 0.50·vector 0.25dbsecurity

ClickHouse stores immutable telemetry; Postgres holds mutable tenant state.

20
fts5 0.25·vector 0.13dbtelemetry

tokens

37111

saved

67%

illustrative estimate · ~4 chars/token

Re-send everything each turn and you pay for the whole store. Recall the top few and you pay for what matters.

local SQLite · no network calls by default

What it can do

  • Compressed storage in local SQLite (~75% fewer tokens, code preserved)
  • Hybrid retrieval: SQLite FTS5 + a local vector index
  • MCP tools: search, timeline, get_observations
  • Local-first — no network calls by default; web viewer at localhost:37777
  • Privacy controls: <private> tag stripping and path exclusion
language
TypeScript
license
MIT