Workflow comparison

Delegate work and return a result

Compare HCS-10 channels with A2A messages, tasks, artifacts and cancellation.

Inspect schemas & export a report

Execution not verified by this analysis

These are version-specific editorial comparisons. Proposed crosswalks and untested acceptance criteria do not establish interoperability or a collaboration agreement. Schema review: 2026-11-12.

Intended outcome

Work reaches the intended agent, produces a correlated result, and survives retries, approval pauses and cancellation without affecting unrelated work.

Standards & recorded implementations

HCS-10

Ordered topic operations and connection lifecycle; transaction proposals can require approval.

  • HOL Standards SDKsdk

    Project exists; the composed workflow and pinned-version support have not been tested here.

A2A

Task-oriented work with messages, artifacts, state and cancellation.

  • A2A Python SDKsdk

    Project exists; the composed workflow and pinned-version support have not been tested here.

  • A2A TCKconformance

    Project exists; the composed workflow and pinned-version support have not been tested here.

Workflow responsibilities

  1. 1. Send the work

    Input
    Authorized request with correlation
    Output
    Accepted message or task
    Complete when
    Validate the request, identity and deduplication policy.
    • HCS-10 · Defined in spec

      The message operation records payload and operator.

    • A2A · Defined in spec

      Message and Task support delegated work.

  2. 2. Track and recover

    Input
    Task or channel events
    Output
    Recoverable state and cancellation
    Complete when
    Resume after disconnect and cancel one task without closing unrelated work.
    • HCS-10 · Needs an extension

      Connection state is not a per-task lifecycle; define a task profile.

    • A2A · Defined in spec

      Task state and cancellation are explicit.

  3. 3. Return the result

    Input
    Completed work and artifacts
    Output
    Typed result with provenance
    Complete when
    Preserve correlation, artifact integrity and the actual outcome.
    • HCS-10 · Needs a profile

      Messages carry results, but an artifact/lifecycle envelope needs definition.

    • A2A · Defined in spec

      Artifacts carry typed parts associated with tasks.

Data that crosses the boundary

Each direction is assessed separately. Required fields, transformations, information loss and externally supplied values need their own validation.

HCS-10 message → A2A Message proposed

Project a recorded message into an A2A message envelope; task state is maintained separately.

Draft observed 2026-11-12 → 1.0.1

Source → targetRequired data & transformationConstraints / loss
data → parts

required

transform

Decode the HCS payload or resolve its HRL, then construct typed A2A Parts.

Encoding, media type and large-object integrity require a profile.
External input → messageId

required

supplied

Create a stable bridge ID correlated to the source topic event.

Do not use a topic ID alone: one topic contains many messages.
operator_id → role

required

gap

Assign the correct A2A sender role only after validating actor and conversation direction.

Operator identity is not an A2A role enum.
External input → contextId

conditional

supplied

Maintain a scoped conversation correlation table.

A topic may carry more than one task or context.

Required target gaps: role

Source fields to retain or account for: p, op, m

A2A Message → HCS-10 message proposed

Wrap a typed A2A payload in a valid HCS operation while retaining A2A correlation outside the native envelope.

1.0.1 → Draft observed 2026-11-12

Source → targetRequired data & transformationConstraints / loss
parts → data

required

transform

Serialize a versioned payload or publish a resolvable HRL for large content.

Preserve part media types and ordering; do not flatten binary content to text.
External input → p

required

supplied

Use protocol discriminator hcs-10.

Validate against the selected HCS version.
External input → op

required

supplied

Use the message operation.

This does not create a task lifecycle operation.
External input → operator_id

required

gap

Supply the authenticated HCS operator identifier.

An A2A role or message ID cannot establish HCS authority.

Required target gaps: operator_id

Source fields to retain or account for: messageId, role, contextId, taskId, metadata, extensions, referenceTaskIds

Gaps & verification work

  • Semantic gap

    Task lifecycle and cancellation

    HCS connection closure does not cancel an individual A2A Task. A bridge needs independent task IDs, state transitions, retries and cancellation rules.

    Verify: Cancel one of two tasks sharing a topic; the unrelated task must remain active.

  • Semantic gap

    Approval is not completion

    A scheduled transaction proposal or authentication-required state must not be emitted as a completed business action.

    Verify: Test approval, rejection, timeout and duplicate delivery before reporting a result.

  • Required data

    A2A Message: role

    Required target field has no usable mapping in this crosswalk.

    Verify: Specify a trusted source and validate a destination instance against the pinned schema.

  • External input

    A2A Message: messageId

    Create a stable bridge ID correlated to the source topic event.

    Verify: Confirm its authoritative source and validate the supplied value. Do not use a topic ID alone: one topic contains many messages.

  • External input

    A2A Message: contextId

    Maintain a scoped conversation correlation table.

    Verify: Confirm its authoritative source and validate the supplied value. A topic may carry more than one task or context.

  • Semantic gap

    Confidentiality boundary

    Decide what may be written to consensus topics and what remains in protected storage; authenticated API access alone does not authorize public persistence.

    Verify: Use synthetic fixtures to verify payload visibility and protected-reference handling.

  • Required data

    HCS-10 message operation: operator_id

    Required target field has no usable mapping in this crosswalk.

    Verify: Specify a trusted source and validate a destination instance against the pinned schema.

  • External input

    HCS-10 message operation: p

    Use protocol discriminator hcs-10.

    Verify: Confirm its authoritative source and validate the supplied value. Validate against the selected HCS version.

  • External input

    HCS-10 message operation: op

    Use the message operation.

    Verify: Confirm its authoritative source and validate the supplied value. This does not create a task lifecycle operation.

Acceptance criteria

  • Stable correlation not tested

    Trace one source event through the remote task and each artifact, including retries.

  • Isolated cancellation not tested

    Cancel one task on a shared channel without stopping other work.

  • Approval and failure remain explicit not tested

    Test approval-required, rejected, failed and successful states separately.

  • Recovery without duplicate work not tested

    Replay events after disconnect and demonstrate the intended idempotency behavior.

Versioned source definitions

Selected publisher definitions, with snapshot hashes and scope limits. These excerpts are not standalone validators.

A2A Artifact · 1.0.1

Artifact definition only; referenced definitions and validation prose remain normative; lines 280–293.

Primary source
Revision:
v1.0.1
Observed:
2026-11-12
Snapshot SHA-256:
141bb56b47ea62171d2ac73d07a02ede149e8d945a418810cedc4f726ce4f873
License:
Apache-2.0; source attribution retained.
  • Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
  • Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message Artifact {
  // Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
  string artifact_id = 1 [(google.api.field_behavior) = REQUIRED];
  // A human readable name for the artifact.
  string name = 2;
  // Optional. A human readable description of the artifact.
  string description = 3;
  // The content of the artifact. Must contain at least one part.
  repeated Part parts = 4 [(google.api.field_behavior) = REQUIRED];
  // Optional. Metadata included with the artifact.
  google.protobuf.Struct metadata = 5;
  // The URIs of extensions that are present or contributed to this Artifact.
  repeated string extensions = 6;
}
A2A CancelTaskRequest · 1.0.1

CancelTaskRequest definition only; referenced definitions and validation prose remain normative; lines 715–723.

Primary source
Revision:
v1.0.1
Observed:
2026-11-12
Snapshot SHA-256:
5a140c0940c72b1056db2a78ae35fc1443e4ee406c8c341c8a7a7684dd5cd131
License:
Apache-2.0; source attribution retained.
  • Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
  • Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message CancelTaskRequest {
  // Optional. Opaque routing identifier. Must match the `tenant` value from
  // the selected `AgentInterface` in the Agent Card when that field is set.
  string tenant = 1;
  // The resource ID of the task to cancel.
  string id = 2 [(google.api.field_behavior) = REQUIRED];
  // A flexible key-value map for passing additional context or parameters.
  google.protobuf.Struct metadata = 3;
}
A2A Message · 1.0.1

Message definition only; referenced definitions and validation prose remain normative; lines 260–277.

Primary source
Revision:
v1.0.1
Observed:
2026-11-12
Snapshot SHA-256:
b6e4a420ecbbebfe903b3d91d87234bcb753caa454356a226bd00e01dc417f51
License:
Apache-2.0; source attribution retained.
  • Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
  • Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message Message {
  // The unique identifier (e.g. UUID) of the message. This is created by the message creator.
  string message_id = 1 [(google.api.field_behavior) = REQUIRED];
  // Optional. The context id of the message. If set, the message will be associated with the given context.
  string context_id = 2;
  // Optional. The task id of the message. If set, the message will be associated with the given task.
  string task_id = 3;
  // Identifies the sender of the message.
  Role role = 4 [(google.api.field_behavior) = REQUIRED];
  // Parts is the container of the message content.
  repeated Part parts = 5 [(google.api.field_behavior) = REQUIRED];
  // Optional. Any metadata to provide along with the message.
  google.protobuf.Struct metadata = 6;
  // The URIs of extensions that are present or contributed to this Message.
  repeated string extensions = 7;
  // A list of task IDs that this message references for additional context.
  repeated string reference_task_ids = 8;
}
A2A Part · 1.0.1

Part definition only; referenced definitions and validation prose remain normative; lines 224–242.

Primary source
Revision:
v1.0.1
Observed:
2026-11-12
Snapshot SHA-256:
eb360d7482979194a627525da03bbb85567cc7e24bd49aa448c26e46b8eda727
License:
Apache-2.0; source attribution retained.
  • Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
  • Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message Part {
  oneof content {
    // The string content of the `text` part.
    string text = 1;
    // The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
    bytes raw = 2;
    // A `url` pointing to the file's content.
    string url = 3;
    // Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
    google.protobuf.Value data = 4;
  }
  // Optional. metadata associated with this part.
  google.protobuf.Struct metadata = 5;
  // An optional `filename` for the file (e.g., "document.pdf").
  string filename = 6;
  // The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
  // This field is available for all part types.
  string media_type = 7;
}
A2A Task · 1.0.1

Task definition only; referenced definitions and validation prose remain normative; lines 167–184.

Primary source
Revision:
v1.0.1
Observed:
2026-11-12
Snapshot SHA-256:
6f960a229167c9f82ad3a8b97433ddd692f344e123454b68ac33f0b44fa2c272
License:
Apache-2.0; source attribution retained.
  • Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
  • Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message Task {
  // Unique identifier (e.g. UUID) for the task, generated by the server for a
  // new task.
  string id = 1 [(google.api.field_behavior) = REQUIRED];
  // Unique identifier (e.g. UUID) for the contextual collection of interactions
  // (tasks and messages).
  string context_id = 2;
  // The current status of a `Task`, including `state` and a `message`.
  TaskStatus status = 3 [(google.api.field_behavior) = REQUIRED];
  // A set of output artifacts for a `Task`.
  repeated Artifact artifacts = 4;
  // protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
  // The history of interactions from a `Task`.
  repeated Message history = 5;
  // protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
  // A key/value object to store custom metadata about a task.
  google.protobuf.Struct metadata = 6;
}
A2A TaskState · 1.0.1

TaskState definition only; referenced definitions and validation prose remain normative; lines 187–208.

Primary source
Revision:
v1.0.1
Observed:
2026-11-12
Snapshot SHA-256:
16b0f91027c9111eaa593477f6673a250a9112420f4a769f87cd8aeb093c34ae
License:
Apache-2.0; source attribution retained.
  • Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
  • Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
enum TaskState {
  // The task is in an unknown or indeterminate state.
  TASK_STATE_UNSPECIFIED = 0;
  // Indicates that a task has been successfully submitted and acknowledged.
  TASK_STATE_SUBMITTED = 1;
  // Indicates that a task is actively being processed by the agent.
  TASK_STATE_WORKING = 2;
  // Indicates that a task has finished successfully. This is a terminal state.
  TASK_STATE_COMPLETED = 3;
  // Indicates that a task has finished with an error. This is a terminal state.
  TASK_STATE_FAILED = 4;
  // Indicates that a task was canceled before completion. This is a terminal state.
  TASK_STATE_CANCELED = 5;
  // Indicates that the agent requires additional user input to proceed. This is an interrupted state.
  TASK_STATE_INPUT_REQUIRED = 6;
  // Indicates that the agent has decided to not perform the task.
  // This may be done during initial task creation or later once an agent
  // has determined it can't or won't proceed. This is a terminal state.
  TASK_STATE_REJECTED = 7;
  // Indicates that authentication is required to proceed. This is an interrupted state.
  TASK_STATE_AUTH_REQUIRED = 8;
}
A2A TaskStatus · 1.0.1

TaskStatus definition only; referenced definitions and validation prose remain normative; lines 211–219.

Primary source
Revision:
v1.0.1
Observed:
2026-11-12
Snapshot SHA-256:
21b41228a975178384042dfd245182ade1215b1ddd806aedc3a95c86938dc0b0
License:
Apache-2.0; source attribution retained.
  • Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
  • Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message TaskStatus {
  // The current state of this task.
  TaskState state = 1 [(google.api.field_behavior) = REQUIRED];
  // A message associated with the status.
  Message message = 2;
  // ISO 8601 Timestamp when the status was recorded.
  // Example: "2023-10-27T10:00:00Z"
  google.protobuf.Timestamp timestamp = 3;
}
HCS-10 connection closure · Draft observed 2026-11-12

Close Connection Operation section; exact source excerpt, not a generated JSON Schema; lines 668–691.

Primary source
Revision:
ae4af42191705696095c41b02ab3f2d66fa0dc5c
Observed:
2026-11-12
Snapshot SHA-256:
191db0145c903c0ba92f69563836962117ce923b81b03c3980bf1b00b73a613a
License:
Apache-2.0; source attribution retained.
  • Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
##### **Close Connection Operation**

Sent on a Connection Topic by one of the participating agents to explicitly signal the end of the communication session.

```json
{
  "p": "hcs-10",
  "op": "close_connection",
  "operator_id": "[email protected]",
  "reason": "Conversation completed",
  "m": "Closing connection."
}
```

**Transaction Memo:** `hcs-10:op:5:3`

| Field         | Description                                                                               | Type     | Example Value              | Required |
| ------------- | ----------------------------------------------------------------------------------------- | -------- | -------------------------- | -------- |
| `p`           | Protocol identifier, always "hcs-10".                                                     | `string` | `"hcs-10"`                 | ✅       |
| `op`          | Operation identifier, always "close_connection".                                          | `string` | `"close_connection"`       | ✅       |
| `operator_id` | Identifier for the agent initiating the closure in the format `inboundTopicId@accountId`. | `string` | `"[email protected]"`  | ✅       |
| `reason`      | Optional reason for closing the connection.                                               | `string` | `"Conversation completed"` | ❌       |
| `m`           | Optional memo providing context for the close operation.                                  | `string` | `"Closing connection."`    | ❌       |
HCS-10 message operation · Draft observed 2026-11-12

Message Operation section; exact source excerpt, not a generated JSON Schema; lines 632–667.

Primary source
Revision:
ae4af42191705696095c41b02ab3f2d66fa0dc5c
Observed:
2026-11-12
Snapshot SHA-256:
4a74344a4779287c824c963969b3288a8637067e168c2dbf96e0eb3bc9120fb2
License:
Apache-2.0; source attribution retained.
  • Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
##### **Message Operation**

Used for sending standard messages between parties on an established Connection Topic.

```json
{
  "p": "hcs-10",
  "op": "message",
  "operator_id": "[email protected]",
  "data": "Hello, this is a message from Agent A to Agent B.",
  "m": "Standard communication message."
}
```

**Transaction Memo:** `hcs-10:op:6:3`

| Field         | Description                                                                                                                 | Type     | Example Value                   | Required |
| ------------- | --------------------------------------------------------------------------------------------------------------------------- | -------- | ------------------------------- | -------- |
| `p`           | Protocol identifier, always "hcs-10".                                                                                       | `string` | `"hcs-10"`                      | ✅       |
| `op`          | Operation identifier, always "message".                                                                                     | `string` | `"message"`                     | ✅       |
| `operator_id` | Identifier for the sending agent in the format `inboundTopicId@accountId`.                                                  | `string` | `"[email protected]"`       | ✅       |
| `data`        | The message content. Can be a plain string, JSON string, or an HRL reference (`hcs://1/topicId`) for large messages (>1KB). | `string` | `"Hello, this is a message..."` | ✅       |
| `m`           | Optional memo providing context for the message.                                                                            | `string` | `"Standard message."`           | ❌       |

The `data` field typically contains a string value, but agents may also encode structured data as a JSON string if they prefer:

```json
{
  "p": "hcs-10",
  "op": "message",
  "operator_id": "[email protected]",
  "data": "{\"content\":\"Hello Bob\",\"metadata\":{\"timestamp\":1709654845}}",
  "m": "Message with JSON-encoded structured data."
}
```
HCS-10 transaction proposal · Draft observed 2026-11-12

Transaction Operation section; exact source excerpt, not a generated JSON Schema; lines 692–758.

Primary source
Revision:
ae4af42191705696095c41b02ab3f2d66fa0dc5c
Observed:
2026-11-12
Snapshot SHA-256:
f9667e72fa35cec206463dde84973f9b6bc2092a46720b099897398e0b5bd1a1
License:
Apache-2.0; source attribution retained.
  • Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
##### **Transaction Operation**

Sent on a Connection Topic to propose a scheduled transaction that requires approval or signature from the recipient. This enables approval-required workflows where an entity (human or agent) can prepare a transaction that another entity must approve before execution.

```json
{
  "p": "hcs-10",
  "op": "transaction",
  "operator_id": "[email protected]",
  "schedule_id": "0.0.987654",
  "data": "Transfer 10 HBAR to account 0.0.111222",
  "m": "Scheduled transaction for your approval."
}
```

| Field         | Description                                                                                                                                               | Type     | Example Value                                | Required |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------------------------------------------- | -------- |
| `p`           | Protocol identifier, always "hcs-10".                                                                                                                     | `string` | `"hcs-10"`                                   | ✅       |
| `op`          | Operation identifier, always "transaction".                                                                                                               | `string` | `"transaction"`                              | ✅       |
| `operator_id` | Identifier for the entity proposing the transaction in the format `inboundTopicId@accountId`.                                                             | `string` | `"[email protected]"`                    | ✅       |
| `schedule_id` | The Hedera Schedule ID of the scheduled transaction.                                                                                                      | `string` | `"0.0.987654"`                               | ✅       |
| `data`        | Content describing the transaction. Typically a human-readable string, but can also be a JSON string for structured data or an HRL for extensive details. | `string` | `"Transfer 10 HBAR to account 0.0.111222"`   | ✅       |
| `m`           | Optional memo providing context for the transaction proposal.                                                                                             | `string` | `"Scheduled transaction for your approval."` | ❌       |

The recipient of this operation can approve the scheduled transaction by signing it with their Hedera account key through a ScheduleSignTransaction. No additional message is required in the HCS-10 protocol, as the transaction execution on Hedera serves as confirmation.

**Examples of `data` field usage in `transaction` operation:**

1.  **Simple human-readable string:**

    ```json
    {
      "p": "hcs-10",
      "op": "transaction",
      "operator_id": "[email protected]",
      "schedule_id": "0.0.987654",
      "data": "Proposal to transfer 500 HTS_TOKEN_XYZ to eco_fund.c10 for Q4 budget allocation.",
      "m": "Q4 Budget Allocation Proposal"
    }
    ```

2.  **JSON string for structured data (e.g., parameters for a smart contract call):**

    ```json
    {
      "p": "hcs-10",
      "op": "transaction",
      "operator_id": "[email protected]",
      "schedule_id": "0.0.112233",
      "data": "{\"contract_id\":\"0.0.445566\",\"function_name\":\"updateVotingThreshold\",\"params\":[{\"name\":\"newThreshold\",\"value\":75,\"type\":\"uint256\"}]}",
      "m": "DAO Proposal: Update Voting Threshold"
    }
    ```

3.  **HRL reference for extensive documentation or complex proposal details:**

    ```json
    {
      "p": "hcs-10",
      "op": "transaction",
      "operator_id": "[email protected]",
      "schedule_id": "0.0.778899",
      "data": "hcs://1/0.0.990011",
      "m": "Review full Project Phoenix proposal (see HRL)"
    }
    ```

Version differences

  • a2a: index 1.0.0; examined schema 1.0.1. Schema analysis is pinned separately from the index record. Review before applying a crosswalk to another version.

Scope limits

  • Throughline offers editorial suggestions for voluntary collaboration in the open-source ecosystem. Each community sets its own scope, governance and priorities. Inclusion does not imply participation, endorsement, an agreed liaison or an obligation to act.
  • A bounded, reviewed workflow and schema corpus, observed 12 November 2026. It does not enumerate every AI standard, implementation or deployment. Missing coverage is an evidence gap, not evidence that a standard lacks a capability.
  • The HCS-10 and A2A lifecycle bridge is proposed; neither a metadata overlap nor an SDK proves end-to-end behavior.
  • Implementation links are recorded projects, not an exhaustive deployment census or proof that this composed workflow passes. No live workflow execution occurs in this screen.
HOL Throughline · Sources before conclusions