Operating agents in production
For engineers
Run budgets, run-level monitoring, stuck and runaway runs, human escalation queues and audit trails for agents that take actions on their own
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Where should an agent's step limit be enforced?
Check yourself · 2 of 5
Why is a request-level dashboard not enough for an agent?
Check yourself · 3 of 5
Which pattern most clearly signals a stuck run?
Check yourself · 4 of 5
Which routing rule for escalation is the most reliable?
Check yourself · 5 of 5
Which question can an audit record for an agent action NOT be expected to answer by itself?
Topics
- Step, token and time budgets per agent run4 min read · Hard caps per run, per user and per day, what the agent does when it hits one, and saving progress so a capped run can resume or hand off
- Monitoring agent runs and trajectories4 min read · Task success rate, steps and cost per run, tool error rates, the long tail of expensive runs and replaying a run step by step
- Detecting and recovering stuck or runaway runs5 min read · Repeated tool calls, no progress, retries without change, and the choice between cancelling, resuming from a checkpoint or escalating, plus cleaning up partial side effects
- Human escalation queues for agent work5 min read · Routing uncertain or high-risk actions to people, queue sizing and response times, approval fatigue and keeping the agent useful while it waits
- Audit trails for agent actions5 min read · Recording every action with who or what authorised it, its inputs, its result and how to reverse it, for compliance, support and undo
Start here
- Building effective agents (Anthropic) (opens in a new tab)ArticleFree
Explains why agents need stopping conditions, checkpoints and human review, and when to keep a design simple.
- How we built our multi-agent research system (Anthropic) (opens in a new tab)ArticleFree
Production lessons on tracing agent runs, resuming from errors and the cost of long agent runs.
- Semantic conventions for GenAI agent and framework spans (opens in a new tab)StandardFree
The standard span names and attributes for recording agent invocations and tool calls.
Helps to know first
110 questions · last verified 2026-12