# CtxVault

> Local memory vaults that AI agents can read, write and query

- Page: https://www.whatwemade.app/p/ctxvault
- What it is: MCP server (also CLI and Developer tool), for engineering, also productivity
- Made by: [Filippo Venturini](https://www.whatwemade.app/u/filippo-venturini)
- Run it yourself: get the code and run your own copy
- Website: https://filippo-venturini.github.io/ctxvault
- Code: https://github.com/Filippo-Venturini/ctxvault (MIT, 69 stars)
- Languages: English
- Status: in progress, 90% built
- Wants contributors: What helps most right now is usage, not code:

1. Try it in a real project and open an issue about whatever was confusing or broke. Honest "this didn't work for me" reports are the most useful thing I can get.
2. Benchmark runs. The LongMemEval harness is in the repo and needs people with API credits to run the standard split. See the pinned issue.
3. Integrations: adapters that let CtxVault work as the memory of an agent framework you already use.

If you'd rather code, check the issues labeled "good first issue". Please comment on an issue before opening a PR.
- Tags: agent-memory, local-first, vector-search, rag, persistent-memory
- Upvotes: 1, comments: 0

## About

CtxVault is local memory infrastructure for AI agents. Memory is organized into vaults, each a plain directory with an explicit type: semantic vaults hold documents searched by meaning, skill vaults hold procedures in markdown, and episodic vaults hold statements with validity and transaction times.

Agents can reach vaults through an MCP server, an HTTP API, a Python client or the command line. Vaults can be restricted so that only specific agents can access them, and the ctxvault ui command opens a read-only viewer of everything stored.

It is aimed at developers building agents that need persistent memory. It runs entirely on the local machine with no cloud services or telemetry, and it is built on Python 3.10+ and Chroma-based vector indexes.

## How it was made

- Claude Code, 15% of the work: UI design and implementation and helped some PRs reviews
- Stack: Python, MCP SDK, FastAPI, SQLite

## What you need to run it

- Tools: Python 3.10+, uv (optional), MCP client (Claude Desktop, Cursor, VS Code) (optional), Ollama or any OpenAI-compatible endpoint (optional)

Shared on WhatWeMade: https://www.whatwemade.app/p/ctxvault
