Skip to main content
A long passage is compressed four times in sequence, each agent targeting half the word count of its input. Watch how meaning is preserved, simplified, or lost across rounds — and observe the length guardrail firing when an agent produces output that exceeds the limit.

What it demonstrates

  • The length guardrail applied to every hop in a chain
  • Reusing a single agent definition (summarizer) across four nodes
  • How context accumulates: each hop’s output is visible in the trace as working.round_N
  • Emergent behaviour: meaning collapse is gradual, then sudden

Run it

Check working.round_1 through working.round_3 in the trace alongside output.final to see compression at each stage.

Workflow

docs/cookbook/compression-gauntlet/workflow.yaml

Graph

Next steps

Telephone Game

Five agents relay a message — watch drift without compression.

Guardrails

How the length guardrail works and how to configure it.