How to Rollback to a Previous Version of Agents

Validated on 24 Mar 2025 • Last edited on 8 Jul 2025

GradientAI Platform lets you build fully-managed AI agents with knowledge bases for retrieval-augmented generation, multi-agent routing, guardrails, and more, or use serverless inference to make direct requests to popular foundation models.

You can rollback to a previous version of an agent to undo changes made to it or if the current version is not working as expected.

To rollback to a previous version of an agent from the control panel, click Agent Platform from the left menu, then select the agent you want to rollback. From the agent’s Overview page, click Activity tab.

The Activity tab displays a list of all previous versions of the agent. You can only rollback to a previous version of an agent if its knowledge bases, agent routes, function routes, and guardrails remain available. For example, if you want to rollback to a previous version of an agent, but have since deleted that version’s knowledge bases, you cannot rollback to that version.

Select the version you want to rollback to and click Rollback Version. The control panel displays a comparison of the current and previous version’s settings, including its agent instructions, semantic search rules, and knowledge bases.

Once you’ve reviewed the changes, click Rollback Version. The previous version of the agent is deployed and the current version is archived. The redeployed agent uses a new hash that is different from the previous version.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.