Agentic Compression: How Autonomous Systems Keep the Signal and Lose the Noise
Every autonomous system is drowning in more signal than it can carry. A market produces millions of ticks. A codebase produces a diff with a thousand lines. A learner produces a thousand clicks. The system cannot keep all of it, so it compresses. It turns the flood into a signal, the diff into a verdict, the history into a readiness score. Compression is not a storage detail. It is the decision about what the system is allowed to forget, and it is made silently and constantly. The failure is quiet: a representation that dropped the one fact that mattered, and the system proceeds confidently on a summary of a reality it no longer holds.
The Compression Problem
Signal grows faster than capacity. The raw world is high dimensional: every tick, every line, every interaction is a candidate for input. The system's capacity is bounded: context window, compute budget, time, attention. The gap between the two is where compression lives.
Compression is any transformation that shrinks the input while preserving what the next step needs: a summary, a score, a premise, a verdict. The transformation is lossy by default, because the only reason to compress is that the original does not fit. The question is never whether to lose information. It is which information to lose, and whether the loss is survivable.
The reason this is an agentic problem is that the loss compounds. A human who skims a report and misses a detail can ask a question. A system that compresses away a detail carries the absence into every downstream decision, and it cannot feel the gap. The compression is not reviewed, because the dropped thing is no longer present to be reviewed.
Three Ways Compression Fails
The first is loss that drops the decision-relevant fact. The compressed representation is coherent, readable, and wrong in the one place it matters. A readiness score that compresses away the learner's weakest segment. A review verdict that compresses away the architectural flaw. The output looks complete because the missing piece left no hole.
The second is losslessness that keeps too much. The system, afraid of dropping what matters, keeps everything. The compression becomes a copy. It scales badly and buries the signal in the noise it was supposed to remove. A critic that reads the whole codebase instead of the diff. The failure is the opposite of the first: nothing is lost, and nothing is found.
The third is compression that cannot be checked. The system produces a summary with no record of what was dropped, so no downstream step can detect when the summary has failed. An unverifiable compression is a black box that turns a known input into an unknown output and calls it efficiency. The design skill is to make the loss visible, or at least bounded.
The Design Skill: A Fidelity Contract
Treat compression as a contract, not a trick. The contract answers three questions. What must survive the transformation? What is allowed to be lost? And how will we know if the loss went too far?
The first question is the fidelity requirement. It is written in terms of decisions, not content. Not "keep the important parts," which is empty, but "the output must preserve the learner's weakest segment, the regime the signal depends on, the flaw the diff introduces." The requirement is checkable because it names the thing that would be missed.
The second question is the budget. How much can be lost, and where. A compression that is allowed to drop detail but not structure, or drop history but not intent. The budget is a constraint, and it is what makes the compression honest.
The third question is the detection path. Every compression needs a probe that can fail: a sample of the original checked against the compressed form, a downstream consumer that reports when the summary was insufficient, a divergence metric that drifts when the representation stops matching the world. Compression without a failure signal is just optimism.
Compress at the layer where the loss is cheapest. Early compression, at the raw signal, is cheap and risky, because downstream steps cannot recover what was dropped. Late compression, at the decision, is expensive and safe. The right layer is the one where the dropped information has no further use.
How Darcron Compresses
Darcron, the autonomous AI software factory, compresses on both sides of its gauntlet loop. A feature spec and a codebase are compressed into a build. A build and a diff are compressed into a critic's verdict. The verdict is the smallest representation of the work that still carries a decision: ship, revise, or stop.
The failure mode is the verdict that compresses away the flaw that is not visible on the surface. A blind critic that grades style and local correctness will produce a confident verdict that misses the architectural problem, because the problem is not in any single line. The design move is a fidelity contract for the critic: the verdict must name the classes of flaw it checked for, and the ones it cannot see. The compression is honest when it states its own limits, and the round limit becomes a signal that the compression has failed to capture the work.
How Story Engine and Bookbrary Compress
Story Engine, the agentic generation pipeline behind Bookbrary, compresses a premise into a book. A premise is a few sentences. A book is a hundred thousand words. The premise is the compressed form of the book, and generation is a decompression that must preserve the premise's intent. The failure mode is drift: the book is coherent, well written, and not the book the premise described. The compression lost the premise, and the decompression invented a new one.
Bookbrary holds the other end. It compresses a book into a page and a reading position. The reader holds a window into the book, not the whole thing. The failure mode is a window that shows the reader a book that is not there: the page renders, but the content is missing because the aggregation step dropped it. Compression is only as honest as its consumer. The reader is the probe that detects a compression failure, and a system that ignores the reader is compressing into a void.
Key Takeaways for Agentic Compression
- T-CO1: Compression is a decision about what to forget. Name it explicitly. A compression that is not designed is a leak, and the leak lands on the next run.
- T-CO2: Write the fidelity contract before you compress. What must survive, what may be lost, and how a failure will be detected. A compression with no failure signal is optimism.
- T-CO3: Distinguish the three failure modes. Loss that drops the decision-relevant fact, losslessness that keeps the noise, and compression that cannot be checked. Each has a different fix.
- T-CO4: Compress at the layer where the loss is cheapest. Early compression is cheap and risky. Late compression is expensive and safe. Most systems compress too early because the cost is hidden downstream.
- T-CO5: Make the consumer the probe. The reader, the trader, the learner, the next agent: the downstream step detects the compression failure that the compressor cannot see.
The mature autonomous system is not the one that keeps everything. It is the one that knows exactly what it is allowed to lose, writes that down, and keeps a probe on the loss. Compression is not about doing more with less. It is about deciding, deliberately and checkably, what the less is allowed to be.