What a Version Captures
Each version is a snapshot of the entire definition:- System prompt
- Model and planning mode
- Tools (including agent-as-tool references) and skills
- Inputs and acceptance criteria
- Structured-output schema and tags
- Triggers
When a New Version Is Recorded
Cotool appends a version whenever the agent’s definition changes:- Editing the system prompt
- Accepting an AI-suggested improvement
- Creating, editing, or deleting a trigger
- A change applied by Response Agents as Code sync (tagged with the source commit)
Viewing and Comparing Versions
Agent versions are visible in two places:- When editing an agent — open the version dropdown to browse history, diff any two versions, and Export as YAML for the current definition.
- On the Evaluations tab — the per-version breakdown is labeled by version (
v1,v4, …) so you can see which version produced each run and compare performance across versions.
Restoring Previous Versions
If a new version performs worse, you can restore an earlier one:- Open the agent’s version history
- Select the version you want to restore
- Click Restore
A → B → restore-to-A is three entries, not a rollback of the timeline). It also reconciles the agent’s triggers back to that version: recreating, updating, or deleting them to match, minting fresh webhook secrets where needed, and resolving Slack/Linear integrations. A trigger whose integration isn’t connected is skipped rather than failing the restore.
The agent immediately uses the restored definition for all new runs.
For agents managed by Response Agents as Code, the version history shows synced and manual changes together in one timeline. Since managed agents are read-only in the UI, you roll them back by reverting the change in Git.