Skip to content

Memory System

Agiwo’s memory system provides hybrid retrieval over MEMORY/ files using BM25 plus vector similarity.

  • zero external vector database requirement
  • per-agent workspace isolation
  • passive indexing during retrieval
  • graceful fallback when embeddings are unavailable
Agent
-> memory_retrieval tool
-> WorkspaceMemoryService.search()
-> sync files
-> chunk and index
-> vector search
-> BM25 search
-> merge and rank
  • agents can write memory directly into workspace files
  • the retrieval layer stays close to the runtime and workspace model
  • embeddings are helpful but not mandatory
  • the result set is optimized for agent consumption rather than for building a standalone memory product

Memory is not a separate hidden system. It is part of the runtime story: observable, workspace-oriented, and compatible with persistence, traces, and context optimization.