Official Python SDK for EverOS Cloud — managed long-term memory for AI agents. Typed client for the v2 Memory API.
Repo EverMind-AI/everos-cloud-sdk-python, read from GitHub 2 h ago. EverMind-AI has not joined Take My Repo.
1.3.0 adds Context Retrieval, gives you control over how deletes play out, and adds a way to start a memory space over.
Deletes are now permanent. Since 2026-11-20,
deleteanddelete_by_idsremove memories for good on the server, whichever SDK version calls them. There is no undo. 1.2.x docs that say "soft-delete" are out of date.
context runs an LLM that searches in rounds until it has enough evidence to answer the question:
from everos_cloud import EverOS client = EverOS(api_key="sk-...") found = client.context("Where did I say I was moving, and when?", user_id="user-1") for ep in found.episodes: print(ep.cited, ep.episode)
It returns memories, not an answer. cited marks the ones the model relied on. Use it for questions a single search answers poorly: multi-hop, temporal, or spread over several conversations. user_id is required. The server caps the loop at 45 seconds and returns what it found so far.
Deletes now remove memories permanently, together with their extracted facts and search-index copies. A delete never spends LLM calls, so what only an LLM can regenerate (the user profile, session summaries, agent skills) is kept and marked stale instead. The delete result tells you so:
r = client.delete_by_ids([id1, id2], user_id="user-1") print(r.deleted, r.rebuild_required, r.targets) # 2 True ['profile']
Profile items carry stale=True until you refresh them. rebuild regenerates them from the memories that remain. Batch your deletes first, then rebuild once:
job = client.rebuild(user_id="user-1") # status: "queued" done = client.rebuild_wait(job) # polls until it ends print(done.status) # "succeeded"
rebuild(..., dry_run=True) reports what would be rebuilt, and estimated_episodes sizes a profile rebuild, without spending anything. The call is free. The extraction it runs is metered like any other, so it is refused with a 429 once your usage quota is exhausted. There is one job per owner at a time: a second call returns already_running. rebuild_status(job_id) reads a job without waiting.
update and delete_by_ids take optional guards:
client.delete_by_ids(ids, user_id=session.user_id, app_id="support-bot", project_id="prod")
user_id: a memory owned by anyone else is refused like a missing one. update answers 404, and delete_by_ids skips it.app_id / project_id: the same rule for a memory outside that app or project.Take these values from your own session, never from model output, so a wrong or invented id cannot reach someone else's memory. The guards are never filled from the client's app_id / project_id defaults, so existing calls behave as before. delete_by_ids also returns deleted, the number of memories the call actually removed.
Purge permanently deletes all memory data in the memory space, or in one app or project, in two steps:
req = client.purge_request("project", app_id="my-app", project_id="old") # deletes nothing print(req.summary) # what would go; check `complete` job = client.purge_confirm(req) # within 5 minutes client.purge_wait(job.job_id)
There is no undo, and there is deliberately no one-call purge. Writes to the memory space return 409 while the purge runs.
EverOSAPIError now carries the API's error code and message along with status:
from everos_cloud import EverOSAPIError try: client.update(memory_id, subject="x", user_id="user-1") except EverOSAPIError as e: if e.code == "not_found": ...
add queues the write by default. If you flush right after, add with async_mode=False, or the flush can run before the messages land and extract nothing.
Nothing was removed or renamed. The new methods are context, rebuild, rebuild_status, rebuild_wait, purge_request, purge_confirm, purge_get and purge_wait. On the typed client they are client.memory.retrieve_context, rebuild_memory, get_rebuild_status, request_purge, confirm_purge and get_purge_job. Requires Python 3.12+.
pip install --upgrade everos-cloud
Full contract: openapi.json · Usage: quickstart.md
Three new memory methods let you fix, remove and rate individual memories after they are extracted.
update rewrites one episode. Pass only the fields you want to change:
from everos_cloud import EverOS client = EverOS(api_key="sk-...") ep = client.update( memory_id, subject="Moving to Lisbon", reason="wrong_subject", ) print(ep.edited_at)
You can change episode, summary and subject. reason is a code such as "wrong_subject", or {"code": ..., "note": ...} if you want to add a note. If the new values match what is already stored, the result has unchanged=True.
delete_by_ids deletes 1 to 50 memories in one call:
client.delete_by_ids([id1, id2], reason="redundant")
Ids that do not exist are skipped. A malformed id rejects the whole batch with a 422, so nothing is deleted. To clear everything for a user, agent or session, keep using delete.
feedback records whether a memory was right:
client.feedback(memory_id, "positive") client.feedback( memory_id, "negative", reason="outdated", note="She moved again in March", suggestion="Lives in Porto", )
reason and suggestion are accepted with a negative rating only; note works with either. Feedback reasons include outdated, which update and delete_by_ids do not accept; those two take missing instead. For a profile memory, pass item_id to rate a single item inside it.
A seconds-scale timestamp on a message now fails when the message is built, before any request is sent, instead of coming back as a 422 from the server.
Nothing was removed or renamed. The three new methods are named after their routes, like the other memory methods. On the typed client they are client.memory.update_memory, delete_memories_by_ids and submit_feedback.
pip install --upgrade everos-cloud
Full contract: openapi.json · Usage: quickstart.md
The first feature release since 1.0.0. It opens three surfaces the SDK could not reach before — knowledge bases, async tasks and memory tags — and it is the release where every operation and every field finally carries a description.
A searchable document library with its own category taxonomy. Ingest is asynchronous, so the flow is ingest → wait → search:
from everos_cloud import EverOS client = EverOS(api_key="sk-...") kb = client.kb_create("Employee Handbook", description="HR policies") ack = client.doc_ingest(kb.id, "Leave policy", "Employees accrue 20 days...") task = client.task_wait(ack.task_id, timeout=300) # polls until queryable hits = client.kb_search(kb.id, "how much leave do I get", top_k=5)
kb_create / kb_list / kb_get / kb_update / kb_delete / kb_search, doc_ingest / doc_list / doc_get / doc_update / doc_delete, plus categories and topics through client.knowledge.
Every async write — a memory add, a document ingest — now reports through the task API. task_wait polls to a terminal state, backs off between polls, rides out a transient 429, and raises on failure or timeout:
task = client.task_get(task_id) page = client.task_list(status="failed") task = client.task_wait(task_id, raise_on_failure=False) # inspect instead of raising
tag_bind / tag_unbind / tag_replace, scoped by memory id rather than by app or project. Tags are created by use — binding a name that does not exist yet is how it comes into existence.
The contract shipped 3 operation descriptions out of 31, and 327 of its 421 schema properties carried only a generated label restating the field name (session_id → "Session Id"). This release fills all of it in: 34/34 operations and 481/481 properties. Those strings are the SDK's method docstrings and model attribute docs, so this is what your editor shows on hover.
The descriptions include the rules that live in server-side validators and were therefore invisible in the contract — you could not have discovered them without a 422:
user_id / agent_id is required on search and get, and memory_type must match that owner (a user owns episodes and profiles; an agent owns cases and skills);delete needs at least one scope — an empty body is rejected, not a full wipe;timestamp on a message is unix milliseconds; a seconds-scale value is rejected rather than silently rescaled;top_k either -1 or 1–100;base64 is skipped by the parse step — upload it and pass the object key as uri instead;python_requires was declared in the packaging template and never passed to setup(), so 1.0.0 shipped with no Requires-Python metadata at all — pip installed it on any interpreter and you met a traceback instead of a clear message. That is fixed, and the floor is set to 3.12.
If you are on an older interpreter, pip install -U everos-cloud will now decline the upgrade and keep you on 1.0.0, with an explicit reason:
ERROR: Package 'everos-cloud' requires a different Python: 3.10.17 not in '>=3.12'
pydantic also gained the < 3 upper bound it was missing. The generated models are written against pydantic v2's API, so a 3.0 release would otherwise have broken fresh installs with no change on our side.
Nothing was removed or renamed. The 27 new operations are additive, and the nine methods 1.0.0 shipped — add / search / get / flush / edit / delete, presign / upload, close — keep their names and signatures. Everything added since carries its resource as a prefix (kb_, doc_, task_, tag_), so typing client.kb lists the knowledge-base surface; the two styles side by side are a consequence of that freeze, not a convention.
The generated clients are now client.memory, client.storage, client.knowledge and client.tasks — every operation is reachable there, including the ones the ergonomic facade does not wrap.
add is asynchronous by default. It returns status: "queued", and a flush issued immediately afterwards returns no_extraction because the write has not landed yet. Either write with async_mode=False or wait on the add's task before flushing.min_score filters on); keyword and vector pass the underlying store's own score through, and BM25 has no upper bound.score_threshold cuts a relative position rather than an absolute relevance bar — the best hit of any response sits near the top of the range no matter how weak the pool.Full contract: openapi.json · Usage: quickstart.md