Skip to content

[DOCS] Rust ADK: remove inert AGENT_*, A2A_CAPABILITIES_* and A2A_DEBUG config docs #804

Closed

Description

Summary

The Rust ADK README documented configuration inputs that the crate never reads, and
inference-gateway/rust-adk#165 removed them. If the docs site repeats any of these for the
Rust ADK, the same corrections are needed there.

Inputs that have no reader in the crate (verified by grep over src/ and examples/):

  • Build-time AGENT_NAME, AGENT_DESCRIPTION, AGENT_VERSION - no env!/option_env! reads
    them. Card name, description and version come only from the agent card JSON passed to
    with_agent_card / with_agent_card_from_file, plus AgentCardOverrides.
  • AGENT_CARD_FILE_PATH - the card path is only the path argument of
    with_agent_card_from_file(path, overrides).
  • A2A_CAPABILITIES_STREAMING, A2A_CAPABILITIES_PUSH_NOTIFICATIONS,
    A2A_CAPABILITIES_STATE_TRANSITION_HISTORY - the served card and the builder's
    streaming-handler validation use the card's own capabilities only.
  • A2A_DEBUG - Config.debug has no reader; log verbosity comes from RUST_LOG via
    EnvFilter::try_from_default_env().

Related PR: inference-gateway/rust-adk#165

Acceptance Criteria

  • Rust ADK pages do not present build-time AGENT_* metadata or AGENT_CARD_FILE_PATH as
    a way to set agent card fields
  • Rust ADK env-var references drop A2A_CAPABILITIES_* and A2A_DEBUG, or mark them inert
  • Any Rust ADK container/Dockerfile example drops the --build-arg AGENT_* pattern and
    instead copies or mounts an agent card JSON

Activity

  1. added
    documentation
    on Sep 26, 2026
  2. edenreich commented on Sep 26, 2026

    @edenreich
    Contributor

    @claude Can you work on this?

  3. inference-gateway-maintainer commented on Sep 26, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Done - PR #807

    • Gather context (find Rust ADK pages referencing the inert env vars)
    • Track issue on Roadmap 2026 board (In progress -> QA)
    • Remove inert AGENT_*, A2A_CAPABILITIES_*, A2A_DEBUG from Rust ADK docs
    • Fix Rust ADK container/Dockerfile examples - n/a, none existed
    • Validate (lint:md, format:check, build, bun test)
    • Commit + open PR

    What changed

    All edits are in rust-adk.md; it was the only Rust ADK page carrying these.

    1. Agent card and metadata (rust-adk.md:522) - deleted the "Build-time metadata" subsection and its AGENT_NAME/AGENT_DESCRIPTION/AGENT_VERSION + cargo build --release snippet. The section intro now says card name, description, version, url, and capabilities come only from the card JSON passed to with_agent_card / with_agent_card_from_file, plus AgentCardOverrides, and that the card path is the path argument rather than a configured value. The AgentCardOverrides example below it was already correct and stays.
    2. Env var reference preamble (rust-adk.md:1149) - it asserted the card's identity fields were read from build-time AGENT_* variables; now it states identity and capabilities are not environment-configurable. Added a short note that log verbosity comes from RUST_LOG via EnvFilter::try_from_default_env(), which is what replaces the removed A2A_DEBUG.
    3. Server and core table - dropped the A2A_DEBUG row.
    4. Capabilities - replaced the three-row A2A_CAPABILITIES_* table with a line pointing at the card's own capabilities object, cross-linked to the builder's streaming-handler validation note, which is the behavior people were reaching for those vars to control.

    Notes on the acceptance criteria

    • No AGENT_CARD_FILE_PATH mention and no --build-arg AGENT_* container example existed on the page, so criteria 1 (partly) and 3 needed no edit. Removing the build-time section covers the rest of criterion 1.
    • I removed the inert vars outright rather than marking them inert - the issue allows either, and a reference table is more useful without rows that do nothing.
    • Other pages matching these names (adk.md, n8n-agent.md, browser-agent.md, grafana-agent.md, mock-agent.md, documentation-agent.md) are Go ADK surfaces, where these vars are live. Left untouched, as the issue scopes to the Rust ADK.

    Validation

    bun run lint:md, bun run format:check, bun test (12 pass, 0 fail), and bun run build all pass. The generated GENERATED:adk-provider-table block was not touched, so no task generate run was needed.
    | Branch

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

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.17 🎉

    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