Skip to main content
Get EverOS working in under 5 minutes. By the end you’ll have stored a short conversation, extracted it into a memory, and searched it back: the full memory loop, in one script.
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

Get a key from the EverOS Console. The EverOS client reads EVEROS_API_KEY automatically.

Step 1: Store a conversation

Send a few messages into a session. Each message carries a sender_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.
In production you don’t need to flush every turn. Let EverOS batch and extract on its own.Flush when you need a memory available now: the end of a session, or right before a search that depends on the latest turn.

Step 3: Search your memory

Search within a user’s memories. Search requires a user_id (or agent_id) and returns ranked episodes, each with a full narrative and a relevance score.
Example output:
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 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:
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 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.