Repository navigation
fix: serve and advertise the a2a json-rpc endpoint at /a2a in every language - #457
Merged
Merged
Conversation
Generated TypeScript agents served JSON-RPC at the ADK default `/` while the Go and Rust agents, the generated README and AGENTS.md all use `/a2a`, so clients built for those (the Go ADK client always appends `/a2a`) got a 404. The agent now sets jsonRpcPath to /a2a, and the card's fallback interface URL points there.
Generated Go and Rust agents served a card whose interface URL was empty unless A2A_AGENT_URL was set, so spec-following clients such as the A2A TCK had nowhere to send requests. Rust and TypeScript also ignored A2A_AGENT_URL. All three now advertise A2A_AGENT_URL, else the manifest's interface URL, else their own /a2a endpoint on localhost.
This was referenced Oct 3, 2026
This was referenced Oct 3, 2026
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Oct 3, 2026
## [0.65.4](v0.65.3...v0.65.4) (2026-10-03) ### ♻️ Improvements * **rust:** let the adk resolve the agent card url ([#461](#461)) ([f5e438a](f5e438a)) ### 🐛 Bug Fixes * serve and advertise the a2a json-rpc endpoint at /a2a in every language ([#457](#457)) ([71e2c82](71e2c82)) * **typescript:** register every a2a method the agent card advertises ([#458](#458)) ([7149295](7149295)) ### 🔧 Miscellaneous * **deps:** bump template pins to latest ([#460](#460)) ([503a054](503a054))
Contributor
|
🎉 This PR is included in version 0.65.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
018c431): generated TS agents served JSON-RPC at the ADK default/, while Go, Rust, the generated README and AGENTS.md use/a2a. Clients built for/a2agot a 404 (the Go ADK client always appends/a2a). The TS agent now setsjsonRpcPath: '/a2a'.6bfa287): Go and Rust agents served a card with an empty interface URL unlessA2A_AGENT_URLwas set, so spec-following clients such as the A2A TCK, which post to that URL, had nowhere to go. Rust and TS ignoredA2A_AGENT_URL. All three now advertiseA2A_AGENT_URL, else the manifest'sspec.card.supportedInterfaces[0].url, else<scheme>://localhost:<port>/a2a. CONFIGURATIONS.md documents the new default.Verification
Agents generated from
examples/against the #456 pins (adk v0.31.1, TS 0.18.1, Rust 0.16.1), run with.env.exampledefaults plus a stub OpenAI-compatible LLM, then checked with the official TCK (--transport jsonrpc --level must) and the Go ADKprotocol-methodsclient:go-agent-ai)""http://localhost:<port>/a2ago-agent,A2A_AGENT_URLset)""rust-agent)""http://localhost:<port>/a2atypescript-agent)http://0.0.0.0:<port>(served at/)http://localhost:<port>/a2a/a2a)golangci-lint runandgo test ./...pass. New tests cover the TS path and the card URL default for Go and Rust (derived and manifest-declared).Left
pushNotifications: false, where the spec wants-32003. ADK side.ListTasks:CORE-LIST-001..005fail, the same as the rust-adk TCK run. rust-adk side.createMessageStreamHandler,createTaskCancelHandler,createTaskResubscribeHandlerand the push config handlers. That accounts for 8 of the 14 TS failures. Follow-up in adl-cli.