Skip to content

Agent Rollback

The Refact.ai Agent provides a powerful rollback feature that allows you to revert your repository to the state it was in at any specific point in your chat conversation. This feature is particularly useful when experimenting with different solutions or when you need to undo a series of changes.

Overview

The rollback functionality enables you to:

  • Return to any previous state in your development session
  • Review changes before applying the rollback
  • Maintain a clear history of your development process

Enabling Rollback

The rollback feature is enabled by default in Agent chat mode. However, you should verify that the toggle is properly set:

Using Rollback

To rollback to a specific point in your conversation:

  1. Navigate to the message you want to rollback to in the chat history
  2. Look for the rollback icon next to the message
  3. Click the icon to initiate the rollback process
  4. Review the summary of changes that will occur
  5. Confirm the rollback if you agree with the changes

Here’s how to use the rollback feature:

Important Considerations

Next Steps

  • Learn about Agent Tools to better understand how changes are made
  • Explore Agent Integrations for enhanced development workflow
  • Check out the FAQ for common questions about Agent features