Expand description
Platform-neutral execution binding boundary.
Swarm owns request construction, requested/effective validation, and
immutable Run snapshots. Execution environments implement
AgentBindingProvider and report what they can actually enforce; an
official platform adapter is one implementation of this same interface.
Structs§
- Manifest
Binding Provider - Reference provider backed by an execution-environment capability manifest.
- Unbound
Agent - One Runner-backed agent the provider could not attest, returned by
attest_bound_agentsin non-strict mode. Purely observational: thereasonnever enters theBoundAgentsnapshot or its digest lineage — the agent staysDeclarationOnlyand callers record the gap out of band (tracing warn +RunRecord.degradations).
Enums§
- Binding
Provider Error - Failure reported by a provider or by Core’s receipt validation.
- Legacy
Worker Binding Policy - Migration policy for the deprecated
AgentProfile.worker_bindingRunner fallback. It applies only to fresh declaration resolution; persisted snapshots keep their pinned Runner and remain readable.
Traits§
- Agent
Binding Provider - Execution-environment provider for effective agent capabilities.
Functions§
- attest_
bound_ agents - Ask
providerto bind all Runner-backed agents, validate every returned receipt, and pin accepted attestations into the snapshots. - binding_
request_ for_ snapshot - Reconstruct the platform-neutral request pinned by one immutable snapshot.
- binding_
requests - Build platform-neutral requests for every Runner-bound agent.
- validate_
bound_ agent_ snapshot - Validate one persisted
BoundAgentbefore it is reused or explained. - validate_
bound_ agent_ snapshots - Validate a complete persisted binding snapshot without partially accepting any entry.