Home/Guides/How locked in are you to your AI coding…
Guide · 5 min read

How locked in are you to your AI coding tool?

Switching cost in agentic tooling doesn't sit in the code. It sits in the accumulated context you'd have to rebuild.

Quick answer

Measure lock-in by what you would have to rebuild, not by what you would have to rewrite. Code and prompts port easily. What does not port is the accumulated context: instruction files tuned over months, conventions the tool learned, workflows built around its particular quirks, and the team's muscle memory. That cost compounds quietly a…

Ask a team how hard it would be to switch AI coding tools and you will usually get an answer about code: "Not hard, it's just an editor, the repo doesn't change."

That answer is right about the code and wrong about the cost.

The cost is context, not code

What a team accumulates around an agentic tool, over months, is not source code. It is context:

None of that is in version control in a form another tool can read. Some of it is in nobody's head in an articulable form at all — it is habit. And habit is the expensive part, because it has to be rebuilt by experience rather than by copying a file.

Why it stays invisible

Lock-in of this kind accumulates in increments too small to notice. Nobody decides to become dependent. Somebody adds a rule to an instruction file because the agent keeps making a mistake. Somebody builds a script around the tool's output format. Somebody stops writing a certain kind of documentation because the agent infers it.

Each step is locally correct. The sum is a workflow that only functions with this tool in the middle of it — and the discovery happens at the worst time, when pricing changes, when a capability regresses, or when a better option appears and the team cannot take it.

Measure it before you need to

The useful exercise takes an afternoon and is worth running quarterly. For each category, ask: if this tool were unavailable on Monday, what would it cost to be productive again?

Add it up in days. The number is usually larger than expected, and its size is not the point — knowing it is.

Reducing it without giving up the tool

The goal is not portability for its own sake. Refusing to use a tool well in order to stay free of it is a bad trade. The goal is keeping the expensive parts in forms that travel:

The number that matters

Not "could we switch" — you always could. The question is how many days of degraded output a switch would cost, and whether you would accept that number if a materially better option appeared tomorrow. If the answer is no, you are not choosing your tool any more; it is choosing for you.

Frequently asked questions

Isn't some lock-in just the price of using a good tool?
Yes, and paying it deliberately is fine. The problem is paying it accidentally: teams rarely decide to become dependent, they simply accumulate dependence and discover it at the worst moment, when the tool changes its pricing or its behaviour.
What travels between tools and what doesn't?
Plain-text instruction files, documented conventions and tests travel well. What doesn't: workflows built around a specific tool's UI, prompt phrasing tuned to one model's quirks, and anything living only in a proprietary format or a chat history.
How often should this be checked?
Whenever your usage of the tool changes shape — a new workflow, a new team adopting it, a big investment in its config. Those are the moments the cost steps up, and the only moments when adjusting it is cheap.

Related skill

AI Harnesses

Detecting Harness Lockin

Identifies and quantifies the compounding switching cost of an AI coding agent harness commitment before it becomes inv…

Turn this guide into a skill your agent can run

Stop re-explaining the same workflow. Loreto packages it as a Claude Code skill from any source.