AI-to-AI Interaction Profile
Handoff Envelopes
Overview
v1.1 adds an AI-to-AI interaction profile alongside the existing AI-to-legacy translation profile. The legacy translation use case remains the primary positioning of cordspec.org. The handoff profile is additive and opt-in.
snapshot or delta. A v1.0 implementation that never emits or consumes a handoff envelope stays CORD-Compliant under v1.0 semantics.What v1.1 adds:
- A third
envelope_type,handoff, for transferring structured data from one AI system to another with no legacy translation step - A
handoff_chainarray tracking AI-to-AI lineage backward through every system the payload passed through - An optional
required_claimsarray on any envelope type, declaring which field names must survive downstream - A
producer_attestationobject on handoff envelopes, stating what the producing system asserts the receiver must preserve - A
handoff_efsmetric, distinct from the v1.0efs, measuring AI-to-AI fidelity - A fourth conformance category, Handoff-Aware, and a
CORD-Compliant (Handoff-Aware)sub-designation - Three FAQ entries, two reference examples, and a v1.1 changelog entry
What is explicitly not changed: the envelope structure for snapshot and delta, the v1.0 efs definition and meaning, the FULL/PARTIAL/NONE taxonomy, the four-tier conformance model semantics for v1.0, the application/cord+json media type, the SHA-256 x_cord_digest, replay protection guidance, the homepage architecture diagram, and all existing reference examples.
1.1 New envelope_type: "handoff" New
handoff joins snapshot and delta as a permitted value of envelope_type. A handoff envelope represents the transfer of structured data from one AI system to another AI-native system. There is no legacy target and no legacy translation step.
Field requirements for a handoff envelope:
- All v1.0 required fields remain required, with two exceptions below
legacy_outputbecomes OPTIONAL. There is no legacy format to render, so a producer MAY omit it. If present, it is treated as advisory.loss_report.efsbecomes OPTIONAL. The legacy translation fidelity score has no meaning when there is no legacy translation. A handoff envelope reportshandoff_efsinstead (see 1.5).producer_attestationbecomes REQUIRED (see 1.4)handoff_chainbecomes REQUIRED (see 1.2)target_systemidentifies the next AI system in the pipeline (model id, version, or system identifier), not a legacy system
source_system and target_system shapes Modified
In v1.0 these are strings. v1.1 permits either form on any envelope type:
- String form (v1.0): a single identifier, e.g.
"drafting-agent@2.1" - Object form (v1.1):
{"system_id": "string", "model": "string (optional)"}, used when an exchange needs to carry model identity separately from the system identifier
Conformant v1.1 validators MUST accept both shapes wherever source_system or target_system appears. The object form is RECOMMENDED for handoff envelopes. Existing v1.0 string-form envelopes remain valid and unchanged.
snapshot or delta with a populated legacy_output and v1.0 efs.1.2 New top-level field: handoff_chain New
handoff_chain is REQUIRED when envelope_type is handoff and MUST NOT appear on snapshot or delta envelopes. Each entry describes a prior AI system that contributed to the payload. The chain extends backward through every AI system the data passed through.
"handoff_chain": [
{
"system_id": "string. Identifier of the producing AI system.",
"model": "string. Model version. Optional.",
"envelope_id": "string (UUID). The envelope this system produced.",
"produced_at": "string (ISO 8601). Timestamp of envelope creation.",
"schema_version": "string. Schema version of the envelope at that step."
}
]
Rules:
- The current envelope is NOT included in its own
handoff_chain. The chain represents predecessors only. - The chain MUST be ordered oldest-first.
- Every
envelope_idin the chain SHOULD be resolvable by a conformant consumer. - The immediate predecessor is the last entry in the chain and SHOULD equal
parent_envelope_id.
1.3 New field: required_claims New
required_claims is an OPTIONAL property of ANY envelope type — snapshot, delta, or handoff. It lets the producing system declare which field names must be preserved when the envelope is consumed or transformed.
"required_claims": [
"field_name_1",
"field_name_2"
]
When required_claims is present, a downstream system consuming the envelope MUST report whether each named field survived. Failure to preserve a required claim contributes a fidelity penalty to the relevant score: the v1.0 efs in a legacy translation, and the handoff_efs in an AI-to-AI handoff.
1.4 New field: producer_attestation New
producer_attestation is REQUIRED on handoff envelopes. It is the producing system's statement of what the receiver must preserve. It is distinct from required_claims: required_claims is the flat list of field names, producer_attestation is the assertion that wraps and contextualizes that list.
"producer_attestation": {
"attested_by": "string. system_id of the producing AI system.",
"attested_at": "string (ISO 8601).",
"preserve_required_claims": true,
"preserve_semantic_annotations":true,
"statement": "string. Human-readable assertion of preservation obligation.",
"attestation_digest": "string. Optional. SHA-256 over the attested fields."
}
A receiving system evaluates its own output against this attestation when it computes handoff_efs. The attestation does not bind the receiver to behavior — it declares the producer's expectation, against which fidelity is measured and reported honestly. A receiver MAY drop attested content. If it does, that drop shows up as a lower handoff_efs, not a silent loss.
1.5 Extended EFS semantics and loss_report changes Modified
The v1.0 efs is UNCHANGED. It continues to mean "fidelity of legacy translation," normalized to [0.0, 1.0]. For handoff envelopes it is OPTIONAL because there is no legacy translation.
handoff_efs is a NEW, DISTINCT metric. It is computed by the receiving AI system against the producer's envelope and measures AI-to-AI exchange fidelity. Do not conflate the two metrics. They answer different questions.
handoff_efs weighting
| Component | Weight | What it measures |
|---|---|---|
| Required claims survived | 0.50 | Fraction of required_claims preserved into the receiver's output |
| Semantic annotations preserved | 0.30 | Fraction of producer semantic annotations carried through without reinterpretation |
| Handoff chain continuity | 0.20 | Whether handoff_chain is well-formed, oldest-first, and all referenced envelope_ids resolve. 1.0 if intact, penalized otherwise. |
handoff_efs = 0.50 * required_claims_preserved_ratio
+ 0.30 * semantic_annotations_preserved_ratio
+ 0.20 * chain_continuity
handoff_efs is recorded in the loss_report of the downstream envelope the receiving system produces. The loss_report gains two new keys:
"loss_report": {
"efs": 0.0, // UNCHANGED meaning. Omit the key on handoff envelopes.
"handoff_efs": 0.92, // NEW. AI-to-AI handoff fidelity.
"field_mappings": [ ... ], // UNCHANGED.
"upstream_envelope_type": "handoff" // NEW. "snapshot" | "delta" | "handoff".
}
efs key entirely. Do not write efs: null. A strict v1.0 validator may treat efs: null as present-but-malformed and fail it. Omitting the key is the v1.1 canonical signal for "no legacy translation occurred."upstream_envelope_type records whether the envelope just consumed was AI-to-AI (handoff) or AI-to-legacy lineage (snapshot / delta). It lets a reader tell, without resolving the parent, which kind of upstream produced this score.
1.6 New conformance category and tier update Modified
A fourth validation category joins the existing three:
| Category | Name | Validates |
|---|---|---|
| 1–3 | (v1.0, unchanged) | (v1.0, unchanged) |
| 4 | Handoff-Aware | Applies when the envelope is a handoff. Verifies that the sender attached the fidelity baseline (required_claims and producer_attestation), that handoff_chain is present and correctly ordered, and that the receiver computed handoff_efs against the baseline and returned it in loss_report. |
Four-tier conformance model update:
- A system that supports handoff envelopes MUST pass Category 4 in addition to Categories 1–3 to be CORD-Compliant for handoff traffic.
- A system that does not produce or consume handoff envelopes remains CORD-Compliant under v1.0 semantics. Category 4 does not apply to it.
- A NEW sub-designation, CORD-Compliant (Handoff-Aware), indicates a system supports the v1.1 handoff envelope type and passes Category 4. It is a superset — a Handoff-Aware system is also CORD-Compliant.
The CORD-Partial, CORD-Compatible, and Non-Compliant tiers are UNCHANGED.
1.7 Stable v1.0 surfaces Unchanged
The following are not modified by v1.1 and are listed to make the additive guarantee explicit:
- Canonical Interaction Envelope structure for
snapshotanddelta - Monotonic version counter and parent reference
- Dual-format output (
legacy_output+ full-fidelity fields) - The v1.0
efsdefinition, FULL/PARTIAL/NONE mapping status taxonomy application/cord+jsonmedia type- SHA-256
x_cord_digestand replay protection guidance - The homepage architecture diagram
- All existing reference examples (healthcare and automotive)
1.8 FAQ additions New
What is the difference between a CORD handoff envelope and a CORD snapshot envelope?
A snapshot captures full payload state at a point in time, typically as the input to a legacy translation or as the first envelope an AI system produces. A handoff envelope is specifically the transfer of that data from one AI system to another AI-native system, with no legacy translation step. A handoff envelope carries lineage (handoff_chain) and a producer assertion (producer_attestation) that a snapshot does not, and it reports handoff_efs rather than the legacy efs.
Why does AI-to-AI handoff need a separate envelope type from AI-to-legacy translation?
The two scenarios measure different things and have different required fields. Legacy translation measures whether structured AI output survived being flattened into a legacy format, scored by efs. AI-to-AI handoff has no legacy format to flatten into; the risk is reinterpretation or silent loss between AI systems, scored by handoff_efs. Forcing both through one type would require overloading legacy_output and efs with meanings they do not have in an AI-to-AI exchange. A separate type keeps each metric honest about what it measures.
How does handoff_efs differ from the EFS in v1.0?
The v1.0 efs measures fidelity of legacy translation: how completely the canonical envelope was preserved when rendered into a legacy format. handoff_efs measures fidelity of an AI-to-AI exchange: whether required claims, semantic annotations, and chain continuity survived from one AI system to the next. They use different weightings, are computed against different targets, and are reported in separate keys. A single envelope can carry both if it has both a legacy step and an upstream handoff, but the two numbers are never interchangeable.
1.9 Reference examples New
Two examples are added to the existing healthcare and automotive examples. Full validatable JSON is in Part 3.
Example A — Multi-agent sales pipeline
A target-account-identification agent produces a snapshot envelope. An enrichment agent consumes it and produces a handoff envelope whose handoff_chain references the first agent's envelope. A drafting agent consumes that and produces a final handoff envelope with a two-link chain (target-identification, then enrichment), oldest-first. The final envelope reports handoff_efs against the enrichment handoff with upstream_envelope_type: "handoff".
Example B — Healthcare triage chain
A symptom-collection agent produces a snapshot. A triage-prioritization agent consumes it and produces a handoff envelope, reporting handoff_efs against the snapshot with upstream_envelope_type: "snapshot". A care-routing agent consumes that handoff and produces a handoff envelope with a two-link chain, reporting handoff_efs against the triage handoff with upstream_envelope_type: "handoff".
1.10 Changelog entry New
v1.1 — June 2026
Extension
- New envelope_type: "handoff" for AI-to-AI exchange.
- handoff_chain array for tracking AI-to-AI lineage.
- required_claims optional field for explicit fidelity contracts.
- producer_attestation required field on handoff envelopes.
- handoff_efs metric distinct from legacy translation efs.
- loss_report gains handoff_efs and upstream_envelope_type.
- Fourth conformance category: Handoff-Aware.
- CORD-Compliant (Handoff-Aware) sub-designation.
- Two new reference examples (multi-agent sales, healthcare triage).
Backwards compatible with v1.0. Existing implementations remain conformant
without changes. Handoff support is the newer capability and adoption is
expected to lag v1.0 legacy translation.
Section-level edit guide
This diff summary anchors to v1.0 section names rather than line numbers. Apply each edit at the named anchor.
| v1.0 section | Edit type | Guidance |
|---|---|---|
envelope_type enumeration | Modified | Add handoff as a third permitted value next to snapshot and delta. |
| Envelope field reference table | Modified | Add rows for handoff_chain, required_claims, producer_attestation. Mark legacy_output and loss_report.efs as conditional. Document source_system / target_system as accepting either string or object form. |
| Envelope structure narrative | Modified | Insert a paragraph after the snapshot/delta description introducing the handoff type and the two field exemptions. Do not alter the snapshot/delta paragraphs. |
| EFS definition section | Modified | Leave the v1.0 efs definition intact. Append a clearly separated subsection defining handoff_efs, its three components and weights, and the formula. |
loss_report schema | Modified | Add handoff_efs and upstream_envelope_type keys. Omit the efs key when envelope_type is handoff (do not write efs: null). |
| Conformance model section | Modified | Add Category 4 (Handoff-Aware) to the category table. Add the CORD-Compliant (Handoff-Aware) sub-designation. State that non-handoff systems remain v1.0 CORD-Compliant. |
| FAQ section | New | Append the three FAQ entries from 1.8. |
| Reference examples section | New | Append Examples A and B. Keep existing healthcare and automotive examples first. |
| "Where CORD sits in the stack" section | Modified | Keep the primary diagram unchanged. Add the secondary handoff flow diagram below it (see Part 5). |
| Changelog | New | Prepend the v1.1 entry from 1.10 above the v1.0 entry. |
| Homepage architecture diagram | Unchanged | Do not modify. |
Media type, x_cord_digest, replay protection, FULL/PARTIAL/NONE taxonomy | Unchanged | No edits. |
Example A — Multi-agent sales pipeline
Final drafting handoff envelope with a two-link chain. Digests shown as sha256:... are illustrative — compute the real x_cord_digest per the v1.0 canonicalization rules before publishing.
Three-agent pipeline: target-account-identification → enrichment → drafting. The drafting agent produces this envelope with a two-link chain, reporting handoff_efs: 0.94 against the enrichment handoff.
{
"cord_version": "1.1",
"envelope_id": "c3333333-3333-4333-8333-333333333333",
"envelope_type": "handoff",
"version": 1,
"parent_envelope_id": "b2222222-2222-4222-8222-222222222222",
"created_at": "2026-06-19T15:42:10Z",
"domain": "sales",
"source_system": {
"system_id": "drafting-agent",
"model": "drafting-agent@2.1"
},
"target_system": {
"system_id": "outreach-dispatch-agent",
"model": "dispatch@1.4"
},
"fields": {
"account_id": "ACC-90217",
"account_name": "Northgate Auto Holdings",
"decision_maker_name": "Priya Raman",
"decision_maker_email": "praman@northgateauto.example",
"intent_signal": "requested fleet EV financing terms",
"vehicle_of_interest": "2026 commercial EV van, 12-unit fleet",
"enrichment_firmographics": {
"employee_count": 240,
"annual_revenue_usd": 88000000,
"segment": "regional dealer group"
},
"drafted_outreach": {
"subject": "Fleet EV financing terms for Northgate",
"body": "Priya, following your request on the 12-unit 2026 EV van fleet..."
}
},
"required_claims": [
"account_id",
"decision_maker_email",
"intent_signal",
"vehicle_of_interest"
],
"producer_attestation": {
"attested_by": "drafting-agent",
"attested_at": "2026-06-19T15:42:10Z",
"preserve_required_claims": true,
"preserve_semantic_annotations": true,
"statement": "Dispatch agent must preserve account_id, decision_maker_email, intent_signal, and vehicle_of_interest verbatim, and must not rephrase intent_signal in a way that alters the stated financing request.",
"attestation_digest": "sha256:0a1b2c3d4e5f60718293a4b5c6d7e8f9001122334455667788990011223344"
},
"handoff_chain": [
{
"system_id": "target-account-identification-agent",
"model": "tai-agent@3.0",
"envelope_id": "a1111111-1111-4111-8111-111111111111",
"produced_at": "2026-06-19T15:30:02Z",
"schema_version": "1.1"
},
{
"system_id": "enrichment-agent",
"model": "enrich@2.3",
"envelope_id": "b2222222-2222-4222-8222-222222222222",
"produced_at": "2026-06-19T15:36:41Z",
"schema_version": "1.1"
}
],
"loss_report": {
"handoff_efs": 0.94,
"upstream_envelope_type": "handoff",
"field_mappings": [
{ "field": "account_id", "status": "FULL" },
{ "field": "decision_maker_email", "status": "FULL" },
{ "field": "intent_signal", "status": "FULL" },
{ "field": "vehicle_of_interest", "status": "FULL" },
{ "field": "enrichment_firmographics.segment", "status": "PARTIAL" }
]
},
"event_log": [
{ "at": "2026-06-19T15:42:08Z", "event": "consumed", "ref": "b2222222-2222-4222-8222-222222222222" },
{ "at": "2026-06-19T15:42:10Z", "event": "produced", "ref": "c3333333-3333-4333-8333-333333333333" }
],
"x_cord_digest": "sha256:9f8e7d6c5b4a39281706f5e4d3c2b1a0998877665544332211009f8e7d6c5b4a"
}
Derivation: required claims preserved 4 of 4 = 1.0 (×0.50) + semantic annotations preserved 0.80 (×0.30) + chain continuity intact = 1.0 (×0.20). Total = 0.94.
Example B — Healthcare triage chain
Two-agent pipeline: symptom-collection (snapshot) → triage-prioritization (handoff). The triage agent reports handoff_efs: 0.97 with upstream_envelope_type: "snapshot".
{
"cord_version": "1.1",
"envelope_id": "e5555555-5555-4555-8555-555555555555",
"envelope_type": "handoff",
"version": 1,
"parent_envelope_id": "d4444444-4444-4444-8444-444444444444",
"created_at": "2026-06-19T16:05:18Z",
"domain": "healthcare",
"source_system": {
"system_id": "triage-prioritization-agent",
"model": "triage@1.7"
},
"target_system": {
"system_id": "care-routing-agent",
"model": "routing@2.0"
},
"fields": {
"patient_pseudonym": "PT-44821",
"presenting_symptoms": ["chest tightness", "shortness of breath", "left arm discomfort"],
"onset": "approximately 40 minutes ago",
"triage_level": "ESI-2",
"triage_rationale": "Cardiac-pattern symptoms with acute onset. Time-critical.",
"semantic_annotations": {
"triage_level": "Emergency Severity Index, 1 is most acute",
"onset": "patient-reported, not clinically confirmed"
}
},
"required_claims": [
"patient_pseudonym",
"triage_level",
"presenting_symptoms"
],
"producer_attestation": {
"attested_by": "triage-prioritization-agent",
"attested_at": "2026-06-19T16:05:18Z",
"preserve_required_claims": true,
"preserve_semantic_annotations": true,
"statement": "Care-routing agent must preserve triage_level and its ESI semantic annotation without rescaling, and must carry the patient-reported qualifier on onset.",
"attestation_digest": "sha256:11223344556677889900aabbccddeeff00112233445566778899aabbccddeeff"
},
"handoff_chain": [
{
"system_id": "symptom-collection-agent",
"model": "intake@4.1",
"envelope_id": "d4444444-4444-4444-8444-444444444444",
"produced_at": "2026-06-19T16:01:55Z",
"schema_version": "1.1"
}
],
"loss_report": {
"handoff_efs": 0.97,
"upstream_envelope_type": "snapshot",
"field_mappings": [
{ "field": "patient_pseudonym", "status": "FULL" },
{ "field": "triage_level", "status": "FULL" },
{ "field": "presenting_symptoms", "status": "FULL" }
]
},
"event_log": [
{ "at": "2026-06-19T16:05:16Z", "event": "consumed", "ref": "d4444444-4444-4444-8444-444444444444" },
{ "at": "2026-06-19T16:05:18Z", "event": "produced", "ref": "e5555555-5555-4555-8555-555555555555" }
],
"x_cord_digest": "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890"
}
Derivation: required claims preserved 3 of 3 = 1.0 (×0.50) + semantic annotations preserved 0.90 (×0.30) + chain continuity intact = 1.0 (×0.20). Total = 0.97.
Migration note
What existing v1.0 implementations must do
Nothing is required. The extension is strictly additive. Every valid v1.0 envelope is a valid v1.1 envelope. No required field is added to snapshot or delta. A v1.0 implementation that never emits or consumes a handoff envelope stays CORD-Compliant under v1.0 semantics, and its efs keeps its exact meaning.
envelope_type: "handoff" should treat it as an unknown type and reject or ignore it rather than misparse it as a snapshot. v1.0 consumers were already expected to validate envelope_type against the known set, so most will do this automatically.What v1.1 unlocks for adopters
- A typed way to represent AI-to-AI handoffs without abusing
legacy_outputor the legacyefs - Backward lineage through
handoff_chain, so a payload that crossed several agents carries a verifiable trail - Explicit fidelity contracts through
required_claimsandproducer_attestation, usable in both legacy translation and AI-to-AI handoff - A dedicated
handoff_efsmetric that measures AI-to-AI fidelity honestly, separate from legacy translation fidelity - The CORD-Compliant (Handoff-Aware) designation for systems that pass Category 4
Honest adoption framing
Handoff support is the newer capability. Expect it to lag v1.0 legacy translation in tooling and ecosystem support. Adopting v1.1 does not require turning on handoff support. A system can adopt the required_claims field on its existing snapshot and delta envelopes without touching handoff at all, and gain explicit claim-preservation reporting on the legacy translation path it already runs.
Where CORD sits in the stack
Primary positioning Unchanged
CORD sits between AI systems and the legacy software they must write into. This is the primary positioning of cordspec.org and it is not changed by v1.1.
structured output
legacy output + EFS
The homepage architecture diagram is unchanged. The flow above remains the canonical one-line description of what CORD does.
Secondary positioning: AI-to-AI handoff New
For pipelines where data passes between AI systems before any legacy write, v1.1 adds a handoff profile. The handoff flow is shown below the primary flow, not in place of it. The legacy write remains the terminal step whenever a legacy system is involved.
CORD Handoff
CORD Handoff
CORD
Each AI-to-AI hop carries a handoff envelope with a handoff_chain and a handoff_efs measured against the upstream system. The final hop into a legacy system reverts to the v1.0 path, with legacy_output and the legacy efs. The two metrics coexist along one pipeline without ever being conflated: AI-to-AI hops report handoff_efs, the legacy write reports efs.