a2a-java icon indicating copy to clipboard operation
a2a-java copied to clipboard

Consider creating an A2A extension to add metadata to messages to share context remotely

Open fjuma opened this issue 1 year ago • 1 comments

This is something that we still need to discuss but the overall idea is to have something that can be used to add JSON metadata to a message that an A2A server agent can make use of and add additional things to so there's a concept of a shared memory between remote agents.

fjuma avatar Oct 20 '25 17:10 fjuma

MCP protocol supports metadata to be attached to interactions between MCP client and server. The spec read as follows

The _meta property/parameter is reserved by MCP to allow clients and servers to attach additional metadata to their interactions.

In the Agent2Agent (A2A) protocol, message metadata is an optional field in the message structure used to provide additional, contextual, and extensible information to enrich agent interactions.

So metadata can in theory be propagated upstream when agents call MCP tools

mescaja avatar Dec 19 '25 22:12 mescaja