1 unstable release

0.15.15-alpha.3 Apr 16, 2026

#477 in Build Utils


Used in 3 crates

Apache-2.0

260KB
5.5K SLoC

ta-memory

Agent-agnostic persistent memory store for Trusted Autonomy.

When a user switches from Claude Code to Codex mid-project, or runs multiple agents in parallel, context doesn't get lost. TA owns the memory — agents consume it through MCP tools or CLI.

Backends

  • FsMemoryStore (default): JSON files in .ta/memory/, one per key. Zero external dependencies. Exact-match and tag-based lookup.
  • RuVectorStore (feature ruvector): HNSW-indexed vector database for semantic search. Sub-millisecond recall at scale.
  • ExternalMemoryAdapter (backend = "plugin" in .ta/memory.toml): Wraps any external binary plugin over JSON-over-stdio. Ships with ta-memory-supermemory as the first reference plugin.

Selecting a backend

Use memory_store_from_config() to create the appropriate backend from .ta/memory.toml without hard-coding a specific implementation.

use ta_memory::memory_store_from_config;
let mut store = memory_store_from_config(std::path::Path::new("."));

Dependencies

~8–17MB
~269K SLoC