Skip to content

[DOCS] Document the A2A v1.0.1 client compatibility in the CLI #904

Closed

Description

@inference-gateway-maintainer

Summary

The A2A client in inference-gateway/cli is being migrated to ADK v0.30.0, which speaks A2A v1.0.1 on the wire (migration PR: inference-gateway/cli#1476, tracking issue: inference-gateway/cli#1474). This changes user-facing behavior that the documentation should reflect:

  • A canceled A2A task now surfaces the v1.0.1 state spelling TASK_STATE_CANCELED in A2A tool results. The CLI still reads the pre-v1.0.1 spelling TASK_STATE_CANCELLED, so agents on either release keep rendering as terminal Canceled.
  • The agent card surfaced by the A2A_QueryAgent tool now follows the v1.0.1 AgentCard shape, where the endpoint lives in supportedInterfaces (first entry preferred) and the tool result message calls out the preferred endpoint.
  • Affected in-repo pages (for routing into the docs site): a2a-connections.md, tasks-management.md, agents-configuration.md, and any page that quotes task state spellings or agent card fields.

Acceptance Criteria

  • The A2A connections documentation states the CLI speaks A2A v1.0.1 against ADK v0.30.0 based agents
  • Any quoted task state spellings are updated to TASK_STATE_CANCELED with a note that the old TASK_STATE_CANCELLED spelling is still accepted on read
  • Any agent card example shows the supportedInterfaces endpoint instead of the removed flat url field

Activity

  1. added
    documentation
    on Oct 2, 2026
  2. edenreich commented on Oct 2, 2026

    @edenreich
    Contributor

    @claude can you document this? if still relevant.

  3. inference-gateway-maintainer commented on Oct 2, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 3m 27s —— View job • docs/issue-904-20261002-1325 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-904-20261002-1325?quick_pull=1&title=Issue%20%23904%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23904%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done - PR opened

    Still relevant, but only partly: two of the three acceptance criteria were already covered in the docs.

    • Gather context - checked the CLI-side migration and what the docs already say
    • Documented the v1.0.1 client behavior in a2a.md (new "Protocol Version and Task States" subsection + A2A_QueryAgent card-shape note)
    • Added a one-line protocol-version note in the cli.md A2A Integration section
    • Validation: bun run lint:md, bun run format:check, bun run build - all clean
    • Opened PR #908

    What changed

    • a2a.md: the CLI's A2A client speaks A2A v1.0.1 (ADK v0.30.0 agents); a canceled task reports TASK_STATE_CANCELED, while TASK_STATE_CANCELLED and the bare canceled / cancelled forms are still accepted on read, so agents on either release render as terminal Canceled.
    • a2a.md: A2A_QueryAgent returns the v1.0.1 agent card shape - the endpoint comes from supportedInterfaces (first entry preferred) and the result message names the preferred endpoint, falling back to the configured agent URL.
    • cli.md: short protocol-version note linking into the new a2a.md subsection.

    Already satisfied, so not changed

    • No page quoted TASK_STATE_CANCELLED anywhere, so there was nothing to re-spell.
    • The agent card example in a2a.md already uses supportedInterfaces instead of a flat url field (the ADL CLI and Rust ADK pages document the v1.0.1 card too).
    • The pages named in the issue (a2a-connections.md, tasks-management.md, agents-configuration.md) do not exist in this repo - the equivalent content lives in a2a.md and cli.md.

    Timing caveat

    The CLI migration to ADK v0.30.0 has not landed yet - CLI main is still on ADK v0.29.0. The read-compatibility and card wording hold either way, but the "speaks A2A v1.0.1" statement only becomes true once that migration merges, so the PR body asks to hold the merge until then.
    | Branch

  4. moved this from In progress to QA in 2026on Oct 2, 2026
  5. inference-gateway-releaser commented on Oct 4, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.21 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    documentationreleased

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions