MSTRMND
All insights
Agentic systems · 5 min read

A model swap is a deploy.

Changing the model behind an agent changes its behavior as surely as changing its code, so we pin, evaluate, stage, and roll back model swaps like any production release.

Most teams would never push a code change to production without a review, a test run, and a way back. The same teams will change the model behind an agent by editing one string in a config file. The diff is a single line. The behavioral change can touch every task the agent performs.

We hold that models are interchangeable, and we design the operating layer so that no single provider is load-bearing. Interchangeable does not mean equivalent. Two capable models will follow the same instructions differently, call tools in a different order, and fail in different places. Swapping one for the other is a release, and we treat it like one.

The model is part of the build

An agent's behavior comes from several inputs: the instructions, the tool definitions, the memory it loads, the harness that runs it, and the model that reads all of it. Change any one and the output changes. Teams version the first four in source control and treat the fifth as an environment detail.

We put the model identifier in the same place as everything else that shapes behavior. It is pinned to a specific version, not a floating alias that a provider can update underneath us. It is reviewed in the same change as the prompts it was tested against. When someone asks why an agent acted differently last week, the answer should be visible in the history, not reconstructed from a provider's release notes.

Drift hides in the boring paths

The failures that follow a model swap are rarely dramatic. The new model is usually as capable on the headline task. What changes is the texture:

  • It reads a tool description more literally, or less literally, and passes arguments the old model never sent.
  • It is more willing to act without asking, or more hesitant, which moves the point where approval gates fire.
  • It formats structured output with small differences that a downstream parser rejects.
  • It handles a long context differently, so instructions near the start carry less weight.

None of these show up in a quick manual check of the main flow. They show up in the edge cases, the long-running tasks, and the handoffs between agents. That is where we look first.

Evals are the regression suite

A model swap needs something to compare against, and that something is a set of recorded tasks with known good outcomes. We treat evals as regression tests for behavior. Each one captures a real situation the agent must handle: a tool call with a tricky argument, a request that should stop at an approval gate, a document that contains instructions the agent must not follow, a task that requires reading memory before acting.

The useful evals are the ones that check decisions, not prose. Did the agent call the right tool? Did it stop where it was supposed to stop? Did it decline the action that untrusted content asked for? Wording will always differ between models. Decisions should not.

When a candidate model fails a case the current model passes, that is a finding, not noise. Sometimes the fix belongs in the prompt or the tool definition, which makes the whole system less dependent on one model's habits. Sometimes the candidate is simply not ready for that role.

Stage the rollout

We do not move every agent to a new model at once. A swap starts with one role, often a low-risk one such as research or drafting, where the output is reviewed before it goes anywhere. Roles that send, spend, or delete move last, after the new model has a record on the work around them.

Routing makes this practical. When the harness chooses a model per role rather than per deployment, a team can run the new model on one lane while the rest of the system stays on the version it was tested with. Traces from both lanes can be compared on the same kinds of tasks, which turns a judgment call into an observation.

Keep a way back

Every release needs a rollback, and a model swap is no exception. The previous version stays pinned and available until the new one has earned its place. Reverting is a config change that goes through the same review as the original swap, not an emergency edit made under pressure.

Rollback has one more requirement that code deploys do not: the prompts and tool definitions must still work with the old model. If a team tunes instructions heavily for the new model, the old one may no longer be a safe fallback. We keep the shared instructions portable and isolate model-specific adjustments, so either version can run the same contract.

Approval does not move with the model

One thing stays fixed across every swap. The gates that require a human to approve an irreversible action belong to the harness, not to the model. A new model may be more or less inclined to ask before acting. That inclination is useful, but it is never the control. The send, the purchase, and the deletion stop at the same gate no matter which model reached it.

This is what lets us change models with confidence. The layer that decides what an agent is allowed to do does not depend on which model is thinking.


Models will keep improving, and providers will keep shipping new versions. We want teams to adopt them quickly. The way to move quickly is to make a swap boring: pinned, evaluated, staged, reversible, and governed by gates that do not care which model is behind them. The model changes. The operating layer holds the line.

03—Let's talk

Ready to build what's next?

We're always open to new conversations. Let's create something exceptional together.

Start the conversation