Lion Cipher Lab

Build a planner / worker / critic agent team from scratch, race it against one agent on the same scored alert-triage batches, and find the difficulties where the two extra roles do not pay for themselves

Why it matters

The agent-team diagram is the most persuasive drawing in modern software and one of the least measured. A PLANNER decomposes the job. WORKERS do the pieces. A CRITIC checks the work and sends it back. It looks obviously better than one agent grinding through everything alone, it maps onto how a team of humans actually works, and it is very easy to ship without ever asking the only question that matters: on YOUR job, against the SAME data, does it win, and by how much, and for how much? This lab makes you answer that. The job is a real one — a batch of security alerts to triage into…

What you'll learn

Steps in this lab

  1. The words first: agent, agent team, role, planner, worker, critic, orchestration, iteration cap, ablation
  2. Open a terminal and make a scratch folder (all three operating systems)
  3. The cyber job: twenty alert batches whose right answers you already know
  4. The meter: tokens, calls and a wall-clock that is honest about being simulated
  5. The roles are DETERMINISTIC STUBS — read this before you paste it
  6. The rubric: precision, recall and F1 against the planted truth
  7. Architecture A: one agent, one window — and watch it fall off a cliff
  8. Build the planner: decomposition is a design decision, not a chunk size
  9. The workers, the critic, and the orchestration loop that joins them
  10. The headline number — and the baseline the headline is usually hiding
  11. Failure mode 1: the planner writes a plan the workers cannot execute
  12. Failure mode 2: the critic that never stops, the cap that stops it, and what the cap costs
  13. Failure mode 3: role collapse — pricing a critic that simply agrees
  14. Failure mode 4: the plan goes stale the moment a worker learns something — and one agent wins
  15. The ablation: which role actually earned its keep (it is not the same one at every difficulty)
  16. When a team is the wrong answer
  17. The way a pro does it differently

Open the full interactive lab →