A3S Memory
A3S Memory
Pluggable memory storage for AI agents — MemoryStore trait, FileMemoryStore, InMemoryStore, and relevance scoring
A3S Memory
a3s-memory is a standalone Rust crate that provides the storage layer for agent memory. It has no knowledge of agents, sessions, or context injection — it owns exactly one thing: storing and retrieving MemoryItems.
Core (stable) Extensions (replaceable)
───────────────────────── ─────────────────────────
MemoryStore (trait) InMemoryStore
MemoryItem FileMemoryStore
MemoryType (your custom backend)
RelevanceConfigInstall
[dependencies]
a3s-memory = "0.1"Or if you're using A3S Code, memory is already included — configure it via SessionOptions:
SessionOptions::new().with_file_memory("./memory")What's in this crate
Prop
Type
What's NOT in this crate
Prop
Type
If you're building an agent with A3S Code, see Memory for the full agent-layer documentation.