Personalized AI infrastructure
How to Avoid AI Vendor Lock-In With Business Agents
Learn which parts of an AI agent setup create vendor lock-in, and the contract and architecture choices that keep your options open.

AI vendor lock-in happens when your agent's memory, instructions, tool connections and test history live in formats that only one provider can read. You avoid it by keeping those assets in systems you own, placing a thin layer between your workflow and any single model, and writing exit terms into the contract before you sign. The model itself is usually the easiest part to replace. The switching cost builds up in everything around it.
Key takeaways
- Lock-in rarely comes from one big decision. It accumulates through small conveniences that cannot be exported later.
- The model is the most replaceable layer. Memory, tool connections, permissions and evaluation history are the hardest to move.
- Contracts should cover ownership, export format, deletion, training use, change notice and handover help, not only service levels.
- Plain-text instructions, open tool standards and a test set you own make a change of provider a managed project instead of a rebuild.
- Test your exit before you need it, while the relationship is still good and nothing is urgent.
Where does AI vendor lock-in actually come from?
Most teams picture lock-in as a contract that traps them. In practice it is usually technical and operational. Each convenience feature saves time on the day you adopt it, and each one quietly adds a dependency. The problem is not using a vendor's features. The problem is being unable to take the result of that work with you.
These are the most common sources in a business agent setup:
- Memory stored inside the provider's product, with no way to read it as plain records or export it.
- Instructions written in a syntax, template system or configuration screen that only one platform understands.
- Tool connections built with a proprietary connector format, so every integration must be rebuilt elsewhere.
- Evaluation results, logs and traces that sit in a vendor dashboard and disappear with the account.
- Credentials and permissions granted to the vendor's account instead of an account your company controls.
- A fine-tuned model that exists only on one platform, trained on data you cannot easily reproduce.
- Contract terms that make leaving slow: long minimum commitments, unclear deletion, or fees for retrieving your own data.
Notice that only one item on that list is about the quality of the AI model. The rest is about where your company's work gets stored and who can reach it.
Which layers of an agent setup are easy to swap, and which are not?
It helps to separate the pieces. The difference between a model, an agent and a harness matters here, because each layer has a different switching cost.
The model is the reasoning engine. If your workflow calls it through a narrow interface, replacing it is mostly a matter of testing. The harness is the surrounding system: how instructions are assembled, which tools are offered, how errors are handled, where approvals happen. If you own or can read the harness, you can move it. If it is a closed feature of a platform, you cannot.
Then come the layers that carry your company's accumulated work:
- Memory and knowledge: what the agent has learned about your clients, decisions and procedures.
- Tools and integrations: the connections to your CRM, calendar, inbox, messaging channels and documents.
- Permissions: who the agent acts as, and what it may read, draft or send.
- Evaluations: the examples and checks that prove the agent still does the job.
- Operating history: logs, incidents, approvals and corrections.
A useful rule: the more of your own business context a layer contains, the more carefully you should control where it lives. Models are generic and replaceable. Your memory, your permissions and your test cases are specific to you, so they should never be held only by someone else.

What should the contract say about leaving?
Contracts for AI services often focus on uptime and support response. Those matter, but they say little about portability. Before signing, ask for explicit language on the following points, and have your legal counsel review the final wording.
- Ownership: your data, instructions, configurations, outputs and any memory derived from your information belong to your company.
- Export: the vendor will provide all of the above in a documented, readable format, including memory, logs, evaluation sets and tool configurations, within a stated period after you ask.
- Deletion: when the relationship ends, your data is deleted, including from backups and subprocessors, and the deletion is confirmed in writing.
- Training use: your data is not used to train models for others unless you agree in writing.
- Change notice: you receive advance notice of model retirements, behavior changes, pricing structure changes and new subprocessors, with time to test before they take effect.
- Credentials: accounts, API keys and integrations are created in your company's name wherever possible, so access does not depend on the vendor's goodwill.
- Handover help: the vendor will support a reasonable transition, including documentation of how the system is configured.
- Data location and subprocessors: you know where data is processed and who else touches it.
None of these clauses assumes bad intent. They simply turn a vague expectation into something both sides can check. A vendor who is comfortable with this list is usually one who has already thought about it.
Which architecture choices keep your options open?
Contract language only helps if the system is built so that leaving is technically possible. These choices do most of the work.
First, keep a source of truth outside the agent. Product details, policies, client records and procedures should live in systems your team already maintains, and the agent should read from them. This is the idea behind giving an AI agent a reliable source of truth. Knowledge that stays in your documents and is retrieved when needed travels with you. Knowledge baked into a fine-tuned model does not. For most business knowledge, retrieval is also easier to update and audit, a tradeoff described in the [AWS comparison of retrieval and fine-tuning](https://docs.aws.amazon.com/prescriptive-guidance/latest/retrieval-augmented-generation-options/rag-vs-fine-tuning.html).
Second, store memory as readable records. If the agent remembers that a client prefers morning calls, that fact should be a line in a file or database you can open, not an opaque state inside a product.
Third, write instructions as plain text under version control. Keep model-specific tuning in a small, clearly marked section so that a change of model means editing a few lines, not rewriting the whole agent.
Fourth, connect tools through open standards where they fit. The Model Context Protocol, introduced in the [MCP documentation](https://modelcontextprotocol.io/docs/getting-started/intro), exists so that tools can be exposed to different AI applications through a common interface. Our guide to MCP for business agents explains where it helps and where a direct integration is still the better choice.
Fifth, put a thin adapter between your workflow and the model. Your workflow should ask for a task to be done, not call a provider's specific features throughout the code. When every model call passes through one place, switching providers means changing one place.
Sixth, own your evaluations. A golden test set of real tasks with known good outcomes is the single most valuable portability asset, because it lets you compare a new model or provider against the current one using your work, not a vendor's demonstration. Evaluation tooling from providers, such as the [OpenAI evals guide](https://platform.openai.com/docs/guides/evals), can help you run these checks, but the test cases themselves should stay yours.
How do you test your exit before you need it?
An exit plan that has never been exercised is a hope. You can test it in a small, calm project. Use this sequence:
- Inventory every component of the setup and write down where it is stored and who holds the credentials.
- Request a full export of memory, instructions, logs and configurations, and check that a person on your team can read them without the vendor's help.
- Confirm that integrations and accounts are registered in your company's name.
- Run your test set against a second model through the adapter layer and record where results differ.
- Operate the second model in parallel without authority, comparing its drafts to the current ones, as described in running an agent in shadow mode.
- List what broke or could not be moved, and decide which items to fix now and which to accept as known switching costs.
- Repeat the exercise on a regular schedule, and after any major change to the setup.
The goal is not to leave. The goal is to know, with evidence, that you could. That knowledge changes how renewal conversations go.
What does this look like in practice? An illustrative scenario
Illustrative scenario: a small professional services firm uses an agent to draft client follow-ups and propose updates to its CRM. Its provider announces that the model it relies on will be retired and that the replacement behaves differently.
The firm that skipped portability work faces a rebuild. Its instructions are tangled with one platform's features, its client memory is stored inside the product, and nobody kept a set of reference examples. Every follow-up now needs manual checking, and the team cannot tell whether the new model is better or worse.
The firm that prepared faces a testing task. Its instructions are plain text, its memory is a set of readable records, and its test set contains real follow-ups with approved outcomes. It runs the test set against the replacement and against an alternative, reviews the differences, runs the preferred option in shadow mode for a period, and then promotes it. The change is a planned project with a clear end, not an emergency.
Nothing about the second firm required predicting the future. It only required keeping its own assets in its own hands.
How does Be Human's managed approach handle lock-in?
Be Human designs, implements and operates personalized AI infrastructure in which the agent's identity, memory, channels, tools and permissions stay under human control. In practice that means the configuration is documented, the approval boundaries are written down, and recurring evaluations run against a test set tied to the role's success criterion. Managed operations cover monitoring, integration maintenance, permission review and controlled improvements. A managed service is itself a dependency, so the same questions in this article apply to us: ask what you can export, which accounts are in your name, and how a handover would work. If you are weighing options, the build, buy or managed decision framework is a useful place to compare what you would own in each case.
Frequently asked questions
Is some AI vendor lock-in unavoidable? Yes, some switching cost always exists, because any real integration takes effort to move. The aim is to make that cost known, bounded and affordable, not to eliminate it. If you can describe what a move would take and roughly how long it would need, you are in a good position.
Should we use several models at once to avoid lock-in? Not necessarily. Running multiple models adds testing, monitoring and maintenance work. A better first step is to design for the ability to switch, using an adapter layer and your own test set, and add a second model only when a specific task benefits from it.
Does fine-tuning increase lock-in? Often it does, because the tuned model usually lives on one platform and depends on training data you must keep and reproduce. For knowledge that changes, retrieval from your own documents is usually more portable and easier to review. If you do fine-tune, keep the training data, the process notes and the evaluation set in your own storage.
When should we run the exit test? Run it before you scale the agent's responsibilities, and again after major changes or before a renewal. Doing it early costs little because there is less to move, and it gives you evidence to use in negotiations. Waiting until a provider changes terms leaves you testing under pressure.
Be Human editorial guidance. Examples are illustrative unless explicitly attributed. Sources provide background; implementation choices depend on your workflow.


