Skip to content

[DOCS] Update the ADK pages for the A2A v1.0.1 AgentCard API #901

Closed

Description

@inference-gateway-maintainer

Summary

The ADK pages still document the pre-A2A-v1.0.1 AgentCard API, even though all three ADKs shipped their v1.0.1 migration (Go v0.30.0, TypeScript 0.17.0, Rust 0.15.0). The manifest reference and the well-known agent card docs were updated in #899, but that PR deliberately left the per-language ADK API surface alone because it needs a pass per ADK rather than a find-and-replace.

Stale surfaces:

  • adk.md - the card-driven authentication flow and extended-card sections describe supportsExtendedAgentCard on the public card, a card-level security field, and the -32004 / -32007 contract keyed off that flag. v1.0.1 moves the flag to capabilities.extendedAgentCard and renames security to securityRequirements.
  • typescript-adk.md - card examples use a top-level url plus protocolVersion, and decorateAgentCardWithAuth is documented as setting supportsExtendedAgentCard: true and a security requirement.
  • rust-adk.md - card examples and the extended-card error table are keyed off supportsExtendedAgentCard; the capabilities note still describes stateTransitionHistory as settable in the card JSON. Also still refers to the discovery endpoint as /.well-known/agent.json rather than /.well-known/agent-card.json.

Each page needs checking against the published ADK version it documents, since the per-language builder APIs changed too (for example the Go scaffold now overrides supportedInterfaces rather than url on WithAgentCardFromFile, and follows the AuthConfig.Enable -> Enabled rename).

Acceptance Criteria

  • adk.md card and extended-card sections match go-adk v0.30.0: supportedInterfaces, securityRequirements, capabilities.extendedAgentCard.
  • typescript-adk.md card examples and auth-decoration docs match adk 0.17.0.
  • rust-adk.md card examples, extended-card error table and capabilities note match rust-adk 0.15.0, including the /.well-known/agent-card.json endpoint name.
  • No page still presents supportsExtendedAgentCard, a card-level security field, a top-level card url / preferredTransport / protocolVersion, or stateTransitionHistory as current API.
  • bun run lint:md, bun run format:check and bun run build pass.

Activity

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

    @edenreich
    Contributor

    @claude is that a duplicate? if not, adjust the docs.

  3. moved this to Todo in 2026on Oct 2, 2026
  4. added theissue type on Oct 2, 2026
  5. inference-gateway-maintainer commented on Oct 2, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Not a duplicate - the ADK pages were out of scope of the earlier card-reference work, so I did the per-ADK pass

    • Check whether this duplicates the work already merged
    • Verify each page against the published ADK source (go-adk v0.30.0, typescript-adk 0.17.0, rust-adk 0.15.0)
    • Update adk.md, typescript-adk.md, rust-adk.md
    • bun run lint:md, bun run format:check, bun run build all pass
    • Open PR

    #902 - docs: update ADK pages for A2A v1.0.1 AgentCard

    What changed

    adk.md - both types.AgentCard examples now use SupportedInterfaces instead of a top-level URL / ProtocolVersion, and drop StateTransitionHistory (gone from the type). card.Security -> card.SecurityRequirements, "security" -> "securityRequirements" in the card JSON, and the auth flow plus extended-card error table are keyed off capabilities.extendedAgentCard - what HandleGetAuthenticatedExtendedCard actually reads.

    typescript-adk.md - all six AgentCard literals and both JSON response examples carry the required supportedInterfaces array; decorateAgentCardWithAuth documented as extending securityRequirements per src/auth/card-decoration.ts; supportsExtendedAgentCard -> capabilities.extendedAgentCard throughout, including the page description.

    rust-adk.md - error table and prose on capabilities.extendedAgentCard. Also fixed the oidc_security_schemes snippet: card.security_schemes = schemes; card.security_requirements = security; - both fields are non-Option on the generated type, so the old Some(...) wrapping did not compile. The capabilities note now says a card still carrying stateTransitionHistory fails to deserialize, since AgentCapabilities is #[serde(deny_unknown_fields)]. AgentCardOverrides::with_url documented as rewriting the first supportedInterfaces entry.

    All three "the served card is still the pre-1.0.1 shape" callouts are replaced with short notes stating the card now IS the v1.0.1 shape, keeping the link to the field mapping.

    One acceptance criterion I did not meet, deliberately

    The issue asks rust-adk.md to use /.well-known/agent-card.json. rust-adk 0.15.0 does not serve that path - src/server/server_core.rs registers /.well-known/agent.json and src/client.rs fetches the same. Renaming it would document an endpoint that 404s, so the page keeps agent.json plus an explicit note that the Rust ADK lags A2A v1.0.1 and the other two ADKs here. Filed as rust-adk#183; the docs change is one line once that ships.
    | Branch

  6. moved this from Todo to In progress in 2026on Oct 2, 2026
  7. 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

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions