Skip to content

[DOCS] Rust ADK agent card URL default is now the server's own /a2a endpoint #920

Closed

Description

@inference-gateway-maintainer

Summary

rust-adk now resolves the URL it advertises in the agent card's supportedInterfaces[0].url instead of defaulting to the placeholder host http://helloworld-agent:8080. Precedence: AgentCardOverrides::with_url > A2A_AGENT_URL > the agent card's own non-empty URL > http(s)://localhost:<A2A_SERVER_PORT>/a2a (https when A2A_SERVER_TLS_ENABLED=true). The URL is also filled in when the card declares no supportedInterfaces entry.

This matches the default adl-cli generates for Go, Rust and TypeScript (inference-gateway/adl-cli#457).

Source PR: inference-gateway/rust-adk#195 (closes inference-gateway/rust-adk#193)

Affected pages: any Rust ADK configuration reference that lists A2A_AGENT_URL or shows the old http://helloworld-agent:8080 default, plus the agent-card / discovery pages that describe what a Rust agent advertises.

Acceptance Criteria

  • A2A_AGENT_URL is documented with the fallback chain above
  • No page still shows http://helloworld-agent:8080 as the Rust default
  • The derived default notes the https variant under A2A_SERVER_TLS_ENABLED

Activity

  1. added
    documentation
    on Oct 3, 2026
  2. added theissue type on Oct 3, 2026
  3. edenreich commented on Oct 3, 2026

    @edenreich
    Contributor

    @claude can you work on this? use /ponytail:ponytail

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

    @inference-gateway-maintainer
    ContributorAuthor

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


    Done - PR #926

    • Gather context
    • Locate A2A_AGENT_URL / helloworld-agent:8080 references
    • Update docs
    • Validate (lint:md, format:check, build - all pass)
    • Commit + open PR

    Changes (rust-adk.md, +17/-6)

    • Env var reference: A2A_AGENT_URL default is now _(derived)_ with a pointer to the resolution chain. The placeholder http://helloworld-agent:8080 is gone - it was the only occurrence in the repo.
    • Agent card and metadata: added the precedence chain - AgentCardOverrides::with_url > A2A_AGENT_URL > the card's own non-empty supportedInterfaces[0].url > http://localhost:<A2A_SERVER_PORT>/a2a, https:// when A2A_SERVER_TLS_ENABLED=true - plus the note that the same resolution fills the URL in when the card declares no supportedInterfaces entry.

    Both edits sit outside the GENERATED:* markers, so no generator change was needed. Left adl-cli.md alone - its mention of A2A_AGENT_URL describes manifest-derived interfaces and stays accurate.

    All three acceptance criteria are covered.

    PR: #926
    | Branch

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

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions