How do versions work in Agent Studio?#
Every agent has a draft you edit freely and a ledger of saved versions: v1, v2, v3, newest first. A saved version is immutable. It carries your label, the time you saved it, and a count of pins when it depends on a specific version of a subflow. Saving the exact same graph twice hands back the existing version instead of making a duplicate, so the ledger stays clean.
| Stage | What it holds | How it gets there |
|---|---|---|
| Draft | Your edits in progress, shown as Editing | Every change in Guided, Studio or Code |
| Test | One saved version, ready for test runs | Promote to Test on a saved version |
| Live | The exact version that passed Test | Type PROMOTE LIVE, then Promote to Live |
- 3 stagesDraft, Test and Live, shown on the agent's rail
- 2 fingerprintsa semantic hash for what the agent does and a full hash for the whole saved graph
- $0to save, review, restore or promote a version
How do I save and compare a version?#
Save a checkpoint and see what changed
Step 2: Press Save version
Open the Versions panel and press Save version. The new version appears at the top of the ledger with its number and time.Step 3: Review any version
Select a version row to open Review. It compares that version with the one before it and counts what was added, removed and changed, step by step and field by field.Step 4: Spot layout-only edits
Moved cards around without changing behavior? The review says Layout-only change, so you know nothing about how the agent runs is different.
How do I roll back to an earlier version?#
Open the version in Review and press Restore to draft. That version goes back onto the canvas as your draft. Changed your mind? Undo brings your previous draft straight back. Rolling back the draft never touches what is running in Test or Live.
How do I promote a version from Test to Live?#
Promote it to Test, run it, then confirm it for Live. Live only accepts the version that is active in Test, so what customers get is always something you already ran.
Ship a version safely
Step 1: Promote to Test
In Review, press Promote to Test. Promotion points Test at that exact version; it does not run anything by itself.Step 2: Run your tests
Run free dry runs, then a few passes with Run for real to check real model output. See Test your agent free.Step 3: Confirm for Live
Open the same version in Review, typePROMOTE LIVEin the confirmation box, and press Promote to Live.Step 4: Watch the first runs
Open runs
Does saving a version cost anything or change my live agent?#
No on both counts. Saving a version never deploys, launches, runs a model or calls an outside app. It is a free checkpoint. Only a promotion to Live changes what customers get.
Developers see the same history in the Code view, which shows the latest saved version with its number, schema, full hash, semantic hash and dependency pins next to the draft source.