Skip to content

Path support needed in remoteA2A Agents #4448

@deepaknlwl

Description

@deepaknlwl

Problem

We cannot pass path in the while exposing a remote a2a agent.

a2a_app = to_a2a(
        root_agent, 
        port=8007,
    )

Solution

We should be able to pass path, so that we can have different url for different agent.

a2a_app = to_a2a(
        root_agent, 
        port=8007,
        path="/analysis-agent"
    )

OR

We should be able to http url, If it is present host and port configurations are ignored.

a2a_app = to_a2a(
        root_agent, 
        port=8007,
        path="/analysis-agent"
    )

Name - http_url
Type - str | None
Description - The public HTTP URL where this agent will be accessible. If provided, this overrides the generated URL from host/port
Default - None

Impact on your work

It would be easy to route request from ingress.
when we have multiple agents in a namespace and single ingress

Metadata

Metadata

Assignees

Labels

a2a[Component] This issue is related a2a support inside ADK.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions