Skip to main content
Operator includes a vector memory system backed by SQLite and sqlite-vec. Memories are automatically extracted from conversations, stored as embeddings, and retrieved by semantic similarity.

How It Works

  1. On each message, relevant memories are retrieved by cosine similarity and injected as context
  2. The harvester periodically extracts facts from conversations and stores them as embeddings
  3. The cleaner periodically deduplicates, merges, and normalizes stored memories

Scopes

Memories are scoped to control visibility:
ScopeDescription
userPersonal facts about a specific user
agentContext specific to an agent
globalShared knowledge across all agents

Pinned Memories

Memories can be pinned — pinned memories are always injected into the system prompt regardless of similarity score. Use pinning for critical context that should always be available.

Configuration

See the memory configuration section for all options including embedding model, harvester schedule, and similarity thresholds.

Tools

Agents have built-in tools for memory management:
ToolDescription
save_memoryStore a new memory
search_memoriesSemantic search across memories
forget_memoryDelete a specific memory
list_memoriesList memories with optional filters

CLI

operator memories [--scope/-s SCOPE] [--scope-id/-i ID] [--pinned] [--limit/-n N]
operator memories stats
See Memories CLI for details.