Skip to main content

Module capsule_wire

Module capsule_wire 

Source
Expand description

Wire types for transferring reference-only context between agents.

Structs§

ContextCapsuleV1
Wire-compatible context capsule for multi-agent transfer. Contains only references and metadata — never raw content payloads.
DedupReport
Cross-capsule reference overlap and deduplication metrics.
DeltaTransfer
Represents the difference between a base capsule and an updated one. Used to minimize transfer size in multi-agent chains.

Functions§

apply_delta
Applies a reference and budget delta to a base capsule.
compute_delta
Computes the reference and budget difference between two capsules.
dedup_siblings
Finds references shared across sibling capsules and reports transfer savings.