ExperienceSharding
Agent bifurcation on context saturation: active vs archival specialists
Mechanism
Applies the Shard primitive to agent memory. When context fills, the agent splits into two specialized agents (active vs archival) rather than forgetting. It segments history into discrete blocks via ChunkMerge before distributing them across the agent cluster.
Invariants
- Splits when context reaches `split_threshold`, rather than forgetting.
- Splits into an active agent and an archival one; both retain their history.
- Every experience has exactly one owning shard; access copies create no second owner.
- Recombining the shards reconstructs the global pattern.
Parameters
- split_threshold: type=Ratio, range=(0.0, 1.0), description=Share of context capacity that triggers the split.
- cross_shard_policy: type=Enum, range={Forbid, Replicate, Broadcast}, description=How a read that spans shards is served.
- routing_key: type=Enum, range={AgentId, TaskType, Random}, description=What decides which shard an experience is assigned to.
- shard_count: type=Integer, range=[2, 64], description=Partitions the history is distributed across, distinct from the active/archival split.
Preconditions
- Large dataset or experience stream
- Multiple learners
Postconditions
- Distributed knowledge base
Failure modes
- Coordination Overhead: Overhead between shards increases as shard count grows.
Where this came from
—
Builds on
- ChunkMerge references
- Shard references
Used by
- CurriculumReplay references
- FractalIntelligence references
Related
Identity
- Ref:
ExperienceSharding#50ff - Hash: sema:ExperienceSharding#mh:SHA-256:50ff836c2fc73c18fed683db6e3707a18525da22b100f3db23b6fd7604a8a85e
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository