Anvaya Mind · the experience store

Memory that has to earn its place.

Every node gets a clock and a track record. Unused, it fades on its kind’s half-life; useful, it earns trust. It lives in .anvaya/mind/ and serves any MCP client.

Memory field · live
Day240

● strong○ fading◌ nearly gone· forgotten● just re-read● kept by use

448 nodes, six kinds. Each fades from its last read; a re-read resets the clock. Hover a glyph, or pick a kind.anvaya-mind-rs · mind-types/src/config.rs:15 · mind-services/src/gravitas.rs:108

The shape of it

Six kinds. Six clocks.

A typed graph, not a file of notes. A decision outlives an abandoned approach fifteen times over: 347 days against 23.

  • Synthesis½ 693 dInsight condensed from several nodes.λ 0.001
  • Decision½ 347 dWhy a path was chosen.λ 0.002
  • Pattern½ 139 dA recurring shape in the codebase.λ 0.005
  • Concept½ 87 dA domain idea the project depends on.λ 0.008
  • Bug fix½ 46 dA defect and its resolution.λ 0.015
  • Approach½ 23 dA tactic tried. Most are superseded.λ 0.030

Retrieval

Question to context in six stages.

Finding related nodes is cheap. The work is deciding which still deserve your tokens.

mind · query6 stages
  1. 01RecallBy meaning through HNSW, by keyword through FTS5.
  2. 02Link expansionTyped edges pull in what the seeds imply.
  3. 03Gravitase^(−λt) for its kind, from its last access, times confidence.
  4. 04InvalidationAnchors checked against HEAD; drifted sources lose weight.
  5. 05UtilityEach node's record of being used reweights the ranking.
  6. 06QuorumMost coverage, least redundancy, inside the token budget.
Quorum · packing a budget
Served11 of 14
Tokens3,310 / 4,096
  1. 0.94decision keep WAL mode for the store180served
  2. 0.91bug fix retry loop double-charged on a 502420served
  3. 0.88pattern handlers return Result<_, ApiError>260served
  4. 0.86concept an invoice is immutable once issued140served
  5. 0.83synthesis billing failures cluster at the gateway edge610served
  6. 0.79approach tried: idempotency keys in Redis, dropped380served
  7. 0.74bug fix timezone drift in the nightly settlement job720served
  8. 0.71decision Postgres for ledgers, SQLite for local state230served
  9. 0.66pattern every migration ships with a down step160served
  10. 0.62concept settlement window is T+2 business days90served
  11. 0.55approach tried: batching webhooks per merchant540over budget
  12. 0.49bug fix flaky test: clock not frozen in fixtures310over budget
  13. 0.44pattern feature flags are read once per request120served
  14. 0.38synthesis the gateway owns retries; callers never do880over budget

11 of 14 served, 3,310 of 4,096 tokens.

Default budget 4,096 tokens, filled to 85% and capped at 12 nodes. Candidates are illustrative; the limits are shipped.anvaya-mind-rs · mind-types/src/config.rs:351, :559 · mind-services/src/quorum.rs:102

Calibration

Trust is earned, turn by turn.

Every node starts at even odds. Each turn that uses it adds credit; a turn that ignores it, or re-reads its file anyway, takes some away. After three turns the record speaks for itself.

“retry broke prod”Example node · bug fix
mean 0.6500.51
Beta(3.9, 2.1)turns 4posterior mean 0.65trusted, served at 0.65

Grade the next turn

+0.90+0.90+0.20+0.90

Session outcomes, the second signal

0.0 Reverted0.2 Abandoned0.5 In progress0.7 Brief lookup1.0 Resolved

Invalidation

When the code moves, the memory knows.

A memory about a function that no longer exists is worse than none. Nodes are anchored to the lines they describe; when those lines change, the weight is cut before the node is served.

node · bug fixillustrative

“retry loop double-charged on a 502”

anchor src/billing/retry.rs, lines 41–88

at HEAD ! lines rewritten since capture

result weight penalised by the measured drift

What a node is worth

Where the 12–25x estimate comes from.

A design estimate, not a benchmark: each kind of node stores a fraction of the raw tokens behind it. Measured today: −11.0% median uncached tokens (micro-fold, n=5, verification 19/19). Phase 6 measures the compounding curve.

20xA file read, replaced by what was learned from it
16xA decision, against the discussion that produced it
24xA bug fix, against the session that found it
25xA thread, against the sessions it spans

On disk

Everything local. Everything inspectable.

One directory in your project, added to .gitignore on creation. No account, no sync, no vector database to run. A small daemon answers over a socket; workers consolidate each session.

.anvaya/mind/mind daemon
  • graph.dbnodes, links, sessions, FTS5 · SQLite in WAL mode
  • vectors/embeddings, int8-quantized, HNSW index
  • temporal.logappend-only event log, crc32 on every entry
  • mind.sockJSON-RPC over a Unix socket
  • config.jsonyour overrides

workersacquisitionsummarizationconsolidationsynthesisintentflushMCP listener, optional

Run agents that fit on your laptop.

23.4 MB median own-process memory, measured across 1030 runs (994 verified) and fourteen harnesses. One command installs the harness and the Mind together. Nothing leaves your machine on the Ollama path.

Developer beta. macOS on Apple Silicon and Linux on x86_64 or arm64. Memory figure: --no-mind, macOS/ARM, n=3 per cell. Pre-1.0, pricing not set.