An agent that calls the latest model with the latest prompt will change behaviour whenever the provider or the team changes something, and the change will show up as a mystery regression. Pinning the model version and the prompt version makes every change deliberate: a new version is tested against the golden tasks first, and only then becomes the new pinned version.
Before you start
An agent configuration where the model and prompt can be set by name and version, and a golden task set to test changes.
Record the versions in use now
Write down the exact model id, the prompt version, the tool list version, and the eval platform version the agent runs today. A model named latest is not a version: it is a moving target.
Keep the record with the agent configuration, so anyone can see what is running without asking.
Pin the versions in the configuration
Set the model id and the prompt version explicitly in the configuration, and refuse to start if either is missing. A pinned version that is not enforced is a note, not a pin.
Pin the tool versions too when the tools are versioned: a tool update can change the agent’s behaviour as surely as a model update.
Change one version at a time, with a test
When a new model or prompt version appears, test it against the golden tasks before you pin it. Change one version at a time: a new model and a new prompt together make a regression impossible to attribute.
Record the change with the date, the old version, the new version, and the eval scores before and after.
Practice check: fictional Maple Corner agent, model and prompt versions
The table below is fictional practice material, worked out by hand from the stated versions. It is the expected result for the practice agent, not a run of any system.
| Component | Pinned version | Tested | Verdict |
|---|---|---|---|
| Model | model-2026-11-01 | Golden set 5 of 5 | Pass |
| Prompt | prompt v7 | Golden set 5 of 5 | Pass |
| Tool list | tools v3 | Golden set 5 of 5 | Pass |
| New model test | model-2026-11-15 | Golden set 4 of 5 | Fail – not pinned |
The current versions all pass the golden set. The new model version scores only 4 of 5, so it is not pinned: the change waits until the regression is understood.
Expected result. UNTESTED: the versions in the practice table are worked out by hand, not measured by running an agent. Record the exact model and prompt versions your own agent runs, pin them in the configuration, and test any new version against the golden tasks before you adopt it.
Limits
- A model named latest is not a version: pin the exact id.
- Change one version at a time, or a regression cannot be attributed to its cause.
