Replies: 1 comment
-
|
The example that I was looking at getting working is deploying multiple helloworld agent instances as different agent services in a k8s cluster. I am exposing them via an ingress gateway (& loadbalancer) behind different URL paths. The configuration for the request routing to agent service is via the gateway-api CRDs. Normally, with other workload types that's where it ends. I just point the service clients at the domain + URL path of the ingress gateway + service. However, with A2A agents, I need to
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi A2A-folks!
In digging in a bit on the sample agent implementations I noticed AgentCard.url is a required attribute. For the Well-Known URI discovery use-case, this looks like it requires an endpoint workload (A2A server) to know the public details of how it's hosted which I'd consider an anti-pattern for public service hosting.
Could the semantics be changed to something like step 4 below (my edit)?
Client SDKs supporting step 4 semantics would make the Well-Known URI discovery method much more realistically usable for simple hosting using typically existing workload deployment methods.
The issue that I see is that requiring agent instances to return AgentCard's with URLs that clients should use is that it makes it more complicated to develop and release agent implementations to other organizations. Those that handle the workload hosting and tie in via existing service exposure mechanisms would not typically have to handle configuring workload level configuration with information only available in the hosting platform runtime. Also from an agent developer standpoint, this service discovery tie-in requires the agent endpoint implementation to be configurable at runtime to be able to build the AgentCard.url value. The hosting platform operations would have to provide the endpoint URL constituent information in the agent implementation-specific way.
The alternative is to bring in a whole extra agent registry type of service that allows mapping custom URLs to agent instances in order to serve Agent Cards to clients that are different than what the individual agent endpoints respond with, ie. something that mutates AgentCards returned from agent instances.
I think a somewhat related past discussion: #166
Beta Was this translation helpful? Give feedback.
All reactions