Skip to content

Integration Overview

Mems is memory infrastructure — it stores and recalls memories, not runtime state. The caller owns session management, prompt assembly, and task state.

The core flow:

  1. POST /v1/mems/query — recall relevant memories
  2. the caller builds the answer with its own context
  3. POST /v1/mems/write — remember the new memory content

Remember first, or recall first — the order is up to the caller.

Public Endpoints

EndpointMethodPurpose
/v1/mems/writePOSTremember memory content into L0/L1
/v1/mems/queryPOSTrecall relevant active L1 and L2 memories
/v1/mems/statusGETinspect dependency and pipeline health
/v1/mems/healthGETlightweight liveness probe