Book a 30-min callBook a call

How to stop an AI agent from doing damage: guardrails and human approval

How to keep an AI agent that sends email, edits records or spends money from doing damage: least privilege, approvals people read, limits, logs and undo.

An AI agent sends an arrow through a gate toward three tool cards, a person approves with a check, and a red stop button sits below.
Written by
BYD Tech
Updated
Topic
AI agents
Reading time
7 min read

Questions people ask

What are AI agent guardrails?

Controls outside the model that limit what an agent can do and catch mistakes: narrow tools, scoped permissions, human approval for risky actions, limits on actions and spend, logs, a kill switch and backups.

Which agent actions should need human approval?

Anything that cannot be undone, reaches people outside the company, moves money, deletes data or changes permissions. Reads and easily reversed writes can usually run without approval, as long as they are logged.

How do I stop people from rubber-stamping agent approvals?

Ask for approval only on actions that matter, show the exact change rather than the agent’s summary, add a risk note written by your code, and make rejecting as easy as approving.

Can a system prompt keep an agent safe?

No. A prompt guides the model but does not bind it, and injected instructions can override it. Permissions, approvals and limits have to be enforced in code and in the systems the agent calls.

What is excessive agency?

OWASP’s name for the risk that an AI agent takes a harmful action because it has more tools, permissions or autonomy than its task needs, and a wrong or manipulated model output triggers them.

Should an AI agent have access to production?

Only to the narrow parts it needs, with its own scoped credentials, logging and approval for risky actions. Build and test it against separate test systems, never with production keys.

Building something like this?