You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title: Best practice for exposing Remote A2A Agent state and UI metadata to the calling ADK agent
Hi,
I'm building a multi-agent system with Google ADK where one ADK agent communicates with an external agent through RemoteA2aAgent.
The external agent is not just returning a final result. It has a long-running workflow and exposes information such as:
Current workflow state
Progress
Current step
Next expected action
Dynamic UI controls (buttons, forms, etc.)
Other metadata that the calling agent can use to decide how to continue the conversation.
After reading the A2A specification, I'm still unsure what the recommended approach is for this kind of information.
My questions are:
Is there an official or recommended pattern for exposing agent state through A2A?
Should this information be placed in metadata, artifacts, or somewhere else?
If the information is not part of the user's final output but rather represents the execution state of the remote agent, what is the intended location?
Is there a recommended contract for exposing dynamic UI information (buttons, forms, next actions) so that different agents can interoperate consistently?
If multiple remote agents are integrated, is there a best practice for keeping a consistent response contract across all of them?
My goal is to define a standardized contract that every external agent can implement, allowing the calling ADK agent to understand the remote agent's state without requiring custom logic for each integration.
I'd appreciate any guidance or examples of recommended patterns.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Title: Best practice for exposing Remote A2A Agent state and UI metadata to the calling ADK agent
Hi,
I'm building a multi-agent system with Google ADK where one ADK agent communicates with an external agent through
RemoteA2aAgent.The external agent is not just returning a final result. It has a long-running workflow and exposes information such as:
After reading the A2A specification, I'm still unsure what the recommended approach is for this kind of information.
My questions are:
metadata,artifacts, or somewhere else?My goal is to define a standardized contract that every external agent can implement, allowing the calling ADK agent to understand the remote agent's state without requiring custom logic for each integration.
I'd appreciate any guidance or examples of recommended patterns.
Beta Was this translation helpful? Give feedback.
All reactions