# Drafts, publishing and versions

> Change your agent safely in a draft, publish when ready and restore an older version if needed.

Source: https://help.askmavis.co/help/drafts-publishing-and-versions  
Collection: Your AI agent  
Last updated: 2026-12-05

Changes to your agent go into a **draft** first. You can test the draft in the Playground while customers keep talking to the live version. When you're happy, publish.

## What goes into the draft

- Instructions, guardrail rules, temperature and the AI model
- Appearance and welcome messages
- Actions, procedures and reply buttons
- The lead form and handoff settings

Some settings save right away and aren't part of versions: training content, install, security and the shareable chat page.

## See what's changed

The bar at the top of your agent shows **Unpublished changes** when the draft differs from the live version, and **Live: v** with a number for the version customers see. Open **More publishing options > View pending changes** to see each change.

## Publish

1. Click **Publish**.
2. Optionally add a description, like "Shorter answers about refunds".
3. Confirm. Visitors get the changes right away, and they're saved as a new version.

## Save a version without publishing

Use **More publishing options > Commit version** to save the draft as a version without making it live. You can publish it later or restore it from the history.

## Discard changes

**More publishing options > Discard changes** puts every setting back to the live version. This can't be undone.

## Restore an older version

1. Open **More publishing options > Version history**.
2. Pick a version. Use **Compare with** to see what it changed, or what restoring it would change.
3. Click **Restore** and confirm.

The restored version goes live right away and is saved as a new version. Any unpublished changes are discarded. The newest 100 versions are kept.
