# Versions and rollback (/docs/agents/version-history-and-rollback)

> Every publish creates a version. Open History to see versions and make an earlier one live again without losing your current draft.

Type: how-to | Status: ga | Last reviewed: 2026-11-21 | Minimum role: builder

Every time you publish, Loopwix keeps a numbered snapshot of the agent. Version history lets you see what went live and switch back if something goes wrong.

<Screenshot src="/media/agents/version-history.png" alt="The History panel listing agent versions" caption="Version history" captured="2026-11-02" />

## How do I roll back my agent to an earlier version? [#how-do-i-roll-back-my-agent-to-an-earlier-version]

Select History in the agent toolbar to see every published version, then choose an earlier one to make it live again. Your current draft is never overwritten, so you can keep working on it. Every publish creates a new numbered version you can return to.

## See versions [#see-versions]

Select **History** in the toolbar. The **Version history** panel says "Choose which published version the live widget serves. Your draft is never overwritten." Each row shows:

- The version number, such as **v3**.
- A **Live** badge on the version customers see now.
- The **version note** you wrote when publishing, if any.
- When it was published.
- A **Make live** button on versions that are not live.

If there are none you see "No versions yet. Publish a draft to create the first one."

## What a version contains [#what-a-version-contains]

A version is a snapshot of the agent at the moment you published: its identity, instructions, attachments, escalation rules and website chat settings. Making an old version live brings that setup back for customers.

## Go back to an earlier version [#go-back-to-an-earlier-version]

1. In **Version history**, find the version you want.
2. Select **Make live**.
3. In the dialog **Make vN live?**, read: "The widget will switch to this version. Your current draft stays as-is and is not overwritten." Any version note is shown.
4. Select **Make live**. A toast says **Published vN**.

Your draft is unchanged, so you can keep working and publish a new version later. Choosing the version that is already live does nothing.

## Rollback and knowledge [#rollback-and-knowledge]

A version pins which knowledge items were attached and the versions of the tools and workflows it uses. Knowledge content has its own publish step; see [Knowledge](/docs/knowledge).

## Good habits [#good-habits]

- Write a **Version note** each time you publish so you know what changed.
- If something goes wrong after publishing, make the last good version live first, then investigate in your draft.
- Test the draft in [Test chat](/docs/agents/test-your-agent) before publishing again.

## Who can roll back [#who-can-roll-back]

Owners, Admins and Builders can publish and make versions live. See [Permissions](/docs/agents/permissions-for-agents).
