swiftapplications

AI agent approvals and safety: human-in-the-loop for real work

An agent that can only read is safe but limited; an agent that can act needs a person in the loop. These guides cover approvals, scoped keys, audit logs and the attacks that target agents, plus how to learn to supervise them.

8 guides, each answered first, with code you can copy.

ApprovalsHuman-in-the-loop for AI agents: approve actions before they runHow to put a person in the loop for AI agent actions without approval fatigue: what to approve, what an approval card must show, expiry, and denying with a note.3 min readRead ApprovalsLet an AI agent issue Stripe refunds safelyA developer’s pattern for agent-issued Stripe refunds: no secret key for the agent, a read-only restricted key, refunds as approved proposals, caps and idempotency.3 min readRead ApprovalsStripe restricted keys for AI agents: what to allow, what never to allowCreate a Stripe restricted key (rk_) for an AI agent: which resources to make readable, which writes never to grant, and testing in test mode first.3 min readRead ApprovalsGive an AI agent your inbox without letting it sendHow to let an AI agent read and draft email without send or delete: IMAP versus SMTP, drafts you review, and holding back attachments and remote images.3 min readRead ApprovalsPrompt injection through email: how agents get tricked, and how to stop itAnyone can email your AI agent instructions. How email prompt injection works (hidden text, fake urgency, forwarding tricks) and the controls that contain it.3 min readRead ApprovalsAudit logs for AI agents: what to record, and whyWhat an AI agent audit log should capture (agent, tool, redacted inputs, result, approval and approver), where to keep it, and how long, without leaking secrets.3 min readRead ApprovalsLeast privilege for AI agents: scoping keys, files and actionsApply least privilege to AI agents in five dimensions (keys, files, actions, time and network) with concrete settings for Mac developers and business tools.3 min readRead ApprovalsHow to supervise AI agents at work (and get certified)Supervising AI agents is a new job skill: reading proposals, spotting harmful actions, and saying no usefully. Learn it free and prove it with an exam.3 min readRead

The safe way to do this

humanqueue.com

Learn to supervise AI agents, then prove it

Free training on approving what agents propose, then the Certified AI Agent Supervisor exam: 20 scenarios, $29 only if you pass.

Start the free training

More field guides