Lion Cipher Lab

Fan out subagents over a security corpus and merge their findings — measure the duplicates, and measure the campaign that no shard can see

Why it matters

Your SIEM produced twelve thousand events last night and you would like an agent to hunt through them. It does not fit. Not 'it is slow' — it does not fit: the corpus is 146,796 tokens against a 60,000-token window, and when you point one agent at it, the agent reads the first 5,000 events, reports confidently on those, and says nothing whatsoever about the other 7,233. It does not error. It does not warn. In this lab it finds 12 of the 36 planted incidents and hands you a clean-looking answer about a night it mostly missed. So you do what everybody does: you cut the corpus into eight shards,…

What you'll learn

Steps in this lab

  1. The frame: eight readers, one corpus, and the one thing none of them can see
  2. Every word you need, defined once, in order
  3. Open a terminal, check Python, make a scratch folder
  4. Build the corpus and plant the ground truth — including the campaign
  5. The four rules, the scorer, and the ORACLE — the ceiling every later run is measured against
  6. The analyst agent is a DETERMINISTIC STUB — read this before you paste it
  7. Baseline: one agent, one window, and the 59% of the night it never mentions
  8. The three ways to cut a corpus — and the table that predicts the whole lab
  9. Fan out — 6.6x faster, the whole corpus read, and the first honest negative
  10. The merge stage, and the failure direction nobody measures
  11. Does the shard strategy change what you can find? Measure it — including the campaign
  12. The real fix: make the shards emit partial evidence, and measure what it costs
  13. Sweep K, find the maximum, and get the decision rule out of it
  14. When NOT to fan out — and why this, not that
  15. The way a pro does it

Open the full interactive lab →