Skip to content

Track A2A 1.0 JSON-RPC interoperability across the Rust, Python, and TypeScript SDKs #119

Open

Description

@tercel

Summary

Track A2A 1.0 JSON-RPC interoperability across the Rust, Python, and TypeScript SDKs. The three SDKs share the contract, but the failures occur at different points. Implementation is deferred for now given current usage. APEXE currently documents its authenticated legacy flow and warns on startup. Its A2A 1.0 acceptance gate remains open.

Observed behavior

These results came from local requests using a harmless echo skill or a disposable loopback API.

SDK and tested dependency Observed behavior
Rust, apcore-a2a 0.8.5 as used by APEXE The actual Agent Card advertises JSON-RPC 1.0. SendMessage with A2A-Version: 1.0 returns -32601. Legacy message/send with an explicit 99.0 version still executes. The Rust dispatcher matches legacy method names and has no version check. Its ListTasks handler also ignores filter and pagination parameters.
Python, a2a-sdk 1.3.1 Standard SendMessage returns result.task. It returns -32009 for 99.0. Legacy message/send also rejects 99.0, but reports -32603. The headerless and empty-header legacy calls complete.
TypeScript, @a2a-js/sdk 1.0.1 Standard SendMessage completes, and both standard and legacy method names return -32009 for 99.0. With completed tasks in the store, ListTasks using only pageSize omits those tasks. Adding status: TASK_STATE_COMPLETED returns them with pagination metadata. The present task-scoping tests document the upstream status-default behavior.

Sources are the Rust dispatcher, Python legacy routing setup, and TypeScript task-scoping regression.

Acceptance

  • Use a shared wire test matrix across the three SDKs. Read the actual Agent Card and check that its advertised interface and capabilities match what an independent client can call.
  • Make explicit 1.0 requests use standard methods and envelopes. Exercise send, get, cancel, and list with a real task lifecycle. Check unfiltered and filtered pagination and any advertised streaming and optional capabilities.
  • Return VersionNotSupportedError (-32009) with the original request ID for an explicit unsupported version, including a request with a legacy method name. Verify that the rejected request creates no task and calls no executor.
  • Preserve the verified legacy client flow with omitted or empty version headers, and keep the existing versioned ListTasks client call working. Keep caller isolation and approval behavior intact.
  • Verify the released Rust SDK through the APEXE CLI before changing its compatibility warning or declaring A2A 1.0 support.

References are the A2A 1.0 version rules, JSON-RPC binding, and protocol error mappings.

Activity

  1. tercel commented on Nov 29, 2026

    @tercel
    ContributorAuthor

    Merged into Surfaces main

    Remaining after publication

    • Upgrade APEXE to a published Rust apcore-a2a package containing these changes. Record the resolved crate version and use that dependency to build and run apexe a2a.
    • From an independent client, fetch the running server's Agent Card and verify its advertised interface and capabilities. Run authenticated A2A 1.0 SendMessage, GetTask, CancelTask, and filtered and paginated ListTasks against a real task lifecycle.
    • Verify that an unsupported explicit version returns -32009 with the original request ID and does not dispatch. Recheck the authenticated legacy flow with omitted and empty version headers, including the existing versioned ListTasks call.
    • Record the results here, then update APEXE's startup compatibility warning and documentation to reflect the verified behavior before closing this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions