Vestige
You can use Vestige as a local AI-agent memory and safety-kernel server to search, store, curate, audit, sync, reason over, and visualize memories with maintenance and governance tools.
Search & retrieve: hybrid/causal search with filters, detail levels, token budgets, retention/similarity thresholds, and source investigation filters.
Manage memories: get/batch get, edit, promote/demote, purge/delete, suppress, protect, score importance, and inspect health/state/changelog/timeline.
Ingest & sync: smart single/batch ingestion with prediction-error gating; index GitHub/Redmine issues into searchable, auditable memories.
Codebase & intentions: store/retrieve code patterns and architectural decisions; set/check/update/list intentions and deadlines.
Deduplicate & merge safely: find duplicates/merge candidates, preview plans, apply merges/supersedes, undo operations, and set merge policy.
Reason & explore: deep/cross-reference reasoning, contradiction detection, graph exploration, predictions, dreaming, and composed-graph lanes/outcomes.
Maintain & administer: consolidation, backups, export/restore, garbage collection, system status, schema introspection, and session-context initialization.
Allows syncing memory archives via Dropbox for portable memory transfer between machines.
Allows syncing memory archives via Git repositories for portable memory transfer between machines.
Allows syncing memory archives via iCloud for portable memory transfer between machines.
Provides memory integration for JetBrains MCP clients, enabling agents to use local cognitive memory.
Supports using OpenAI-compatible endpoints for the Sanhedrin verification hook (optional post-response verifier).
Allows syncing memory archives via Syncthing for portable memory transfer between machines.
Provides memory integration for Xcode MCP clients, enabling agents to use local cognitive memory.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Vestige remember that I prefer dark mode in all my tools"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Vestige — Deterministic Operating System & Safety Kernel for AI Agents
Vestige is a local-first deterministic operating system, execution safety kernel, and zero-vector causal memory engine for autonomous AI agents built in Rust.
Unlike probabilistic LLMs and vector RAG databases that rely on floating-point similarity without tracking causality, Vestige wraps AI agents in a local Rust binary. It enforces cryptographic execution gates, bi-temporal state tracking, and zero-vector causal retrieval with $0 API cost and no GPU overhead.
🚀 Live WebGPU Companion (Zero Install): https://stara-companion.pages.dev/?v=pro-reset
⚡ Quick Start (v6.2.3)
1. Auto-configure for Claude Code, Cursor & Windsurf (npm):
npx @vestige/init --guardDetects installed AI agents, configures the MCP server, and installs the Operator safety guard.
2. Standalone MCP Server:
{
"mcpServers": {
"vestige": { "command": "npx", "args": ["-y", "vestige-mcp-server"] }
}
}(Or in Antigravity: agy plugin add vestige)
3. Pre-built Native Binaries (macOS ARM/x86, Linux, Windows):
Download pre-built standalone binaries directly from GitHub Releases, or install via shell:
curl -fsSL https://raw.githubusercontent.com/samvallad33/vestige/main/scripts/install.sh | shRelated MCP server: Agent Memory
📊 How Vestige Compares
Capability | Vestige ( | Vector RAG Memory (Mem0, Zep, Letta) | Policy Wrappers (Microsoft Agent OS, Kern) |
System Category | Deterministic Agent OS & Causal Kernel | Probabilistic Vector Memory Store | Stateless Middleware / Policy Firewall |
Retrieval Engine | Zero-Vector Causal Math (RSB v4, Rank-1 seating, FSRS-6) | Dense Embeddings + ANN Cosine Similarity | None / External RAG Dependency |
Compute & API Cost | $0 / CPU-Only (verified on 2011 Core i5-2520M) | GPU / Cloud Embedding & Reranker APIs | Low CPU (Policy Rules Only) |
State & Audit Ledger | Strata: Append-only, signed, BLAKE3 hash-chained, bi-temporal | Mutable DB rows / overwrites | Append-only audit logs (no causal memory graph) |
Execution Governance | Out-of-Band Operator Gates ( | None (relies on agent self-restraint) | Pre-execution policy & sandbox checks |
Root-Cause Tracing |
| Not supported | Log inspection only |
Multi-Agent Sync | Reflex Context Manifest + Stale-Belief Push | Shared vector namespace (stale drift risk) | Per-process isolation |
🛠️ Core Kernel Subsystems
Strata (Cryptographic Causal Ledger): Append-only, signed, BLAKE3 hash-chained log providing bi-temporal validity bounds (
valid_from_ms,valid_until_ms). Writes return receipts; new claims supersede older ones while historical facts remain immutable.Operator Gates & Reflex Hooks (
--guard): Out-of-band execution governance requiring 15-minute single-use owner permits for high-risk actions, logging every block and allowance to a dedicated ledger.Zero-Vector Causal Retrieval (RSB v4 + Rank-1 Seating + FSRS-6): Structural provenance engine using Retroactive Salience Backfill, deterministic slot-1 seating rules, and FSRS-6 memory decay instead of embeddings. Cause never looks like the symptom — a later turn raises earlier relevant context even with zero shared words.
Causal Root-Cause Proofs (
causal_walk&vestige prove): Traces upstream failure and commit edges, running deterministic git-bisect verification against your own tests with receipted runs.Multi-Agent Context Manifest & Compaction Survival: Manages context token budgets, pushes live stale-belief revocations across subagents, and restores decisions across context compactions.
📈 Benchmarks (v6.2.3)
Benchmarked using the local retrieval_bench binary on an Intel Core i5-2520M with 8 GB RAM, CPU only (no embeddings, no LLM, no GPU, $0 API costs):
Benchmark | Split / Slice | Level | Metric | Score |
LoCoMo-10 | Blind Convs 6–10 ( | Session / Turn | Sess R@5 / Turn Exact R@5 / Turn R@10 | 93.71% / 80.41% / 88.02% ( |
LoCoMo-10 | All 10 Convs ( | Session / Turn | Sess R@5 / Turn Exact R@5 / Turn Soft R@5 | 94.25% / 81.84% / 84.71% |
LongMemEval-S | Official ( | Session | Any@1 / Any@5 / Any@10 / CappedAll@5 | 85.74% / 96.17% / 99.57% / 92.08% |
BEAM 100K |
| Session / Turn | Pkt Sess Any@5 / Pkt Turn Any@5 / Temporal Any@5 | 78.59% / 70.42% / 100.0% |
MemoryAgentBench | QA2 421K ( | Document | All@5 | 85/100 (85.00%) |
Reproduce locally:
bash benchmarks/run_all.shFull tables and methodology are in benchmarks/README.md.
License
Built by Sam Valladares (@samvallad33). Licensed under AGPL-3.0.
Available Tools
34 toolsapply_planA
Execute a previously-generated merge/supersede plan by id. Recorded as a reversible operation. Old memories are invalidated (never deleted). 'possible'/'non_match' plans require confirm=true.
Inputs: plan_id (required), confirm.
backupB
Create a SQLite database backup. Returns the backup file path.
Inputs: no named parameters.
codebaseC
Unified codebase tool. Actions: 'remember_pattern' (store code pattern), 'remember_decision' (store architectural decision), 'get_context' (retrieve patterns and decisions).
Inputs: action (required), name, files, limit, +5 more.
composed_graphB
ComposedGraph memory topology. Reads durable composition events, members, and outcome labels; returns recent/already-composed lanes, neighbors, never-composed pairs, bounty-mode lanes, and lets users label outcomes such as helpful, submitted, accepted, rejected, duplicate_risk, needs_poc, or dead_end.
Inputs: action (required), tags, limit, notes, +5 more.
consolidateA
Run FSRS-6 memory consolidation cycle. Applies decay, generates embeddings, and performs maintenance. Use when memories seem stale.
Inputs: no named parameters.
contradictionsA
Inspect memory disagreements directly. Scans a topic or recent memories for trust-weighted contradiction pairs using the same local logic as deep_reference.
Inputs: limit, since, topic, min_trust.
cross_referenceC
Alias for deep_reference. Connect the dots across memories with cognitive reasoning.
Inputs: query (required), depth.
deep_referenceA
Deep cognitive reasoning across memories. Combines FSRS-6 trust scoring, spreading activation, temporal supersession, dream insights, and contradiction analysis to build a complete understanding of a topic. Returns trust-scored evidence, fact evolution timeline, and a recommended answer. Use this when accuracy matters.
Inputs: query (required), depth.
dreamB
Trigger memory dreaming — replays recent memories to discover hidden connections, synthesize insights, and strengthen important patterns. Returns insights, connections, and dream stats.
Inputs: memory_count, min_similarity.
explore_connectionsB
Graph exploration tool for memory connections. Actions: 'chain' (build reasoning path between memories), 'associations' (find related memories via spreading activation + hippocampal index), 'bridges' (find connecting memories between two nodes).
Inputs: from (required), action (required), to, limit.
exportC
Export memories as JSON or JSONL. Supports tag and date filters.
Inputs: path, tags, since, format.
find_duplicatesA
Find duplicate and near-duplicate memory clusters using cosine similarity on embeddings. Returns clusters with suggested actions (merge/review). Use to clean up redundant memories.
Inputs: tags, limit, similarity_threshold.
gcA
Garbage collect stale memories below retention threshold. Defaults to dry_run=true for safety.
Inputs: dry_run, max_age_days, min_retention.
importance_scoreA
Score content importance using 4-channel neuroscience model (novelty/arousal/reward/attention). Returns composite score, channel breakdown, encoding boost, and explanations.
Inputs: content (required), project, context_topics.
intentionC
Unified intention management tool. Actions: 'set' (create), 'check' (find triggered), 'update' (complete/snooze/cancel), 'list' (show intentions).
Inputs: action (required), id, limit, status, +8 more.
memoryA
Unified memory management tool. Actions: 'get' (retrieve full node), 'purge' (irreversibly remove content/embeddings with confirm=true), 'delete' (legacy alias for purge), 'state' (get accessibility state), 'promote' (thumbs up — increases retrieval strength), 'demote' (thumbs down — decreases retrieval strength, does NOT delete), 'edit' (update content in-place, preserves FSRS state).
Inputs: action (required), id, ids, reason, +2 more.
memory_changelogA
View audit trail of memory changes. Per-memory: state transitions. System-wide: consolidations + recent state changes.
Inputs: end, limit, start, memory_id.
memory_graphA
Subgraph export for visualization. Input: center_id or query, depth (1-3), max_nodes. Returns nodes with force-directed layout positions and edges with weights. Powers memory graph visualization.
Inputs: depth, query, center_id, max_nodes.
memory_healthA
Retention dashboard. Returns avg retention, retention distribution (buckets: 0-20%, 20-40%, etc.), trend (improving/declining/stable), and recommendation. Lightweight alternative to full system_status focused on memory quality.
Inputs: no named parameters.
memory_timelineA
Browse memories chronologically. Returns memories in a time range, grouped by day. Defaults to last 7 days.
Inputs: end, tags, limit, start, +2 more.
merge_candidatesA
Surface likely duplicate/overlapping memory clusters with confidence scores and the signals behind each (Fellegi-Sunter match/possible/non-match). Read-only — nothing is changed.
Inputs: tags, limit.
merge_policyA
Get or set the per-project merge policy: the two Fellegi-Sunter thresholds (match_threshold, possible_threshold) and auto_apply. No args returns the current policy.
Inputs: auto_apply, match_threshold, possible_threshold.
merge_undoA
Reverse a prior merge/supersede operation (the 'git reflog for your agent's memory'). With no operation_id, lists the reversible operation log so you can pick one.
Inputs: operation_id.
plan_mergeA
Produce a previewable MERGE plan (a diff: combined content/tags/provenance) for 2+ memories WITHOUT applying it. Returns a plan_id for apply_plan. Protected members block the merge.
Inputs: member_ids (required), survivor_id.
plan_supersedeA
Preview superseding memory A with B — bitemporal invalidation (stamps valid_until, keeps A queryable for audit) WITHOUT applying. Returns a plan_id for apply_plan.
Inputs: new_id (required), old_id (required).
predictB
Proactive memory prediction — predicts what memories you'll need next based on context, recent activity, and learned patterns. Returns predictions, suggestions, and speculative retrievals.
Inputs: context.
protectA
Pin a memory so it can never be auto-merged, superseded, or garbage-collected. Pass protected=false to unpin.
Inputs: id (required), protected.
restoreA
Restore memories from a JSON backup file. Supports MCP wrapper format, RecallResult format, and direct memory array format.
Inputs: path (required), merge, allowAnyPath.
searchB
Unified search tool. Uses hybrid search (keyword + semantic + convex combination fusion) internally. Auto-strengthens memories on access (Testing Effect).
Inputs: query (required), limit, concrete, source_id, +16 more.
session_contextA
One-call session initialization. Combines search, intentions, status, predictions, and codebase context into a single token-budgeted response. Replaces 5 separate calls at session start.
Inputs: context, queries, token_budget, include_status, +2 more.
smart_ingestA
INTELLIGENT memory ingestion with Prediction Error Gating. Single mode: provide 'content' to auto-decide CREATE/UPDATE/SUPERSEDE. Batch mode: provide 'items' array (max 20) for session-end saves — each item runs the full cognitive pipeline (importance scoring, intent detection, synaptic tagging).
Inputs: tags, items, source, content, +3 more.
source_syncA
Index an external system into Vestige as a durable, offline, semantically-searchable index that cites back to the canonical record. GitHub: source='github', repo='owner/name' (auth via GITHUB_TOKEN env). Redmine: source='redmine', project='' (host via REDMINE_URL, auth via REDMINE_API_KEY env). Idempotent: re-running updates changed issues without duplicating; set reconcile=true to tombstone issues removed upstream.
Inputs: repo, source, project, max_pages, +1 more.
suppressA
Actively suppress a memory via top-down inhibitory control (Anderson 2025 SIF + Davis Rac1). Distinct from delete: the memory persists but is inhibited from retrieval and actively decays. Each call compounds. A background Rac1 worker cascades decay to co-activated neighbors. Reversible within 24 hours via reverse=true.
Inputs: id (required), reason, reverse.
system_statusA
Combined system health and statistics. Returns status (healthy/degraded/critical/empty), full stats, FSRS preview, cognitive module health, state distribution, warnings, and recommendations.
Inputs: schema_introspection.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 34 tools
Most tools have distinct purposes: search, memory, codebase, intention, and various merge/explore steps are clearly separated. However, cross_reference is an explicit alias for deep_reference, creating redundancy, and the cluster of merge-related tools (find_duplicates, merge_candidates, plan_merge, apply_plan, merge_undo) could be confused despite having distinct stages.
Naming is mixed: many tools follow a verb_noun pattern (smart_ingest, find_duplicates, plan_merge, apply_plan, explore_connections, suppress), but others are noun_verb (memory_timeline, system_status, importance_score, merge_candidates, memory_health). A few are single-word nouns (search, memory, backup, export, gc, dream). This inconsistency in convention makes the set less predictable.
With 34 tools, this server far exceeds the 25-tool heavy threshold. While the domain is broad (memory management, codebase, intentions, ingestion, merging, health), many tools could be consolidated — e.g., five separate merge-related tools (find_duplicates, merge_candidates, plan_merge, apply_plan, merge_undo) and multiple health/status tools. The count feels bloated for agents to navigate efficiently.
The tool set covers the full memory lifecycle: creation (smart_ingest, memory set), retrieval (search, get, memory_timeline), update (edit, promote/demote), deletion (purge, gc, suppress), plus backup/export/restore and exploratory analysis. Minor gaps exist, such as a dedicated bulk delete (though gc covers it) and no explicit 'list all memories' without time constraints, but these are workable.
Maintenance
Related MCP Connectors
AI memory governance & hallucination-blocking MCP server with verifiable knowledge cells.
Cloud-hosted MCP server for durable AI memory
Persistent, inspectable memory for AI agents with lineage, correction, and a hosted MCP endpoint.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Rust-based MCP server that provides long-term memory capabilities for AI agents using keyword-based storage and retrieval. It supports isolated namespaces for different users or projects, allowing LLMs to remember and recall information across sessions.-
- AlicenseAqualityBmaintenanceMCP server that exposes agent-memory-daemon to any MCP-compatible client — Kiro (CLI & IDE), Claude Desktop, Cursor, and others. The daemon does the thinking (consolidation + extraction); this server is a thin filesystem bridge so agents can read, append, and search memory through the Model Context Protocol.4257 npm6MIT

dakera-mcpofficial
AlicenseAqualityCmaintenanceSelf-hosted MCP-native agent memory server. Gives AI agents persistent, decay-weighted memory via 83 MCP tools — no cloud, full control. RocksDB+HNSW backend. Works with Claude Code, Cursor, and any MCP-compatible agent.149MIT- AlicenseAqualityDmaintenanceA different approach from typical persistent-memory MCPs. Instead of a local SQLite + embeddings store, the memory lives as plain files in a .ai-memory/ directory you commit to your repo (facts.jsonl, decisions/\*.md, gotchas.md). Git is the sync layer — what one Claude/Cursor/Cline learns about a repo, the next session (or a teammate's agent) picks up automatically. 5 MCP tools: get_rep51MIT