These guides use EverOS Cloud and the everos-cloud Python SDK.The underlying v2 Memory API is the same on Cloud and self-hosted, so the
patterns here apply to both:
- Cloud: use the everos-cloud SDK, as shown in these guides.
- Self-hosted (OSS): call the same v2 endpoints on your own host. See Open Source.
Prerequisites
EVEROS_API_KEY automatically.
Step 1: Store a conversation
Send a few messages into a session. Each message carries asender_id: the participant the memory is attributed to.
Why
async_mode=False?By default writes are asynchronous. Add returns immediately and EverOS ingests
in the background.This demo sets async_mode=False so the messages are stored before the next
step runs.In production, leave it on the default and let extraction run in the background.Step 2: Extract the memory
Extraction normally waits for a conversation boundary, such as a topic change or a time gap. Call flush to run boundary detection now and extract what’s ready.Step 3: Search your memory
Search within a user’s memories. Search requires auser_id (or agent_id) and returns ranked episodes, each
with a full narrative and a relevance score.
Nothing came back?Episodes only exist once extraction has run, and a very short exchange may not
form one at all.To make extraction happen now, write with That returns the session’s raw buffered messages alongside any episodes, so a
live agent sees the latest turns instead of a gap. It only works when you pin
one session this way. Searching by
async_mode=False and then call
flush, as Steps 1 and 2 do.To read the turns that haven’t been extracted yet, pin the session in your
search:user_id alone never returns them.Complete script
Copy, set your key, and run:What’s next?
Personal AI Assistant
Build a 1:1 assistant that remembers preferences and context across sessions.
Multi-Party Conversations
Attribute memory per participant in group chats and meetings.
Python Integration
Production patterns: error handling, retries, and clean client setup.
API Reference
Full v2 endpoint docs with request/response schemas.

