# How to Rollback to a Previous Version of Agents on DigitalOcean Gradient™ AI Platform DigitalOcean Gradient™ AI 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. 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. **Note**: [Agents deployments using the Agent Development Kit](https://docs.digitalocean.com/products/gradient-ai-platform/how-to/build-agents-using-adk/index.html.md) only include deployment timestamps and statuses, and have releases instead of versions. Automated rollback to a previous version is not available. To revert to a previous release of an agent deployment, you can re-deploy the agent code for that release to your environment. To rollback to a previous version of an agent from the [DigitalOcean Control Panel](https://cloud.digitalocean.com), click **Agent Platform** in the left menu, then in the **Agent Workspaces** tab, select the workspace that contains the agent you want to roll back. From the workspace’s **Agents** tab, click the agent, and then from the agent’s **Overview** page, click **Activity** tab to view a list of all previous versions of the agent. 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.