Agent Review and Versions
Every saved change to an Enterprise Agent is kept as a version, so you can see who changed what and bring back an earlier version. An admin can also require that changes wait for a reviewer before they go live.
Versions
The agent editor's Versions card lists every version of the agent, newest first. Each shows:
- its number, such as Version 3;
- its status: Live, Draft, In review, Sent back, or Earlier for a version that was live before;
- who saved it and when, and who approved it, when review is on;
- the author's note and the reviewer's note, if any.
Restore an earlier version
Click Restore on an Earlier version and confirm. The agent's name, base model, instructions, knowledge, tools, capabilities and parameters return to that version. Who can use the agent doesn't change.
- Without review, the restored version goes live at once, as a new version noted "Restored version …".
- With review on, it becomes your draft, to test and submit like any other change.
Restore is shown to people who can edit the agent.
Review before going live
Turning it on (admins)
In Admin › Settings › Models, turn on Review before Enterprise Agents go live. It is off by default. Then choose Who reviews:
- Admins only; or
- Admins and a group you choose. The group's members find the Review Queue in their Dashboard while review is on, even if their group doesn't grant it otherwise.
Review applies to changes by people who aren't admins. An admin's changes go live when saved, and are kept as versions.
Changing an agent while review is on
- Make your changes in the agent editor and click Save draft. The live agent keeps working unchanged, and a banner at the top of the editor says you are editing a draft. When you come back, the editor opens your draft.
- Run the agent's tests. They run on the draft. See Agent Tests.
- Click Submit for review in the banner, and add a note for the reviewer if you like.
Submit for review works only when:
- the draft is saved;
- its latest test run reaches the agent's Pass bar (80% by default), and was run on the draft as it is now;
- if the agent requires it, every security test passed on the draft.
If something is missing, Studio says what, for example "The tests passed 60%; 80% is needed." An agent needs at least one test before a change to it can be submitted.
While a change is In review, it can't be edited. Click Withdraw to take it back and change it. Discard draft, at any stage, drops your changes and leaves the live agent as it is.
If a reviewer sends the change back, the banner shows Sent back with the reviewer's note. Change the draft, run the tests again and submit it again.
When the live agent changed after your draft
An admin's changes go live when saved, even while your draft waits. If the live agent changed after your draft was started, the banner and the Review Queue say so: approving the draft would replace that change. To keep it, discard your draft and make your change again on top of the live agent.
When review is turned off
Drafts that are waiting stay where they are. Reviewers can still approve them or send them back, and their authors can discard them from the banner. New saves go live at once.
A new agent
An agent created while review is on stays private to its creator until a reviewer approves it, and can't be shared before then. Submit it for review as above. Once it is approved, share it from Access.
Reviewing a change
Reviewers open Dashboard › Review Queue › Enterprise Agents. Each change shows the agent, its version, who submitted it and when, the result of its tests (for example Tests: 5 of 5 passed) and the author's note. A warning shows when the live agent changed after the draft was started.
- Open opens the agent's editor in a new tab.
- History lists the agent's versions and what happened to each.
- Approve puts the change live at once. A note is optional.
- Send back returns the change to its author. Say what needs to change: the note is required.
A reviewer who isn't an admin can't approve their own change.
Audit
Each submission, approval, sending back and restore, and each test run, is recorded in Admin › Trust › Audit log, with who did it and when.
Limits
- An agent has one draft at a time.
- Review covers the agent's settings. Changes to who can use an agent aren't reviewed, except that a new agent can't be shared until its first approval.
- Changes to the base models themselves, in Admin › Settings › Models, aren't reviewed: only admins make them.