Vestige README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Vestige listing page.

Vestige

Local persistent memory and safety guardrails for AI agents — written in Rust, zero vectors, $0 API cost.

Rust License: AGPL-3.0 Release · Live WebGPU Demo

Install (1 Command)

Terminal
npx @vestige/init

Detects Antigravity, Claude Code, Cursor, Codex, and Windsurf, configures the local MCP server, and wires lifecycle hooks. Restart your editor once done.

Standalone binaries, manual MCP JSON, Nix & CI Gate
  • macOS / Linux: curl -fsSL https://raw.githubusercontent.com/samvallad33/vestige/main/scripts/install.sh | sh
  • Windows / binaries: GitHub Releases
  • Nix: nix run github:samvallad33/vestige
  • Manual MCP JSON: {"mcpServers":{"vestige":{"command":"npx","args":["-y","vestige-mcp-server"]}}}
  • GitHub PR Gate: uses: samvallad33/vestige@v7.1.0

Why Agents Use It

  • Zero-prompt recall: Injects pinned rules, active plans, and past decisions automatically before every turn.
  • Live safety & anti-spiral: Blocks risky shell commands, auto-repairs bad MCP parameters, and breaks failure loops by forcing root-cause inspection.
  • Verifiable local log: Saves decisions and commits to an append-only, BLAKE3 hash-chained store (Strata) on your machine — no cloud DB, no embeddings.

Tools

ToolPurpose
sessionBoot session context, active plans, and live reflex state
rememberSave code-anchored decisions, facts, and fixes
recallDeterministic handle and exact-token BM25 lookup
causal_walkTrace root cause across failures, edits, and commits
curateEdit, supersede, link, or hide stale memories
precedentInspect safety stops, scan secrets, verify receipts

Benchmarks (v7.1.0, CPU-Only, $0.00 Cost)

BenchmarkMetricScore
InMind (125 q)Implicit Turn R@1 / R@597.6% / 97.6%
LongMemEval-S (470 q)Session Any@5 / Any@1097.66% / 99.57%
LoCoMo-10 (1,982 q)Session R@5 / Turn Exact R@593.95% / 83.35%
BEAM 100K (355 q)Session Any@5 / Any@1080.56% / 88.45%
STATE-Bench (86 episodes)Turn Exact R@5 / R@1095.35% / 100.0%
ConvoMem (100 q)Turn Exact R@5 / Sess@593.0% / 100.0%

Reproduce locally: bash benchmarks/run_all.sh · Full tables: benchmarks/README.md

Docs & License

Storage & Backups · Cognitive Sandwich · Changelog · AGPL-3.0 by @samvallad33