Long-Term Memory for AI Agents: Persistent, Portable, Traceable Memory Across Sessions
Keep the context. Continue the work. Turn stateless LLMs into intelligent agents that remember what matters.
Add long-term memory for AI agents with EverOS. Preserve user preferences, meaningful episodes, and agent experience beyond the current session. Retrieve what matters for the next task instead of replaying the entire history in every prompt.
What is long-term memory for AI agents?
Your agent may understand a conversation perfectly while that conversation remains in context. A new session can still lose the preference, the earlier decision, or the background that made the answer useful. That is the memory problem: without memory, conversations start from zero every time.
Long-term memory for AI agents gives that information somewhere to live beyond a single run. We extract structured memory from interactions, organize it, and make it available for later retrieval. The model uses the returned context to respond; it does not need every previous message pasted into its input.
Keep the right information, not every token
A raw log records what was said. Useful memory represents the information the agent should be able to recover: a preference, an event, a project constraint, or experience from a completed task.
That is the purpose of agent memory in EverOS. You can retain meaningful context without making the full transcript the default input for every future response. The memory still needs to be relevant to the current task and attributed to the right owner.
Short-term working memory vs. long-term memory
The current context window is the agent's short-term memory, its working memory: it holds what large language models (LLMs) can see during a single request. Making it larger does not by itself create a durable system for extracting, correcting, and recalling information across sessions, and ultra-long context is costly to send with every call.
Long-term memory lives outside that working space. Retrieval brings selected long-term memories back into the prompts that need them, so the model spends tokens on relevant context instead of the whole history. Persistence and relevance are separate jobs: a fact can be stored correctly and still be irrelevant to the question you are asking now.
Why a bigger context window is not long-term memory
Cost and latency grow with every token you resend. An LLM that rereads the full history on each turn pays for it in time and money, and the bill rises as the conversation grows. A larger window moves the ceiling. It does not change the arithmetic.
Recall degrades in long prompts. Our research points out that ultra-long contexts can still lose effectiveness ("lost-in-the-middle" behavior). The fact can sit in the prompt and the model can still miss it. AI agents need the right fact, not the most text.
Nothing persists after the session ends. Close the window and the context is gone. If your agent needs the same preference, decision or fix next week, it needs a store outside the prompt. That store is long-term memory. For the three-way split, read context window vs long-term memory vs RAG.
| Dimension | Context window | Retrieval-only (RAG) | Long-term memory |
|---|---|---|---|
| Persists across sessions | No. It is gone when the session ends | Yes for your documents. Nothing is learned from the interaction itself | Yes: profiles, episodes, Cases and Skills persist |
| Cost per turn | Grows with every token you resend | Retrieved passages only | Selected memory only; extraction cost sits on the write path |
| What gets recalled | Whatever is in the prompt, in order | Similar passages from a document collection | User facts, past events and agent experience, attributed to the right owner |
| Can be corrected | No. You rewrite the prompt | Re-index or replace the source document | Yes. Correct an episode, edit a profile or delete a memory in Cloud; edit readable Markdown when self-hosted |
Latency, cost and accuracy: what long-term memory costs you
Long-term memory is engineering, not magic. You spend a little on the write path so you can spend far less on every turn. Here is where the latency, tokens and compute go in AI applications that use it.
| Path | What happens | What it costs you | How you keep it low |
|---|---|---|---|
| Write path | You add the interaction; extraction and indexing turn it into episodes, facts and profiles | An LLM extraction call per batch. In Cloud, writes are asynchronous, so new memory is searchable after processing finishes | Batch turns per session and flush when the conversation ends |
| Retrieval path | You search before generating and get back selected memory | Keyword search is the lightest. Vector and hybrid need an embedding provider. Agentic retrieval adds steps | Start with the simplest mode that returns relevant context |
| Tokens per turn | Your LLM receives the task plus the retrieved memory | Only the selected context, not the whole history | Cap the number of results and drop weak matches |
How to measure it
- p95 retrieval latency: time the search call under realistic load, per retrieval mode.
- Tokens sent per turn: compare the prompt with memory against a baseline that resends the full history.
- Answer accuracy on a held-out set: score answers to questions your agent has not seen, with and without memory.
Set a target for each before you ship, then re-run the check whenever you change retrieval mode. For how published systems compare, see long-term memory systems compared.
What types of long-term memory do AI agents need?
EverOS keeps User Memory and Agent Memory as separate tracks. This makes the distinction between personal context and execution experience explicit. This split is the core of our AI agent memory architecture: personal context on one track, execution experience on the other.
How these map to episodic, semantic, and procedural memory
Agent memory is often described with the same categories used for human memory. Here is how those categories line up with what EverOS stores.
| Memory concept | What it holds | Where it lives in EverOS |
|---|---|---|
| Short-term / working memory | What the model can see during the current request | The context window, outside EverOS. Retrieval fills it with selected memory |
| Episodic memory | Specific events and interactions: what happened | Episodes, with narrative context and atomic facts |
| Semantic memory | General knowledge and stable facts that are not tied to one event | Facts extracted from episodes, and Profiles for stable user attributes |
| Procedural memory | How a task should be done | Agent Cases (execution experience) and the Skills distilled from them |
| Profile memory | Long-term identity and preferences | User Profiles |
Profile: who the user is
Profiles contain persistent user attributes and preferences. They can help an assistant apply context such as a preferred style or a relevant background detail without asking the same question in every conversation.
Preserve these attributes deliberately: personalization only helps when the stored preference still applies. A one-off request is not always a standing preference. Information that guides recurring work should remain something you can inspect and correct.
Episode: what happened
Episodes are the episodic memory of the system: they represent meaningful interactions and events. We extract narrative context and atomic facts rather than relying only on undifferentiated message history.
An episode can preserve the discussion behind a decision. Its facts can help the agent recover a specific detail. This gives the agent's long-term memories a way to represent both the event and the information within it, rather than forcing every question through a full transcript.
Case: how the agent handled a task
Agent Cases capture execution experience. They belong to the agent track, not the user profile. The approach to a debugging task and a person's writing preference are different kinds of memory and should be handled as such.
Cases can inform later work when the experience is relevant. They are evidence from a run, not automatic permission to repeat its actions in a different environment.
Skill: a reusable approach
Agent Skills generalize useful experience from Cases. They support procedural reuse, while profiles and episodes support continuity about users and interactions.
Agents with long-term memory can therefore do more than remember facts. Skills are procedural memory, built by learning from completed Cases; EverOS calls this Skill Self-Evolution. Skill extraction and reflection depend on the configured deployment capabilities; storing a message alone does not produce a Skill. See how self-evolving agent memory works.
What is episodic memory for AI agents?
Episodic memory is an AI agent’s record of specific past events and interactions – what happened, when, and with whom – kept so the agent can recall it in a later session.
It answers “what happened?”. Semantic memory holds stable facts, procedural memory holds how a task is done, and profile memory holds who the user is. EverOS keeps all four, and episodic memory is the one that preserves the story behind a decision or an outcome.
How EverOS stores episodic memory
In EverOS, an episode is a narrative summary of one conversation segment. When a session boundary is reached, or when you call flush, EverOS runs one extraction call and writes the episode as a Markdown file. The episode is on disk by the time flush returns extracted. Atomic facts, foresight and the profile are produced afterwards, usually within seconds, from the same conversation. Episodes and atomic facts are both kept: one is the story, the other is the single fact.
Where episodic memory lives in a self-hosted EverOS:
| Track | What it records | Where it is stored |
|---|---|---|
| User episodes | A narrative summary of a conversation segment: what the user discussed, decided or planned | users/<user_id>/episodes/episode-<date>.md (daily append log) |
| Agent Cases | The agent’s execution trace for a task: input, tool calls, decisions and outcome | agents/<agent_id>/cases/case-<date>.md |
Because Markdown is the source of truth, you can open an episode in any editor, correct it, and the index updates. Cases are the raw material that EverOS later groups into Skills. Source: EverOS memory types.
How EverOS retrieves episodic memory
Search with a user_id and a query, and choose a method: keyword, vector, hybrid or agentic. Hybrid retrieval runs keyword and vector recall together, lets episodes and atomic facts compete for the top results, and reranks them. A precise question (“When is the launch?”) tends to return an atomic fact. A narrative question (“What has this user been working on lately?”) tends to return an episode. Responses carry the episodes with their summary text, which is what the recall() function in the Python example further down joins into the prompt.
Reads are eventually consistent. The index can trail the Markdown file by under a second normally and by roughly 10–15 seconds under load, so retry with a short backoff before you treat a fresh episode as missing. Source: EverOS retrieval.
Example: recall a decision from last week
This reuses remember() and recall() from the Python example further down this page. Session one stores a decision and ends with a flush. A week later, a new session asks about it.
remember("We picked Postgres over MySQL for billing because we need JSONB. Launch is in March.",
"Noted: Postgres for billing, launch in March.")
requests.post(f"{BASE}/flush", json={"session_id": SESSION}) # session ends: the episode is written
# One week later, in a new session
print(recall("Why did we choose Postgres?"))Illustrative result – the exact wording of the summary is generated by your extraction model: “The user’s team chose Postgres over MySQL for the billing service because it needs JSONB, with a launch planned for March.” The agent can now answer with the reason, without the old chat in the prompt. For the loop around this call, see the next section on the agent loop.
How does long-term memory fit into your agent loop?
Start with a small, explicit cycle: search for relevant memory, generate with that context, and add the new interaction. Our API and SDK expose the operations needed to build that cycle into your existing application.
Search before generating
Before an AI agent answers, query the memory for the current task and the correct identity. EverOS separates user-owned episodes and profiles from agent-owned Cases and Skills. Choose the user or agent track that matches what you need to retrieve.
Use the returned episodes, summaries, facts, and profiles as appropriate context. Memory retrieval should not force the model to treat every stored detail as relevant. If the search returns no useful memories, continue without inventing background. An empty result is safer than a hallucination built on guessed context.
Generate with selected context
Your LLM receives the task and the retrieved information. This is where memory becomes useful: the agent can reason with earlier context while still following the current instruction.
Keep that distinction explicit in your application. Memory is an input to reasoning and decision-making, not a replacement for either. A remembered plan may be outdated; a current correction may take precedence over a previous preference.
Add the new interaction
After the response, add the interaction with consistent session and sender identifiers. Attribution matters because the system needs to know whose information it is processing and which interaction it came from.
In our Cloud API, writes are asynchronous by default. An acknowledgement means processing has been queued; extracted memories become searchable once extraction and indexing finish. Your integration should handle that timing instead of assuming storage and retrieval happen simultaneously.
Close the session when it matters
The latest messages can remain buffered until a later add, a flush, or the Cloud session's idle closure. Use flush when a conversation ends and you need extraction, after the write has actually landed.
This is a practical detail of memory management: extraction and indexing have their own lifecycle. Get can see an extracted memory before vector search finishes indexing it. An immediate empty result can simply mean indexing is still running.
Persistent agent memory with selective retrieval
EverOS provides keyword, vector, hybrid, and agentic retrieval. Choose the method that fits the query and the capabilities you have configured.
Keyword search for known terms
When you know the phrase or identifier you need, keyword search provides a direct way to find matching memory. It is also available in the minimal self-hosted configuration with the core memory flow.
Not every request needs semantic inference. Exact terminology can be the right starting point for a project name, a known phrase, or a specific fact the user previously supplied.
Vector and hybrid search for meaning
A question may describe the same idea in different language. Vector retrieval addresses semantic similarity; hybrid retrieval combines keyword and vector approaches. Vector memory compares embeddings, so semantic search can find a stored fact when a natural language question uses different words.
This matters when the current question does not repeat the wording of an earlier interaction. Self-hosted vector and hybrid capabilities require the appropriate provider configuration. Request only the modes your deployment has enabled.
Agentic retrieval for harder questions
Agentic retrieval is available for more complex, multi-part queries. It is not a reason to make every simple lookup a more elaborate process.
Start with the simplest retrieval mode that serves the task. Check the relevance of the result, not just that a search returned something. Memory is useful when the agent gets sufficient context to answer correctly, not when it receives the largest possible set of records.
Efficient memory management is a set of tradeoffs, not a single setting. Keyword search is the most direct, vector and hybrid modes need an embedding provider, and agentic retrieval adds steps for harder questions. Move up to a heavier mode only when relevance requires it. Read how EverOS mRAG retrieves what actually matters.
Vector, graph or hybrid: which storage fits your agent memory?
Pick the retrieval shape from the question your agent asks. Semantic search finds paraphrases. Graphs make relationships explicit. Hybrid covers both exact terms and meaning.
| Approach | Best for | Weakness | When EverOS uses it |
|---|---|---|---|
| Vector | Semantic matches when the question uses different words than the stored fact | Returns similar text, not relationships. Needs an embedding provider and can surface near-misses | Vector retrieval mode. Self-hosted setups need the embedding provider configured |
| Graph | Multi-hop questions about entities and relationships: who owns what, which decision depends on which constraint | Graphs cost more to build and keep consistent, and they handle fuzzy phrasing poorly | EverOS offers a Memory Graph view to explore stored entities and relationships |
| Hybrid | Most agent workloads: exact terms and paraphrases in one query | Still needs an embedding provider, and you tune it per workload | Hybrid retrieval combines keyword and vector, and it is the API default |
Start with hybrid. Drop to keyword when you know the term. Move to agentic retrieval for multi-part queries. For the architecture behind these modes, read cross-session AI memory architecture explained.
How is long-term memory different from RAG?
Retrieval-augmented generation (RAG) brings external information into a model's response. Document knowledge bases, often built on a vector database or vector store over your documents, are useful when the task is to find information in a collection of material.
Long-term memory adds the continuing interaction lifecycle: user attributes, meaningful episodes, agent experience, and context that evolves as the system is used. The difference is not simply which databases store the text. It is what the information represents, whose it is, and how it changes over time.
You can use document retrieval and personal memory together. A policy document can provide the current rule; a user profile can provide the person's relevant preference. The application should distinguish those sources instead of treating every retrieved passage as the same kind of evidence. Compare RAG vs AI memory, or see how AI memory differs from a vector database.
How do you keep agent memory correct and auditable?
A durable mistake is still a mistake. Preferences change over the longer term, old plans expire, and an extracted fact may be attributed to the wrong subject. Memory needs control after it has been written.
In EverOS Cloud, you can correct an episode, edit an extracted profile, delete specific memories, and record feedback. The memory console also lets you inspect stored profiles, episodes, Cases, and Skills by owner and type. Low-value memories also add noise; reviewing what is stored keeps retrieval focused.
Correct a fact at its source
Use the operation appropriate to the memory type. Changing one episode and editing a user profile are distinct operations. A profile edit requires that profile extraction has already produced a profile.
Feedback records a signal; it does not itself rewrite the memory. Agent memory should therefore be paired with a deliberate correction path, rather than assuming a negative rating has immediately fixed the underlying information.
Keep deployment differences visible
Cloud and self-hosted EverOS share core memory operations, but every lifecycle endpoint is not identical in availability. Our current self-hosted runtime supports add, flush, get, and search; several API correction and feedback operations are Cloud-specific.
The local runtime provides readable Markdown and indexes that synchronize with file changes. Choose the control surface that matches your deployment. Check endpoint availability before you build a self-hosted workflow around a Cloud-only operation.
Forgetting, staleness and consolidation: keeping long-term memory useful
Memory that only grows turns into noise. Useful AI memory systems forget on purpose, merge what repeats and mark what is no longer true. That discipline is what turns stored interactions into lasting intelligence for your AI agents. Three habits keep it healthy.
Merge duplicate episodes into one profile fact
If a user mentions the same preference in ten conversations, you want one profile fact, not ten near-identical episodes. Our research describes semantic consolidation: new memory is grouped into related scenes and the User Profile is updated from scene summaries, which separates stable traits from transient states.
Expire or demote stale facts
A deadline, a medication or a temporary plan stops being true. Give time-bound facts a validity window and let the current request win over an older memory. EverOS research models this with forward-looking signals that carry validity intervals. Learn how to fix agent amnesia without over-remembering.
Keep a traceable audit trail for every edit
Every correction should leave evidence: who changed what, and when. Self-hosted EverOS keeps memory as readable Markdown, so you can review changes like any other file. In Cloud, the memory console lets you inspect profiles, episodes, Cases and Skills by owner and type. For the full playbook, read how to prevent AI agent memory noise.
Add long-term memory to LangChain, LangGraph and CrewAI agents (Python)
Our ecosystem includes Claude Code, Codex, OpenClaw, Hermes, and MCP integrations. You can add memory to existing LLM agents and coding tools, or connect your own application through the supported API and SDK.
Long-term memory for agents does not require replacing the agent's entire workflow. It does require choosing consistent identities, defining when to store interactions, and deciding how retrieved context enters the prompt.
Python example: add memory after a turn, search before generating
This sketch calls the open-source EverOS server's /api/v2/memory endpoints (add, search, flush) with requests. It uses keyword search because that works with the one-key setup; switch method to hybrid once an embedding provider is configured. For Cloud, use the base URL and credentials from the integration docs.
import time
import requests
BASE = "http://127.0.0.1:8000/api/v2/memory" # local EverOS server
USER, SESSION = "alice", "chat-001" # stable ids
def remember(user_text, agent_text): # add memory after a turn
now = int(time.time() * 1000) # epoch milliseconds
requests.post(f"{BASE}/add", json={"session_id": SESSION, "messages": [
{"sender_id": USER, "role": "user", "timestamp": now, "content": user_text},
{"sender_id": "agent", "role": "assistant", "timestamp": now + 1, "content": agent_text},
]}).raise_for_status()
def recall(query): # search before generating
r = requests.post(f"{BASE}/search", json={
"user_id": USER, "query": query, "method": "keyword", "top_k": 5})
r.raise_for_status()
return "\n".join(ep["summary"] for ep in r.json()["data"]["episodes"])
def answer(llm, question): # llm: any callable that returns text
reply = llm(f"Memory:\n{recall(question)}\n\nUser: {question}")
remember(question, reply)
return reply
# End of conversation: requests.post(f"{BASE}/flush", json={"session_id": SESSION})
Wire it into the framework you already run. Each one is a thin tool or node around recall() and remember():
- LangChain: wrap
recall()as a tool your chain or agent can call, and runremember()after each response. See how EverOS compares with LangChain. - LangGraph: add
recall()as a node before the model node andremember()as a node after it. We cover the EverOS memory integration in add long-term memory to a LangGraph agent. - CrewAI: expose
recall()andremember()as tools your crew's agents call. Use one stable user or agent id per crew member so memory stays attributed. Browse more options in AI agent memory frameworks.
Use Cloud when you want managed infrastructure
Cloud lets you connect to our managed memory service without operating the memory runtime, and it can scale with your usage. Configure your application and integration, then verify the add-and-retrieve cycle with a small interaction before expanding it.
Self-host when you want control of the runtime
Our open-source stack, available on GitHub under Apache 2.0, stores Markdown alongside SQLite and LanceDB, so your memory data stays readable. You configure the model providers and the capabilities needed for your workflow.
A self-hosted deployment can still make external calls: extraction, embedding, and other provider calls depend on your configuration. Multimodal ingestion also requires the relevant parser and model setup; office-file parsing requires its system dependency.
Where long-term memory changes agent behavior
Agents with memory behave differently from stateless ones in a few recurring situations. Each use case below links to a page with setup details.
Coding assistants that keep project context
When a coding session ends, the agent loses the project constraints, the earlier decisions, and the approach that fixed a similar problem. Episodes keep the decisions; Cases and Skills keep how the agent handled the work. See the Claude Code Memory Plugin.
Multi-agent systems that share what each agent learned
When one agent researches and another executes, the second needs the first agent's findings without inheriting every private detail. Separate user and agent tracks, together with shared memory across agents, give multi-agent systems a common context. See multi-agent memory and shared memory for AI agents.
Companions and conversational AI that remember the person
For chatbots and conversational AI, Profiles carry stable preferences from one conversation to the next, and episodes keep the moments that matter. A recent change can then take precedence over an older preference. The same user track can power a personal AI digital twin that carries your preferences across agents. See AI companion memory.
Computer-use agents that resume multi-step work
Browser and desktop agents often fail when a task spans more than one session: they lose task state and repeat earlier attempts. Episodes record what was tried, and Cases record how a run went, so the next session starts from evidence instead of from zero. See computer-use agent memory.
How we measure long-term memory: LoCoMo and beyond
We treat long-term memory as a research problem, so we test AI memory on public benchmarks. On the LoCoMo benchmark, our approach built on EverOS and GPT-4.1-mini reached 92.3% reasoning accuracy as judged by an LLM-Judge (EverOS LoCoMo results). Our research paper reports 93.05% overall accuracy on LoCoMo, 83.00% accuracy on LongMemEval and 90.04% recall on HaluMem (long-term memory benchmark results). Treat those scores as a starting point and run the checks above on your own application.
Long-term memory failure modes and best practices
Most memory bugs in AI agents and AI applications are one of six. Each has a fix you can ship this week.
- Memory pollution. Low-value or wrong facts crowd out the useful ones. Fix: you write preferences, decisions and outcomes, not chatter, and you review stored memory by owner and type.
- Stale facts. An old plan or preference overrides what the user just said. Fix: you let the current request win, correct or delete the outdated fact at its source, and give time-bound facts a validity window.
- Retrieval misses. The fact exists but the search does not return it. Fix: you use hybrid retrieval for paraphrases, check relevance on a held-out set, and allow for extraction and indexing time before you call a result empty.
- Cross-user leakage. One person's context shows up in another person's session. Fix: you write and search with a stable user id, and you test that a second user never sees the first user's memory. See AI memory security best practices.
- Unbounded growth. Memory piles up and every search gets slower and noisier. Fix: you consolidate duplicates into profile facts and cap results with a top-k limit and a relevance floor.
- No audit trail. You cannot explain why the agent said what it said. Fix: you keep memory inspectable (readable Markdown when self-hosted, the memory console in Cloud) and you record every correction.
Check continuity before expanding the system
Start with a simple, verifiable interaction. Add a non-sensitive preference, let extraction complete, and retrieve it in a later session. Then test a correction and an identity boundary.
Before you rely on it for production, check:
- The right user receives the right context in a fresh session.
- A different user does not inherit that personal data or context.
- Retrieval finds a relevant fact when the question uses different wording.
- Your integration accounts for write, extraction, and index timing.
- An outdated fact can be corrected through the supported control surface.
- The agent follows the current request even when an old memory differs.
These are practical acceptance checks. Run them against your actual application, model, and deployment. A memory demo becomes useful infrastructure when its behavior is predictable enough to build on. For a broader evaluation of memory quality, see our unified evaluation framework for AI memory systems.
Frequently asked questions
What is long-term memory for AI agents?
It is durable context that an agent can retrieve beyond its current session. EverOS extracts and organizes user profiles, episodes, and agent experience, then returns relevant memory for later tasks. The agent uses that context without needing the entire interaction history in every prompt.
What are the main types of memory for AI agents?
Agent memory is usually described in four types. Episodic memory records what happened, semantic memory holds general knowledge and stable facts, procedural memory captures how a task should be done, and profile memory keeps long-term identity and preferences. In EverOS, these map to Episodes, extracted facts, Cases and Skills, and user Profiles. The context window acts as short-term working memory for the current request.
Which brands provide episodic memory for AI agents?
Several agent memory systems provide episodic memory, with different designs. EverOS from EverMind stores each conversation segment as a narrative episode, stores agent execution traces as Cases, and retrieves them with keyword, vector, hybrid and agentic search; it is open source under Apache 2.0 and keeps memory as readable Markdown. LangMem documents episodic memory as one of its memory types and stores past interactions as examples of the situation, the reasoning and why the approach worked. Graphiti, the open-source framework behind Zep, ingests each piece of data as an episode node and links it to the entities and relationships extracted from it, so you can trace where a fact came from and query a point in time. Compare current documentation before you choose: the three treat an “episode” differently.
Does long-term memory for AI agents replace the context window?
No. The context window remains the model's working input. Memory persists outside it and supplies relevant information through retrieval. Your application combines the current task with selected context rather than expecting persistent storage to replace the prompt.
How does persistent agent memory differ from a chat log?
A chat log preserves messages. EverOS extracts structured memory, including episodes, facts, and profiles, and separates user context from agent Cases and Skills. That structure supports selective recall rather than requiring the agent to reread every message.
Is long-term memory the same as a vector database?
No. A vector database stores embeddings and returns similar passages. Long-term memory also extracts what an interaction means, attributes it to the right user or agent, and keeps it correctable as facts change. EverOS uses vector search as one retrieval mode alongside keyword, hybrid, and agentic retrieval; the self-hosted stack stores Markdown alongside SQLite and LanceDB.
Can cross-session memory work with existing coding assistants?
Yes. Our ecosystem includes Claude Code, Codex, OpenClaw, Hermes, and MCP integrations. Setup depends on your host and deployment. Configure the appropriate integration and verify that the correct identity is used for writing and retrieving memory.
Is new memory immediately searchable after a write?
Not always. Cloud writes are asynchronous by default, recent messages can remain buffered, and vector indexing can lag extraction. Use the documented write and flush lifecycle. A queued response means processing has started; some search methods return the new memory only after extraction and indexing finish.
Can I correct or remove persistent memory?
In Cloud, we provide profile editing, episode correction, deletion, and feedback operations. Our self-hosted runtime has different API availability and readable Markdown-backed memory. Use the supported controls for your deployment; recording feedback alone does not automatically rewrite a memory.
Can I self-host long-term memory for my agents?
Yes. The EverOS memory stack is open source under Apache 2.0. The current self-hosted runtime supports add, flush, get, and search, stores readable Markdown alongside SQLite and LanceDB, and uses the model providers you configure. A self-hosted deployment can still make external calls: extraction and embedding depend on your configuration.
Give your agents a continuing context
Start with one add-and-retrieve loop. Verify identity, timing, and relevance. Then bring long-term memory for AI agents into the workflows where starting over is costing you useful context.


