Pairs with Part 5 · Evaluation
Open-source tools for evaluating AI agents
If you cannot evaluate the work, you do not yet control it. These turn a golden set into a release decision.
- promptfoo/promptfoo(opens GitHub in a new tab)Test prompts, agents and retrieval against test cases, and red-team them, from the command line or CI.Puts evals in the release pipeline, where they can block a bad change.
- confident-ai/deepeval(opens GitHub in a new tab)A unit-testing style framework for LLM outputs, with ready-made metrics.Familiar to engineers who already write tests.
- openai/evals(opens GitHub in a new tab)A framework and registry for evaluating model behaviour.Shows how to structure evals you can repeat.
We are not affiliated with any of these projects. Open-source projects change quickly, so check each repository's licence, maintenance activity and security posture before you use it in production.
Get the book
The best agent is not the most autonomous one.
It is the one whose value, boundary, controls and evidence are clear.

New · Available now
The paperback
The desk copy for design reviews. Keep it open beside the work, mark up the canvases and checklists, and pass it round the team.
For organisations
Team copies and talks
Bulk copies for your team, or a talk or workshop on applying the method to your own agents.
Message Anuj on LinkedIn