How it works
Each memory is embedded on save. Recall embeds the query and returns the closest matches by cosine similarity. Memories are workspace-scoped, with optional per-agent scoping.From the CLI
From an agent
Two built-in tools:memory_search- recall relevant facts for a query.memory_write- persist a new fact.
API
POST /v1/memory- store a memoryPOST /v1/memory/search- recall