← home
RESEARCH · GOVERNANCE

Lock-in is an architecture decision.

August 16, 2026

By the LLM CFO team

Finance leaders are rarely asked to have an opinion about an agent framework, and mostly they should not have one. But there is a single question inside that decision with a direct line to the P&L: when a cheaper model appears, is switching to it a config change or a rewrite? DeepSeek's newly published open-source harness is a useful case study, because it answers that question deliberately.

What was published

DeepSeek AI released deepseek-harness (dsh), an MIT-licensed harness for running coding and automation agents. Its design premise is that everything is a plugin. It runs on Cordis, a plugin runtime in which plugins contribute services, typed events, and reversible effects to a shared context. There is no privileged core: model adapters, tool registries, session logs, and even the agent loop are plugins.

Why that is unusual

Most extensible systems offer a fixed core plus hooks. You can observe and decorate; you cannot replace. Replacing means forking, and a fork is a permanent maintenance liability that quietly shows up in engineering cost rather than AI cost. A plugin runtime inverts the default: the pieces you would want to replace are the units of composition.

The four substitutions that map to money

SeamWhat it swapsCost lever
ctx.llmModel providerRoute cheap work to cheap models
ctx.fsWhere files liveLocal, sandboxed, or remote execution
ctx.sandboxExecution policyContain and meter what runs
ctx.subagentsDelegation transportControl the orchestration multiplier

Each of these is what the harness calls a capability seam: an interface with an owner package, multiple implementations, and consumers that never learn which implementation is live. The model seam already ships several backends, including a replay implementation that re-runs a recorded session without paying for inference again.

The test: ask your team what it would take to move 40% of agent traffic to a cheaper model tier. If the answer is measured in sprints rather than a config review, the harness is the reason, and it will be the reason again next quarter.

Why this compounds

Model pricing has moved downward repeatedly, and cheaper tiers keep appearing beneath the frontier. Every one of those is a savings opportunity with an expiry attached to how fast you can adopt it. Teams whose harness treats model choice as a configuration row capture those cuts almost immediately. Teams whose harness bakes model choice into application code capture them a quarter or two later, if at all, because the work competes with the feature roadmap and usually loses.

The gap is not visible on any single invoice. It shows up as a persistent spread between what your agents cost and what they could cost, and it widens every time the market moves.

What to ask for

  1. A named model routing layer. Not scattered provider calls. One place where routing policy lives.
  2. A recorded switching cost. How long, in engineering days, to change the default model. Track it as a number.
  3. Execution location as a choice. Whether tools run on a developer laptop or a metered remote sandbox should be policy, not an accident of how the code was written.
  4. No forks. If your team has forked the harness to change behaviour, that is a standing cost you are paying to keep an option you already lost.

The honest caveat

DeepSeek Harness is a developer preview and its own documentation warns that there will be compatibility-breaking changes. This is not a recommendation to standardise on it this quarter. It is a recommendation to use it as the benchmark when evaluating what you already run.

Related

← Back to llmcfo.com

FAQ

What is DeepSeek Harness?

DeepSeek Harness (dsh) is an MIT-licensed open-source agent harness from DeepSeek AI, built on the Cordis plugin runtime. Model adapters, tool registries, session logs, and the agent loop are all replaceable plugins rather than a fixed core.

Why does agent architecture affect AI cost?

The main cost levers in an agent system are substitutions: routing to a cheaper model, moving execution to a cheaper sandbox, or replacing a subagent transport. If those are hardcoded, each becomes an engineering project. If they are pluggable interfaces, each is a configuration change.

What is a capability seam?

A capability seam is a service interface with more than one implementation. The owner package declares the interface, provider packages implement it, and consumers call it without knowing which provider is active. In DeepSeek Harness the model, filesystem, sandbox, and subagent services are all seams.

Should a CFO care which agent harness engineering picks?

Yes, at the level of one question: can we change model providers without a rewrite. The answer determines whether next year's price cuts and cheaper model tiers are savings you can capture or savings you can only read about.