Shipping AI Agents Safely: Four Controls to Build In First
Agents that take actions need more than a good prompt. These four controls make the difference between a demo and a system you can run.
Give the agent only the permissions the task needs
An agent that can read everything and write anywhere is a liability. Start from the task, list the exact tools and data it requires, and grant nothing else. Narrow permissions make failures small and easy to explain.
Put a person in front of irreversible actions
Refunds, account changes and outbound messages should pause for approval until you have evidence the agent gets them right. Approval steps cost seconds and prevent the kind of mistake that takes days to unwind.
Measure against a fixed evaluation set
Collect real examples with known good outcomes and run every change against them. Without a fixed set you are judging quality by the last conversation you happened to read.
Log what it did and why
Record each tool call, its inputs and the result. When someone asks why the agent acted as it did, the answer should be a log entry, not a guess.