Domains · Data and AI
Leading AI agents teams
An agent takes actions, so its mistakes are events in real systems, not bad text on a screen. Leading agent teams means deciding what the system may touch, where a person approves and how you reconstruct what happened after a long run.
See the 23 roadmap steps this changes ↓What is different here
- 01
Permissions set the blast radius
A chat feature that is wrong produces a bad answer. An agent that is wrong sends the email, deletes the record or spends the money. The worst case is set by what it can reach, so permission design is the main safety decision, and you make it before the build starts.
Give each agent its own identity with the least access that completes the task. Prefer reversible actions, dry runs and sandboxes. Keep private data, untrusted content and a channel to the outside from meeting in one run.
Write down the worst plausible outcome for each tool you grant. If you would not give that access to a new contractor on day one, do not give it to the agent.
- paperThe Protection of Information in Computer Systems (opens in a new tab)Jerome Saltzer and Michael Schroeder
- 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
- 02
Approval points that still mean something
The usual answer to agent risk is a human who approves. It works only when that person has the time, the context and the standing to say no. Someone who approves routine actions all day stops reading them. The control is gone while the process chart still shows it.
Design approvals as a product. Ask only for actions that are hard to undo or outside a stated limit. Show the reviewer what will change, why the agent wants it and what it relied on. Track how often approvals are refused. If nothing is ever refused, the gate is decoration or the task no longer needs one.
Decide who is accountable when an approved action goes wrong. Write that down before it happens.
- 03
You debug a run, not a request
One agent run can hold many steps: plans, tool calls, retries, calls to other agents. When the outcome is wrong, the cause may sit far upstream, in a tool result misread early on. A log of the final answer tells you nothing.
Fund tracing before features. Record every model call, tool call, input, output, cost and duration under one run identifier, and make a run replayable. Give the team a trace viewer they like using. Reading traces is the daily work here, as reading stack traces is elsewhere.
Plan for the consequences. Runs are slow, costly and differ between attempts, so reproducing a bug can take several tries. Estimates and on-call expectations have to allow for that.
- 04
Failures that report success
A crashed service tells you it failed. An agent can stop early, skip a step or work round an obstacle in a way you would never accept, then report the task complete in confident prose. The summary is written by the same system that made the mistake.
Never take the agent's own account as evidence. Check the end state independently: the record exists, the tests ran and passed, the payment went out once. Build those checks into the product and into the evaluation. Review a sample of runs marked successful, because silent failures hide there.
Watch for shortcuts that satisfy the check and miss the intent, such as editing the test instead of the code. Each one you find becomes an evaluation case.
- 05
Errors compound across steps
Each step in a run can go wrong, and the chances multiply over a long task. A system that looks strong on short tasks can be unusable on long ones. Demos hide this because they show one good run.
So scope narrowly. Pick tasks with a clear end state, few steps and cheap recovery. Widen only when measured completion holds up over many repeated runs of the same task. Often a fixed workflow with a model at one or two decision points does the job with far less variance than an agent that plans freely. Choosing the plainer design is good leadership.
Report results as completion over repeated attempts, with the cost per completed task. Never report a best run.
- 06
Someone answers for what the agent did
When an agent acts for a user, an employee or the company, the existing rules about who may do what still apply. Auditors, customers and your own incident reviewers will ask who authorised an action and on whose behalf it ran.
Settle this in design. Each agent runs under an identity that can be told apart from a human's, with a named owning team. Every action is logged with the run, the instructing user and any approval. Customers can see what was done in their name and undo it where that is possible.
Agree with legal and security which actions an agent may never take for a customer. Enforce that list in the tool layer, where code decides, not in the prompt.
On the roadmaps
These steps change when the team works in AI agents. Set it as your field and every roadmap highlights them.
AI and Physical AI Team Leader
open with this as your field →- Evaluation as the product spec
The spec is a set of tasks with verifiable end states and forbidden actions, run in a sandbox that mirrors your production tools. Budget for that environment as a product of its own.
- Human oversight and teleoperation
The same handover problem applies to software agents. Define how the agent asks for help, what it does while waiting and a safe stopping state that needs no human.
- Incident response for model failures
Add a stop control that halts all runs and revokes agent credentials. Keep traces long enough to reconstruct what a run did and to reverse it.
- Security of ML systems
List every tool and credential each agent holds. Treat each tool result as untrusted input, and review a new tool grant as you would review new production access.
- Setting expectations with product
Agree with product the completion rate over repeated runs, the cost per completed task and what the user sees when the agent gives up. One good run is not a target.
- Monitoring and drift
Monitor runs, not requests: steps per run, tool error rates, approvals refused, runs that hit limits and tasks reported complete that later needed correction.
AI Adoption Lead
open with this as your field →- Agents and where they need a human
When agents are your product, gate design is a customer feature. Decide per tool which actions run alone, which wait for the user and which the product never offers.
- A risk framework with tiers
Tier agent uses by what the agent can change and whether it can be undone. Read-only, reversible write and irreversible write each need their own controls.
- Evaluating AI features before shipping
Score the end state and the path. An agent can reach the right result by a route you would not accept, or report success without one. Repeat each case several times, because runs vary.
- Cost management
A looping agent spends without anyone deciding to. Cap steps, spend and elapsed time per run, and alert on every run that hits a cap.
- Security of generated code and prompts
Injection matters more when the reader can act. Assume any page, file or tool result can carry instructions, and restrict what a run may do once it has read untrusted content.
- What not to automate
Leave out tasks where nobody can cheaply verify the end state, and tasks where an error is irreversible and rare enough that reviewers stop looking.
Security Engineering Leader
open with this as your field →- AI-assisted development and ML systems
Agents need the controls you apply to service accounts and to contractors together: scoped, short-lived credentials, limits on outbound traffic, action logs and a review when scope grows.
- Identity, access and zero trust
Agents are a new kind of principal. Give each its own identity, never a shared human token, and make every action attributable to the run and to the instructing user.
- Threat modelling as a team habit
For each agent, draw what it reads, what it can do and where data can leave. Any path from untrusted content to a consequential action needs a break in it.
- Logging and detection priorities
Log agent actions at the tool boundary, outside the model's control, so an investigator does not depend on the agent's own account of what it did.
Engineer to Tech Lead
open with this as your field →- Quality and testing strategy
Unit tests cover tools and guards. Behaviour needs task-level evaluation in a sandbox with fake or resettable services, run repeatedly because outcomes differ between attempts.
- Design docs that get read
Add a section to every agent design doc: tools granted, worst action per tool, approval points, limits on steps and spend, and how a run is stopped.
- On-call and incidents
On-call needs the trace viewer, a stop control and a way to reverse actions. Without those three the responder can only watch.
Reliability and SRE Leader
open with this as your field →- Measuring from the user's side
Measure task completion verified against the end state, not request success. An agent can return a healthy response for a task it never finished.
- Severity levels
Define severity by what the agent changed and whether it can be reversed. One wrong irreversible action for one customer may outrank a wide outage.
Senior Engineer to Engineering Manager
open with this as your field →- Planning and estimates
Slow, costly, variable runs stretch every feedback loop. Expect evaluation and sandbox work to take longer than the agent logic, and estimate in ranges.
Startup CTO
open with this as your field →- Security and data protection basics
If your product acts inside customers' systems, their security review will ask what it can touch and how it is bounded. Have the permission model and the action log ready to show.