
Why Did It Do That?
Monitoring, evaluating and improving AI workflows in Python
An AI workflow rated a ticket as less urgent than it was, and someone asks why. The book builds what you need to answer: a trace of every step, the cost of each ticket, checks of whether answers are right, a judge that is itself checked, defences against a ticket that gives orders, and an honest look at how much a score is worth.
For: Engineers running an AI workflow in production who need to explain and improve what it does.
Free PDF. Every output in the book comes from a real run; the first pages say how it was checked.
What's inside
- 01The Ticket Marked S3
- 02A Trace of One Ticket
- 03Running It Again
- 04What One Ticket Costs
- 05Is It Right?
- 06Judging the Reply
- 07Checking the Judge
- 08Watching It Live
- 09A Ticket That Gives Orders
- 10What Must Not Leave
- 11Learning From a Mistake
- 12Changing the Model
- 13Someone Else's Screen
- 14How Much Is a Score Worth?
- 15Handing It Over




