Agent versions

Work on a draft of your agent without affecting customers, publish when it is ready, read the version history and restore an earlier version.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

Versions let you change an agent safely. Edits go into a draft. Customers keep talking to the published version until you publish the draft. If a release goes wrong, you restore an earlier version.

Open the agent and select Settings > Versions.

Draft and published

Version Who uses it
Draft Your team, in the Playground and tests.
Published Customers, on every channel.

A version records the agent's configuration: procedures, behavior, guardrails, model, actions and settings. In this list, a status of draft or live matches the agent status in the API.

Publish a draft

  1. Make your changes in Build, Actions or Settings. They save into the draft.
  2. Open Test > Tests and run your tests.
  3. Open Settings > Versions and review Changes since published.
  4. Select Publish.
  5. Add a short Note describing the change, for example "New refund procedure".
  6. Confirm.

You should see a new entry at the top of the history with your name, the time and the note.

What is versioned

  • Procedures, behavior and guardrails.
  • The model.
  • Actions and their settings.
  • Initial and suggested messages.

Sources are managed separately. Adding or removing a source takes effect when it is trained, not when you publish. See data sources.

Read the history

Each version in the list has a number, a date, the person who published it and the note. Select one and choose View changes to see what differed from the version before it: added or edited procedures, changed settings and so on.

Tip: Write notes for the person who has to find a problem in three months. "Changed refund window" beats "Update".

Restore an earlier version

  1. Open Settings > Versions.
  2. Select the version you want.
  3. Choose Restore as draft.
  4. Check it in the Playground.
  5. Select Publish.

Restoring puts the old configuration into the draft. It does not change the live agent until you publish, and it keeps the history, so you can go forward again.

Who can publish

Owners, Admins and Members can edit drafts. Publishing requires Owner or Admin by default. Viewers can read the history. Workspace roles are in Manage your workspace.

Experts and changes

When an expert or a teammate edits the agent, their changes sit in the draft until someone with permission publishes. Backstage works the same way: it proposes changes, and you approve them. See approvals and auto mode.

Something unclear or missing? Tell us and we will fix the page.