CtxVault
An open-source, locally running memory layer for AI agents that provides semantic memory, skill memory, and episodic memory with a dual timeline. Memories are organized through folders and stored using SQLite.
Timeline (last 90 days)
CtxVault is an MIT-licensed, locally running open-source project for an agent memory layer, created by Reddit user Filippo Venturini.
CtxVault organizes memory into three types of vaults: semantic memory, skill memory, and episodic memory.
CtxVault's episodic memory attaches two temporal dimensions to each fact: the valid-time interval during which the fact is true in the real world, and the record timestamp at which the memory learned that fact.
CtxVault designs five operation primitives for episodic memory: supersede, revise, invalidate, confirm, and dispute.
CtxVault provides two kinds of temporal queries, valid_at and known_at: valid_at queries the facts that were true in the world at a given historical point, and known_at queries the facts the system knew at a given historical point.
CtxVault uses a single SQLite file inside the vault folder for underlying storage and introduces no additional service dependencies.
CtxVault's integration with LangGraph is done entirely through MCP, with no custom adapter layer; the example code uses langchain_mcp_adapters to load the tools and pass them to create_agent.
CtxVault's --agent parameter is used for access control: each vault declares which agents may access it, validation is performed server-side, and when multiple agents share a memory folder, they cannot read each other's vaults beyond their permissions.
The time cursor UI provided by CtxVault is read-only, and dragging it lets you view what was stored in memory on a given day.
CtxVault currently does not support graph memory or automatic filesystem synchronization, nor does it automatically extract facts from conversations; the agent itself decides what to write.
2 more timeline events
All Facts (12)
CtxVault is an MIT-licensed, locally running open-source project for an agent memory layer, created by Reddit user Filippo Venturini.
50%UnverifiedCtxVault organizes memory into three types of vaults: semantic memory, skill memory, and episodic memory.
50%UnverifiedCtxVault's episodic memory attaches two temporal dimensions to each fact: the valid-time interval during which the fact is true in the real world, and the record timestamp at which the memory learned that fact.
50%UnverifiedCtxVault designs five operation primitives for episodic memory: supersede, revise, invalidate, confirm, and dispute.
50%UnverifiedCtxVault provides two kinds of temporal queries, valid_at and known_at: valid_at queries the facts that were true in the world at a given historical point, and known_at queries the facts the system knew at a given historical point.
50%UnverifiedCtxVault uses a single SQLite file inside the vault folder for underlying storage and introduces no additional service dependencies.
50%UnverifiedCtxVault's integration with LangGraph is done entirely through MCP, with no custom adapter layer; the example code uses langchain_mcp_adapters to load the tools and pass them to create_agent.
50%UnverifiedCtxVault's --agent parameter is used for access control: each vault declares which agents may access it, validation is performed server-side, and when multiple agents share a memory folder, they cannot read each other's vaults beyond their permissions.
50%UnverifiedThe time cursor UI provided by CtxVault is read-only, and dragging it lets you view what was stored in memory on a given day.
50%UnverifiedCtxVault currently does not support graph memory or automatic filesystem synchronization, nor does it automatically extract facts from conversations; the agent itself decides what to write.
50%UnverifiedThe author is still undecided about whether to add an optional automatic extraction layer, because although automatic extraction improves usability, it introduces extraction errors and a gap between evaluation and real-world use.
50%UnverifiedThe CtxVault repository is at github.com/Filippo-Venturini/ctxvault; example 06 is the minimal episodic memory example, and example 05 is the LangChain + MCP integration example.
50%