Testing multi-agent crews: forcing split-brain, goal drift, and context drift to happen in CI

Coordination failures don’t show up in a test suite because the test run happens to schedule agents politely. Split-brain needs a specific interleaving, goal drift needs a specific chain of lossy handoffs, and context drift needs a correction that lands mid-run. All three can be forced deterministically: a scripted scheduler that controls who reads and writes when, a handoff chain with an assertion on the constraint ledger instead of on the output, and a mid-run policy change with a stale-holder check. Concrete harness code, what each test asserts, and why you should not assert on model output at all.

October 30, 2026 · 10 min · 1958 words · Loop & Retry

Evaluating your evals: how to know the LLM judge is right

You built an LLM judge to grade your agent. What grades the judge? An eval you never validated is a ruler you never checked against a meter stick — and a biased judge doesn’t just add noise, it moves your headline number in a consistent direction. How to meta-evaluate a judge: the labeled set, the agreement metric that isn’t accuracy, and the drift check.

July 24, 2026 · 6 min · 1180 words · Loop & Retry

Predicting agent failure before you ship it

A demo proves an agent can succeed once. It says almost nothing about how often it will fail under real load, real input distributions, and real adversarial garbage. The failures that cost you in production are predictable before release — but only if you test the things that actually shift between the demo and the deployment. Four pre-release signals that forecast production failure, and the ones that don’t.

July 14, 2026 · 7 min · 1464 words · Loop & Retry

Your LLM-as-judge is lying to you

A model grading your agent’s output is the only thing that scales for subjective quality — and it’s a biased instrument you’re reading as a ruler. Here are the biases that actually move scores (position, verbosity, self-preference, leniency), why raw agreement with a human hides them, and how to validate and harden a judge with code — including why you should be reporting Cohen’s kappa, not accuracy.

July 8, 2026 · 10 min · 1958 words · Loop & Retry

What to actually measure when your agent "works"

“It works” is a demo result, not a measurement. An agent is a trajectory, not a function, and grading only the final answer throws away most of what decides whether it’s reliable. Here’s a five-layer scheme for what to measure — outcome, trajectory, cost, failure class, and stability under nondeterminism — with a small harness that computes it.

July 7, 2026 · 11 min · 2158 words · Loop & Retry