What to do when an AI agent makes a mistake
If the action is still happening, put that capability under human review while you check what reached the system.
Need help with an incident? Contact Peritia or call +61 420 649 082.
1. Contain the affected action
Tell the process owner and the team that runs the agent. If it is still acting, pause that capability or send its requests to human review. For example, you can route refunds to a manual queue while keeping the support channel open. Record the time and reason for the change.
2. Keep the records that let you reconstruct it
- Save the references for the order, the customer in your internal system, the transaction and the agent run.
- Keep the conversation, the tool events and the records of the system that carried out the operation. Include dates and time zones.
- Document the model, permissions and business rules in force at the time. Note who preserved each record and where it was stored.
Work on copies and keep originals somewhere with restricted access. If a record has short retention, preserve it first, before it rotates.
3. Check the impact against system data
Check the final state in the order, payment or inventory system. If the agent said it had refunded money, confirm whether the processor shows the refund as pending, completed or reversed. Look for other transactions from the same flow in the affected window, and document which amounts you could confirm and which are still under review.
4. Verify the control before switching the agent back on
Reproduce the flow with test data in an agreed environment. Check the case that failed and a properly authorised operation. Switching a capability back on means checking that the system applies the rule and records the outcome. If the cause is still open, keep that action under human review.
When to ask for a technical investigation
Consider an incident investigation when records contradict each other, several systems are involved or you need evidence to support the impact. For the first conversation, prepare the time window, the affected flow and a list of the records your team has kept.
NIST’s response recommendations cover detection, response and recovery. This guide applies those stages to operations involving an AI agent. NIST SP 800-61 Rev. 3.