Memory Portability for AI Agents: Export Formats That Last
Learn which export formats keep agent memory readable and reloadable after a model or vendor change, with a step-by-step plan your team can audit.

AI agent memory portability means exporting what an agent has learned about your company in formats your staff can read, audit and reload into a different model or platform. The formats that last are plain, versioned and self-describing: structured records with an owner, a source and a date, stored next to the original documents they came from. If your agent's memory exists only inside one vendor's index or session store, a change of model or provider can quietly erase gains the company built through daily use.
Key takeaways
- Export memory as plain records with owners, sources and dates, not as vectors alone.
- Treat embeddings as a rebuildable cache, never as the only copy of a fact.
- Ship every export with a manifest that states what it contains, which model wrote it and when.
- Test the reload into a second environment before you need it in a real incident.
- Carry permissions and approval boundaries inside the export so access rules survive the move.
Why agent memory becomes a lock-in risk
Most teams first notice memory when an agent answers well. It knows the preferred wording for a renewal, the exception that finance approved last quarter, or the reason a supplier was removed from the list. That knowledge rarely lives in one place. It may be spread across a vendor's session store, an embedding index built with one model, a chat transcript archive and a few notes that staff typed into a settings box.
The risk appears at change time. Embeddings produced by one model cannot be queried by another, so switching models means rebuilding the index from the source material. If the source material was never kept in readable form, or if the facts were never separated from the conversations that produced them, the rebuild starts from zero. This is why the work of portability is mostly about what you store, not about which tool you choose. For the mechanics of that rebuild, see Reindexing Agent Memory After an Embedding Model Change.
A useful test is simple: if your current vendor disappeared tomorrow, could a colleague who has never seen the system list every fact the agent relies on, say where each one came from and explain who may change it? If the honest answer is no, the memory is not yet portable, whatever the interface looks like.
What a portable memory record contains
A portable record describes one fact in language a person can check. It does not depend on the agent's internal representation to make sense. Each record should carry the following fields:
- A stable identifier that does not change when the text is edited.
- The statement itself, written as a plain sentence a staff member could read aloud.
- The entity it describes, such as a customer account, a supplier, a product line or an internal process.
- The source document or record it came from, with its version or date.
- The owner, meaning the person or role accountable for keeping the fact correct.
- The date it was recorded and the date it should be reviewed or expire.
- The access scope, such as which team or account the fact may be shown to.
- The approval state, including who approved the fact and whether it was written by a person or proposed by an agent.
This structure looks heavy at first, but each field answers a question someone will eventually ask. The entity field prevents a fact about one client from surfacing in another client's conversation. The source and version fields let staff verify an answer quickly. The owner field makes corrections possible without retraining anything. For a practical way to name the entities, read Entity Memory Schema for AI Agents: Customers, Jobs and Assets.
Choosing export formats that will still open in five years
The best export format is one that a general-purpose tool can open without the vendor's software. For structured records, line-delimited JSON or a plain CSV file with a fixed header is usually enough, because both can be read by a spreadsheet, a script or a new platform. For policies, procedures and narrative notes, plain Markdown or text keeps the wording intact and readable by any editor. Store the original source files in their native format as well, since they are the authority the records point back to.
Vendor-specific binary stores, proprietary session dumps and raw embedding vectors should be treated differently. They can be kept as an optional convenience for the current system, but they should never be the only export. When you do keep vectors, record the model name, the dimension, the chunking rule and the date of creation in the manifest, so anyone can tell whether a vector file is still valid.
Keep the export boring on purpose. Avoid compression schemes, encryption without a documented key process, and file names that encode meaning only the current team understands. The Model Context Protocol documentation describes how agents connect to tools and data sources through shared interfaces, and the same discipline applies to memory: the less a file depends on one runtime, the longer it remains useful.
A step-by-step plan for exporting agent memory
The plan below works for a single agent and scales to several. It assumes the agent already has a defined role, because memory is only worth exporting when someone has decided what the agent is for.
- Inventory the stores: list every place where the agent's facts live, including indexes, notes, transcripts and configuration screens.
- Separate facts from conversations: mark which items are reviewed statements and which are raw logs that produced them.
- Assign an owner to each entity group, so every exported record has a person accountable for it.
- Convert the reviewed facts into the record format described above, keeping the source reference on every line.
- Copy the source documents in their original format into the same export folder, with their versions.
- Write the manifest: the export date, the agent version, the models involved, the record count and the access rules.
- Export a checksum or record count for each file, so a later reload can confirm nothing was lost.
- Store the export in a location with a defined retention period and a named administrator.
- Run a reload into a separate environment and compare the results with the agent's current answers.
Illustrative scenario: a support team uses an agent to answer questions about warranty terms. The team exports the warranty policy as Markdown with its version, a set of fact records that point to the policy sections, and a manifest naming the embedding model used for the search cache. Months later, the company changes its model provider. The reload restores the policy and facts immediately, and the index is rebuilt from the same files without asking the support lead to re-enter anything.
The final step is the one most teams skip. An export that has never been loaded is a hope, not a backup. Schedule the reload, decide who signs off on it and record the result in the same manifest.
How do you test that an export reloads correctly?
A reload test checks three things: that every record can be read, that every fact can be traced to a source, and that the agent answers a fixed set of known questions in a way staff accept. Prepare the questions before the test, drawn from real tickets or real requests, and include a few that the agent should refuse or route to a person. Compare the answers with the answers from the current system and note every difference, even the ones that look harmless.
For the test design itself, Memory Test Cases for Superintelligent Agents: Recall and Forgetting describes how to cover both recall and deliberate forgetting. The NIST AI Risk Management Framework is a useful reference for documenting these checks as part of an ongoing risk practice, since a reload is also a change that affects what the agent can do. A restore drill that runs on a schedule turns this from a one-time project into a habit, and Superintelligence Memory Restore Drill: Prove Your Backup Works gives a concrete procedure for it.
What changes when the memory layer is managed
Be Human designs and operates the memory layer for each agent so that records are exported on a defined schedule with a manifest, owners and source references already attached. The managed service includes permission review, so the access scopes in each export match the current approval boundaries, and it includes recurring reload tests in a separate environment. When a model or vendor change is planned, the operating team uses the latest export and the reload results to decide the order of the switch, and it keeps the previous export available for rollback. The company keeps the records, the manifests and the decision history, so the gains from the agent stay with the company rather than with any single platform.
Deciding which memory to protect first
Not every fact deserves the same care. Start with the memory that would cause real harm or real delay if it disappeared: pricing rules that staff must apply exactly, approval thresholds, service commitments and the names of people who own each process. Facts that change weekly, or that exist only as a convenience, can wait. Write down which entity groups matter most, assign their owners and export them before any planned change. For guidance on separating the memory that must persist from the memory that should expire, see Memory Expiry for Superintelligent Agents: When Old Facts Should Lapse. If you are not sure which memory is worth protecting first, the free Be Human AI diagnostic helps you find the first task worth handing to an agent.
Frequently asked questions
Can I move agent memory to another model by exporting the vectors? Raw vectors from one embedding model usually cannot be used by a different model, so exporting them alone is not a portable plan. Keep the source documents and reviewed fact records as the primary export, and treat vectors as a cache that can be rebuilt from those sources. Record the model and settings used so the rebuild is predictable.
What should a memory export include besides the facts? A complete export includes the records with owners, sources and dates, the original documents in their native format, a manifest describing the models, versions and access rules, and a record count or checksum for each file. Without the manifest, a later team cannot tell whether the export is complete or which version of a policy it reflects. Include the approval history as well, so the reason for each fact remains visible.
How often should we test whether an export reloads? Test after every significant export and on a regular schedule that matches how quickly your facts change. Teams with frequently changing policies usually test more often than teams with stable reference material. Each test should be recorded in the manifest with its date, the environment used and any differences found, so the history itself is part of the company's records.
Does portability mean we can switch vendors at any time? Portability reduces the cost of a switch but does not remove every dependency, because the new platform still needs configuration, integrations and testing. What portability guarantees is that your facts, sources and decisions remain in a form you control. The switch becomes a planned operation with a known starting point rather than a rebuild from memory.
Your next step
See where an AI agent fits in your company first.
Take the free Be Human AI diagnostic. A few questions about your work show which task to hand to an agent first, what it needs to know and where a person approves.
Be Human editorial guidance. Examples are illustrative unless explicitly attributed. Sources provide background; implementation choices depend on your workflow.


