Before
Payloads move as free-form text and can be truncated, reformatted, or silently edited.
Agent Capsule wraps machine payloads in a text-native envelope so receivers can ingest, verify, policy-check, and unpack safely across existing channels.
2-minute proofpython3 -m pip install agentcapsule
agentcapsule pack handoff.json --out capsule.txt
agentcapsule ingest thread.txt --out ./sandbox --strict --json
Typical agent threads are lossy for machine payloads. Agent Capsule turns handoffs into verifiable artifacts.
Payloads move as free-form text and can be truncated, reformatted, or silently edited.
Receivers verify `capsule_sha256`, `payload_sha256`, signature/trust policy, then unpack to sandbox.
One command and one function: `agentcapsule ingest ...` and `ingest_messages(...)`.
Exact payload bytes plus metadata and verification context.
Text wire format with boundaries, headers, and encoded payload.
Handoff intent: creator, task ID, files, capabilities, policy hints.
Inline, attachment, or reference (URI + capsule hash + payload hash).
Start with base64 + SHA256 verification. Add signatures, trust registry, encryption, compression, and resumable fetch when needed.