Version everything the agent depends on
An agent's behavior depends on five things you can change: the model, the prompt, the tool list, the policy and the catalogue. Give each one a version, and write the versions into every audit line. When a case goes wrong, you can then name the exact combination that produced it.
A hosted model can change under you when its provider updates it. Pin a model version where the provider allows it. Where it does not, treat each update as a change and rerun the evaluation set.
Change prompts and policy like code
Treat a prompt edit like a code change. It goes through review, it runs against the evaluation set, and it goes live only when the results meet the targets. The same applies to a new tool, a new class or a new protected target.
- Name who may change each file, and who reviews the change.
- Link the evaluation run that the change passed from the change record.
- Keep the previous versions deployable in one step.
Watch for drift
Drift is a slow change in results with no change on your side. The usual causes are in the data. A log source renames a field, a new rule floods the queue, or attackers change what they write.
Two habits catch it. First, each week have a person review and label a random sample of the cases the agent closed or downgraded, and compare it with the evaluation baseline. Second, watch coverage. A tool that starts returning "not connected" or truncated results changes what the agent can know.
The lesson A detection nobody tested is a guess shows a rule that stayed silent because it used a field name the SIEM did not use. An agent reading the same data would be just as blind.
Watch cost too. A sudden rise in tool calls per case can mean a loop, or an attacker feeding the agent long text on purpose.
When the agent is wrong, run it as an incident
A wrong action, a missed escalation that an attacker used, or a leak through the agent is a security incident. Handle it in your normal incident process.
NIST SP 800-61 Rev. 3, published in April 2025, describes incident response as a Community Profile of the Cybersecurity Framework 2.0. Govern, Identify and Protect prepare for incidents. Detect, Respond and Recover handle them.
- Contain. Move the affected class back to its default gate, or stop the agent's proposals.
- Reconcile. List every action from the audit log since the last known good state.
- Reverse what should not have happened, under a new approval.
- Find the cause: the evidence, the prompt, the model, a tool, the policy, the catalogue or the approval.
- Learn. Add the case to the evaluation set, and rerun the set before you restore anything.
Look hard at the approval as well as the agent. If a person approved a wrong action, ask what the screen showed them. Automation bias is a design problem before it is a training problem.
Settle uncertain actions first
Timeouts and crashes leave actions whose result you do not know. Find them in the audit log: a submitted action with no verified result. Read live state for each one, and record what you find.
Retry only when the read shows the action did not happen, the approval is still valid and the target still matches. Otherwise ask a person.
Keep a switch that returns to read-only
Anyone on shift should be able to stop the action service and empty earned autonomy in one step. The agent keeps reading while you investigate. Turn actions back on one class at a time, at each class's default gate.
Test the switch on a schedule, the way you test a backup restore. A switch nobody has used may not work when you need it.
Log A record emitted by a system that something happened, which may later be used as evidence.
SIEM A capability that collects, parses, stores, and searches security telemetry and often fires alerts.
Incident An event or set of events that actually or potentially causes a security loss requiring coordinated handling.
Backup A copy of data kept so integrity and availability can be restored after loss, preferably beyond the production identity’s reach.
Coverage An explicit statement of which sources, time windows, and rows were actually collected, including truncation.