Lion Cipher Lab

Grade an agent on the path it took instead of the answer it gave: build a trajectory and tool-choice evaluation harness from scratch, run eight agents through it, and count the runs where an output-only eval happily passed a path that isolated a host it had never identified

Why it matters

This is the last rung of the agent-engineering arc, and it exists because of a gap the previous eighteen labs opened and none of them could close. Those labs built agents: a cost-and-capability router, a resumable workflow engine, a plan-then-execute agent that diffs intent against reality, an idempotent run journal, a budgeted fleet with circuit breakers, a subagent harness with context isolation, typed IO contracts, an adversarial verifier, a planner-worker-critic team, a shared blackboard, an agent-to-agent protocol, a debate, a supervisor. Every one of them was measured. Every one of them…

What you'll learn

Steps in this lab

  1. The words first: agent, tool call, trajectory, span, reference trajectory, precision, recall, F1, DAG, topological order, partial order, edit distance, step cap, termination, irreversible action
  2. Open a terminal and make a scratch folder (all three operating systems)
  3. The corpus: 300 SOC cases, each with a reference trajectory AND a dependency graph
  4. Eight agents, and every single one of them is a stub - say it out loud before you look at a number
  5. The harness itself: seven dimensions, written out by hand, and why the decomposition is the hard part
  6. Score all 2,400 runs: the four tables the whole vein has been missing
  7. The headline: put both evals on the same runs and count where they disagree
  8. Strict versus partial order: the named failure mode of naive trajectory eval, with a number on it
  9. The three honest negatives, each with a number: the scalar trap, the over-strict edge, and when this whole technique bought nothing
  10. Plug your own agent in - and make the harness unit-test itself before you believe a word of it
  11. When NOT to reach for a trajectory eval
  12. The way a pro does it differently

Open the full interactive lab →