Skip to main content

Module chain_compression

Module chain_compression 

Source
Expand description

Chain Compression — context deduplication between agent hops (P11 / DIM 4).

When context flows through a chain of agents, each hop typically carries overlapping references. This module identifies shared context and produces minimal deltas, ensuring only novel information crosses agent boundaries.

Structs§

ChainCompressionTracker
Tracks context across hops in a single chain, computes minimal deltas.
ChainContextItem
A content-addressed context item tracked across hops.
ChainDelta
Delta produced when forwarding context to the next hop.

Enums§

ChainCompressionError

Constants§

CHAIN_COMPRESSION_SCHEMA_VERSION