Step 16 of 36 · Engineering practice
Agents and where they need a human
Decide which actions an agent may take alone, which need approval and which it may never take, before anyone wires one up.
An agent does not only suggest. It acts: runs commands, changes files, calls services, opens pull requests. That moves the question from whether the output is good to what the agent was able to touch.
Decide by action, not by tool. Reading and proposing can run freely inside a sandbox. Changes that are easy to reverse need a human gate at merge. Anything hard to undo needs explicit approval each time or stays out of reach: production data, infrastructure, money, messages to customers, credentials. Give agents their own identities with the least access that works, and log what they do.
The trap is approval fatigue. A person who clicks yes all day is no longer a control. Use fewer gates and make each one mean something.
Try this week
- List the actions your agents can take today and mark each as free, gated or forbidden.
- Check which credentials an agent session inherits on a developer machine and remove any it does not need.
Signs you've got it
- No agent holds standing access to production data or can send external messages unreviewed.
- You can show from logs what an agent did in a given session and who approved it.
Resources
- articleHumans and Agents in Software Engineering Loops (opens in a new tab)Kief Morris
- articleHow far can we push AI autonomy in code generation? (opens in a new tab)Birgitta Böckeler
- articleThe lethal trifecta for AI agents: private data, untrusted content, and external communication (opens in a new tab)Simon Willison
- guideAgentic AI: Threats and Mitigations (opens in a new tab)OWASP Gen AI Security Project
- articleAgents (opens in a new tab)Chip Huyen
Talks to watch
- 33 minHumans on the loop, not in it: Taking agentic engineering end to end (YouTube, opens in a new tab)Kief Morris
- 21 minThe Lethal Trifecta Is Already on Your Laptops (YouTube, opens in a new tab)Michael Patterson