Cube Protocol is the handoff engine.
Cube Protocol is the internal contract layer inside A2AC. It packages work into deterministic envelopes so systems can process requests as structured operations instead of interpreting another model's chat transcript.
Task
Task Cubes
Define the requested work, target system, payload, policy context, and expected result contract.
Result
Result Cubes
Return structured outputs with execution metadata, routing context, and payload integrity fields.
Error
Error Cubes
Normalize failures from models, APIs, edge workers, and providers into machine-readable error envelopes.
example envelope
{
"type": "task",
"result_contract": "json",
"failure_contract": "structured_error",
"integrity": "sha256"
}