---
title: "Revert agent run in a task | Netlify Changelog"
description: "Get the latest updates on Netlify products and features to meet your developer needs."
source: "https://www.netlify.com/changelog/revert-agent-run/"
last_updated: "2026-07-15T18:07:49.000Z"
---
Now you can revert to a previous agent run session within an Agent Runners task. This allows you to quickly dismiss changes from a new agent run session within the same task.

For example, if your first prompt included instructions for setting up Netlify forms and your second prompt added a phone number field, now you can quickly revert to your first agent run’s set of changes.

![Close-up of Agent Runners product UI showing a drop-down menu and the Revert to this run option](https://cdn.sanity.io/images/o0o2tn5x/marketing/43a539ac8dce225fb7f3dcf7f99666c8bf5a3fa4-748x496.png)

To revert to a previous agent run session, the following must be true:

-   For a given task, you have more than one agent run session (or we can say you have extended the task with a follow-up prompt)
-   No agent runs are still in progress for the task

Learn more about using [Agent Runners](https://docs.netlify.com/build/build-with-ai/agent-runners/overview/).