Local persistent memory and safety guardrails for AI agents — written in Rust, zero vectors, $0 API cost.
npx @vestige/initDetects 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
- 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.
| Tool | Purpose |
|---|---|
session |
Boot session context, active plans, and live reflex state |
remember |
Save code-anchored decisions, facts, and fixes |
recall |
Deterministic handle and exact-token BM25 lookup |
causal_walk |
Trace root cause across failures, edits, and commits |
curate |
Edit, supersede, link, or hide stale memories |
precedent |
Inspect safety stops, scan secrets, verify receipts |
| Benchmark | Metric | Score |
|---|---|---|
InMind (125 q) |
Implicit Turn R@1 / R@5 | 97.6% / 97.6% |
LongMemEval-S (470 q) |
Session Any@5 / Any@10 | 97.66% / 99.57% |
LoCoMo-10 (1,982 q) |
Session R@5 / Turn Exact R@5 | 93.95% / 83.35% |
BEAM 100K (355 q) |
Session Any@5 / Any@10 | 80.56% / 88.45% |
STATE-Bench (86 episodes) |
Turn Exact R@5 / R@10 | 95.35% / 100.0% |
ConvoMem (100 q) |
Turn Exact R@5 / Sess@5 | 93.0% / 100.0% |
Reproduce locally: bash benchmarks/run_all.sh · Full tables: benchmarks/README.md
Storage & Backups · Cognitive Sandwich · Changelog · AGPL-3.0 by @samvallad33