Operations Memory is a single Go service backed by Postgres 18 with VectorChord and VectorChord-BM25.
cmd/operations-memory-gostarts the HTTP/MCP server.internal/httpapiowns routes, request/response shapes, and MCP tool delegation.internal/storeowns Postgres access, schema helpers, core memory blocks, brain pages, entity persistence, and consolidation/reflect helpers.internal/retrieveowns semantic, BM25, graph, temporal, and RRF retrieval.internal/embedandinternal/rerankcall OpenAI-compatible gateways.
The storage target is external Postgres 18 with:
vectorvchordpg_tokenizervchord_bm25pg_trgm
The active deployment path is Docker Compose or a manually managed Postgres with the same extensions installed.