Step 32 of 36 · Strategy · optional
Avoiding lock-in, within reason
Some lock-in is the price of moving quickly. Decide which switching costs you accept and which you design out.
You will depend on suppliers. The question is where dependence is cheap to accept and where it could hurt.
List what would be hard to move: prompts tuned to one model's habits, proprietary agent frameworks, fine-tuned weights you cannot export, history and embeddings held by a vendor, workflows built inside one tool. Estimate the switching cost of each and compare it with the cost of avoiding it. Often accepting it is right.
Protect the few things that matter. Call models through a thin interface of your own. Keep evaluations, prompts and data in your systems, in open formats. Prefer open standards where they exist. Negotiate export and exit terms at signing. The mistake is a heavy abstraction over every vendor: that is lock-in to your own framework, with fewer maintainers.
Try this week
- List your five largest AI dependencies and write down the switching cost of each and what would trigger a move.
- Check that prompts, evaluation sets and logs for one feature are stored in your own systems in a portable form.
Signs you've got it
- You have moved one workload between models or vendors as a rehearsal.
- Contracts include data export and exit terms that someone on your side has read.
Resources
- articleDon't get locked up into avoiding lock-in (opens in a new tab)Gregor Hohpe
- articleBuilding A Generative AI Platform (opens in a new tab)Chip Huyen
- articleChoose Boring Technology (opens in a new tab)Dan McKinley
- guideThe Open Source AI Definition 1.0 (opens in a new tab)Open Source Initiative