How to Design an AI Agent’s Guardrails
By Mark Kelly
Imagine an agent is allowed to create internal tasks after a weekly account review. It opens a service record, finds an overdue issue and creates a follow-up. The request times out. Should it try again?
That small example shows why guardrails need to be built into the way the work runs. Ask what authority the agent has, how the system verifies an action and where the team goes when something is unclear.
|
Guardrail |
How I’d define it for the account review |
|
Permissions |
Give the agent a named identity with access only to the accounts and fields it needs. Limit its ability to make changes to one type of task. |
|
Tool access |
Let it use approved sources and the task system. Treat instructions found inside emails, notes or documents as content to review. |
|
Approval thresholds |
Require a person to approve actions involving customer contact, commercial terms or changes outside the written rules. Show the proposed action before approval. |
|
Audit trail |
Record the workflow, sources, action, time and approval where relevant. Limit access to those records and agree retention. |
|
Failure behaviour |
Pause on missing ownership or conflicting evidence. After a timeout, check whether the task already exists before retrying. Give exceptions an owner and a fallback. |
Test what happens at the boundary
Run a case the agent is authorised to handle. Then run a duplicate, a missing owner and a request outside scope. Ask a reviewer to reject a proposed action and check that it stays rejected. Simulate a failure after the action has taken effect and check what the next run does. Assign someone to fix each gap and repeat the relevant test before giving the agent wider authority.
I’d also ask the operations lead to show how they pause the agent and continue the work manually. Having that option in the team’s operating instructions makes a difference when a problem arrives during a busy shift.
The best guardrails are easy to explain to the people who run the work. “It can create one internal follow-up per eligible case. It stops if the owner is missing, and the team lead can pause it.” That’s a rule you can teach, test and review.
I help teams turn agent permissions and approval rules into a working design they can test before rollout.
Share This Story, Choose Your Platform!
Planning an event or leadership offsite?
Mark Kelly delivers evidence-based AI keynotes and hands-on AI leadership workshops for boards, executive teams and conferences across Ireland and Europe.





