Study FAQ
How do you keep a tool-using AI assistant from taking unsafe actions?
Also asked as 2
- How can a business constrain an AI assistant that can send messages or change records?
- What safeguards should an AI agent have before it can take business actions?
Answer
Define a short list of allowed actions and enforce it in the application. Treat user inputs, retrieved passages, files, and tool results as untrusted data. Limit tools to the operations and records they need, validate requested actions, and require authorized human approval for consequential changes.
For an assistant that prepares a customer message, distinguish permission to draft from permission to send. Reviewers should be able to see the intended recipient, content, and supporting records before the send step. If evidence is missing, a dependency fails, or approval is denied, stop or hand off through an agreed path. Use safe retry behavior where an action could otherwise be duplicated.
Verify that an allowed request succeeds under the right identity and that an out-of-scope request, altered input, or absent approval cannot create a side effect. Check the audit trail for an identifiable actor, approval and outcome while keeping sensitive content under its retention and access policy.
Microsoft’s secure AI adoption guidance · Microsoft’s responsible AI governance guidance for agents
Full explanation
AB-731: Data Quality, Reliability, Bias, and Security in Generative AI
Study guide · AB-731
Read the full explanation