rollback
Rollback is restoring a system to a previous, still-functioning state when an update, modification, or incomplete operation caused an error.
In plain terms
Imagine rearranging your living room only to find the door no longer opens. If you photographed the room beforehand, you can restore everything to its original place. In the software world, a rollback is the same: reverting to a previous, proven state.
It is useful so that a bad update does not cause lasting trouble. If the new version freezes, slows down, or calculates incorrectly, the team does not start hunting for the bug in production. They first restore the old version, and only then investigate calmly.
In the AI era, the word has gained new significance. If a coding agent independently rewrites files or changes settings, the ability to revert is the safety net. Without it, the agent should only be trusted with small tasks. If reversion exists, experimentation can be bolder.
Unlike bug fixing: a rollback does not solve the problem, it only returns the system to where the problem did not yet exist.
How it works
- A save point is created: before the change, the system records the current state, for example by preserving the program's previous version, taking a snapshot of the database, or storing the prior version of files.
- The change goes live: the new version is deployed, data modification runs, or the agent performs the assigned operations.
- They monitor the outcome: humans or automated metrics check whether the number of errors has increased, whether the system has slowed down, and whether the data is correct.
- If something goes wrong, a rollback starts: the system switches back to the saved state. In a well-built system this takes minutes and often happens automatically.
- Next comes the lesson: the team identifies what went wrong, fixes it, and releases the corrected version again.
An everyday example
Your bank's online banking service updates, and the next morning you cannot log in. By noon it works again, but with the old look: the bank rolled back the faulty update on its own servers, meaning it performed a rollback. You see something similar when, in an AI assistant, you use the 'restore to previous checkpoint' button to undo an agent's latest changes.
Who is affected
A common misconception
Limits and risks
- Actions affecting the outside world (sending messages, payments, orders, deletions in other systems) generally cannot be undone, so the agent should request prior approval for these.
- Restoring a database can lose any data created between the backup point and the restore.
- A recovery plan that has never been tested often fails precisely when it is needed.
- A rollback buys time but fixes nothing: the cause of the error remains and may resurface in the next release.
Similar, but not the same
- backup – The backup is the saved copy itself, while rollback is the operation that restores the system to a previous state.
- bug fixing – Bug fixing moves forward with a new, corrected version, while rollback moves back to the old, working version.
- undo – Undo typically deletes a single user action within a program, while rollback restores the state of an entire system, release, or transaction.
Related concepts
version control, operations, risk management
transaction reversal, checkpoint, automatic rollback
A brief history
The term originates in database management: in transactional systems developed in the 1970s, an incomplete or faulty sequence of operations had to be reversible, which is what the SQL ROLLBACK command is for. From there it spread to software releases and then to undoing the work of AI agents.
Where things stand
It has been standard practice in software development and operations for decades. As of late 2026, the leading coding agents also offer checkpoints and rollback. However, there is still no general solution for undoing actions taken in external systems.
In the news
- Epic to keep AI transparency tools despite federal rollbackOct 30, 2026 · Health
- 65% of employees would roll back workplace AI; 40% fear an AI skills gapAug 31, 2026 · Work & HR
- Can Copilot fix its own security findings? Testing GitHub agentic autofixAug 17, 2026 · Code
Also known as
rollback · roll back · rollback · rollback · rollback to previous version · revert · ROLLBACK command · checkpoint restoration
Sources
This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.