Skip to content

Integration Overview

The recommended Mems integration flow for third-party agents is:

  1. GET /v1/mems/context
  2. POST /v1/mems/query
  3. let the agent build the answer
  4. POST /v1/mems/write

This split keeps responsibilities clear:

  • context reads the current live session page and paginated history
  • query handles long-term recall
  • write stores the new turn back into the system

Public Endpoints

EndpointMethodPurpose
/v1/mems/writePOSTappend turns and persist to L0/L1
/v1/mems/queryPOSTsearch active L1 and L2
/v1/mems/contextGETfetch live context and older pages
/v1/mems/statusGETinspect dependency and pipeline health
/v1/mems/healthGETlightweight liveness probe