Repository navigation
fix(python): serve BYO agents over A2A gRPC on Substrate - #3729
Merged
Merged
Conversation
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
supreme-gg-gg
marked this pull request as draft
November 18, 2026 20:18
supreme-gg-gg
marked this pull request as ready for review
November 18, 2026 20:45
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
codyhartsook
left a comment
Contributor
There was a problem hiding this comment.
🤖 AI-generated review. I reviewed the findings before posting.
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
codyhartsook
left a comment
Contributor
There was a problem hiding this comment.
🤖 AI-generated review. I reviewed the findings before posting.
codyhartsook
left a comment
Contributor
There was a problem hiding this comment.
🤖 AI-generated review. I reviewed the findings before posting.
Two optional cleanups. Neither blocks merge.
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
codyhartsook
approved these changes
Nov 20, 2026
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.
Python BYO agents built with
kagent.openai.KAgentAppfailed readiness on Substrate. Adding/readyzstill left the gateway sending gRPC requests to an HTTP JSON-RPC server, so requests never reached the model. CrewAI and LangGraph had the same issue.This change shares the Google ADK gRPC server across all four Python adapters. Each starts A2A gRPC on port
80by default, then exposes/readyzon8081.The cleanup removes the workload’s Uvicorn listener on
8080, obsolete FastAPI middleware, OpenAI’sbuild_local(), and redundant lifecycle wrappers. Existing Python entry points should switch fromuvicorn.run(app.build(), ...)toapp.build().run(). Clients continue to discover and invoke agents through the gateway.Without
--local,kagent-adk runnow readsconfig.jsonandagent-card.jsonfrom the controller's revision bundle in/config; copies bundled in the agent directory are ignored. Outside Substrate, use--local.