TasteBud Memory: Reversible Agent Memory via Hyperdimensional Computing

TasteBud Memory is a reversible memory index for AI agents built on hyperdimensional computing / vector symbolic architectures (Kanerva). Instead of blending project contributions into an irreversible sum (like mixing paint), each project gets a deterministic 4096-dimensional ±1 vector, and a day's work is encoded as a weighted sum. Because random high-dim vectors are near-orthogonal, dot products can decompose the blend back into its constituent projects — including detecting unknown ingredients.
What It Does
- Lossless decode: Given a day's vector, recover exactly which projects contributed and their proportions.
- Complete retrieval: List all days that touched project X (embedding search returns representatives, not the full set).
- Origin tracking: Find when a project started, even under old names.
- Set differences: What was active in March but dead by June? (impossible with embeddings)
- Absence detection: Which workstreams never got documentation?
- Unknown ingredient detection: Flags when a day's work contains a project not in the codebook — the 'chef's palate' move.
Validation Protocol
Before trusting, backtested against the author's own history:
- Froze a ground-truth doc, had adversarial verifier agents blind-re-derive 31 of 92 days — caught 2 real tagging errors, 93.5% faithful.
- Replayed history with known projects deleted from the codebook to prove the unknown-ingredient detector would have flagged them (day 0–2 in backtests).
- Real history had a project that ran 13+ days before getting any documentation — the original motivation.
Honest Limitations
- The plain composition table does most query work. Vector layer earns its keep on lossless decode, day-similarity, drift tracking, and fixed-size encoding.
- Local model (Gemma 26B) failed the tagging-quality gate (0.74 agreement vs 0.80 bar) — currently the alerted fallback, big cloud model is nightly primary.
- This is an index, not a summarizer. It recovers the ingredient list, not the recipe.
Technical Details
- ~600 lines of dependency-free Node.js
- Two JSON files for persistence
- MIT license
- Includes an MCP server so any agent platform can use it
- Fictional sample data so every command works right after clone
Repository: github.com/Mikhail-Za/tastebud-memory. Methodology doc (kill-gates, backtest protocol) is in the repo.
📖 Read the full source: r/openclaw
👀 See Also

TOON MCP server reduces tool result tokens by 30-60% in OpenClaw
An MCP server that compresses structured JSON tool results into the TOON format can cut token usage by 30-60% for tabular data like database queries and API responses, helping delay context window compaction in OpenClaw sessions.

obsidian-mcp: Graph-Aware MCP Server for Claude with 25 Tools Targeting Large Vaults
obsidian-mcp is an MCP server exposing 25 tools (including get_note, traverse_graph, query_dataview, move_note, create_notes) that gives Claude graph-aware access to your Obsidian vault — avoiding context window death on 5k-note vaults. MIT, works with Claude Desktop, Claude Code, Cursor, Cline, Continue, Zed.

cowork-session-sync v1.0.0 provides session continuity for Claude Cowork
cowork-session-sync v1.0.0 is a tool that maintains session continuity for Claude Cowork by archiving raw transcripts, distilling them to Markdown, and enabling one-phrase bootstrap with 'catchup-bunny' to restore full context.

cc-lens: Local Dashboard for Claude Code Session Analysis
A developer built cc-lens, a local-first dashboard that reads Claude Code session files from ~/.claude/ and provides usage analytics, cost tracking, and session replay. It runs entirely on your machine with no cloud sync, sign-ups, or telemetry.