How do you check that an agent's work is right?
24 posts
Playbook
Practitioners verify agent outputs through multi-layered approaches involving deterministic checks, model-based judging, and human intervention.
- Hybrid pull request reviews
Execute deterministic checks first, use a model to judge areas scripts cannot cover, and route high-risk items to people . 4
- Error-driven metric definition
Label 100 or more production trajectories and cluster failures into categories before selecting specific metrics . 2
- Adversarial review and noise reduction
Use agents to analyze adversarial reviews and disallow the filing of issues rated P3 to reduce noise . 3
- Threshold optimization via F1
Adjust decision-model thresholds away from the default 0.50 based on F1 scores to balance precision and recall . 5
- Agent Development Lifecycle
Version every prompt and tool change with an attached evaluation and run standards on a schedule to detect baseline deviations . 7
- Structured uncertainty handling
Use structured outputs with an abstain option to send uncertain cases to humans . 8
Choosing between approaches
Relying on agents for performance tuning can lead to accepting mediocre results compared to hand-written code, such as a 1.5ms frame time versus 0.020ms 10.
Not covered yet
The material does not specify how to verify the accuracy of the LLM judges themselves [2, 8].
Posts
- Give a coding agent Playwright MCP and a self-check rule to verify frontend changesThe author connected a coding agent to Playwright MCP and wrote self-check rules: read the diff, list a short test plan, then work through it item by item.

- Do error analysis before metrics: label 100+ trajectories, then define what to measureThe author gives 15 practices for AI engineering evaluation.
- Let agents act as adversarial reviewers and ban P3 issues to cut the noiseSteve Yegge had his agents analyze thousands of recent adversarial reviews in his system.
- Review pipeline pull requests with scripts, then a model, then people: 60% merge unreviewedChetas Joshi describes Robinhood's hybrid reviewer agent for its data platform.

- Tune the decision-model threshold off the default 0.50, judged by F1 across six modelsThe author tested six decision models, including Jev and Perplexity Decider, on 100 apartment-rental agent conversation traces.

- Version prompt changes with attached evaluations to catch hidden coverage gapsAWS engineers introduce the Agent Development Lifecycle to handle non-determinism and dependency shifts in AI agents.

- Fold AI-written PR descriptions into a details tag under a short human summarySimon Willison suggests collapsing long pull request descriptions written by AI inside the details and summary tags that GitHub supports.

- Airbnb's trust agents can abstain, send doubtful cases to people and use MCP as the only data pathPedro Rodriguez of Airbnb describes patterns for trust agents: structured outputs with an abstain option that sends uncertain cases to people; small subagents behind a simple rules layer; LangGraph interrupts for tasks that wait days; and MCP as the only path by which agents reach data.

- Record tool calls and provider steps for unattended agent runsThe author maintains Mac MCP, an MIT-licensed local execution layer, and developed a telemetry setup for unattended runs.
- Agent loop cuts renderer frame time to 1.5ms, but hand-written code hits 0.020msMitchell Hashimoto ran an agent loop to optimize a Go renderer, reducing frame times from 88ms to 1.5ms and allocations from 150K to 500.
- Wire a small decision model in as a code evaluator that returns calibrated probabilities
- Test document parsers on ordinary hard pages and define failure as overrun, empty output or timeout
- Ask the agent for frame-by-frame video or a slide deck as proof a feature works
14 more posts to see