Replies: 7 comments 4 replies
-
|
For example, when an agent publishes an event (i.e., something has happened), and one or more other agents react in a way that the original agent did not anticipate. |
Beta Was this translation helpful? Give feedback.
-
|
There are already integrations with Kafka (useful for existing Enterprise systems as well). https://www.confluent.io/blog/google-agent2agent-protocol-needs-kafka/ |
Beta Was this translation helpful? Give feedback.
-
|
A2A JsonRPC messages are messages and can use almost any kind of transport. It doesn't need an "integration". |
Beta Was this translation helpful? Give feedback.
-
RFC: A2A Protocol Extension for Broker-Based Communication
1. Executive SummaryThis RFC proposes an extension to the Agent2Agent (A2A) Protocol to support Message Brokers as a first-class transport layer. This proposal introduces the Agent Inbox Pattern for communication and a Discovery Registry Topic for stateful agent discovery, moving away from point-to-point HTTP lookups. 2. MotivationIn a broker-based architecture, agents shouldn't need to know each other's network addresses.
3. Agent Discovery & Connection3.1 Current State: Direct HTTP DiscoveryExisting A2A relies on direct polling of an 3.2 Proposed State: The Registry TopicWe propose a standardized Discovery Channel (e.g.,
Updated Agent Card (Inbox Specification)The Agent Card now explicitly defines its {
"agent_id": "agent-774-beta",
"name": "ProductionAgent_v1",
"transports": [
{
"type": "broker",
"provider": "kafka",
"connection_details": {
"bootstrap_servers": ["kafka.cluster.local:9092"],
"inbox_topic": "a2a.inbox.agent-774-beta",
"registry_topic": "a2a.registry"
}
}
]
}4. Technical Specification: The Inbox Pattern4.1 Request-Response FlowCommunication is entirely asynchronous. To maintain the "request-response" semantics of A2A, we utilize the Return Inbox pattern.
4.2 Message Metadata (Headers)Broker-specific headers must be used to route these messages without parsing the JSON body:
5. Comparison Matrix
6. Backward Compatibility & Interoperability
7. Security Considerations
|
Beta Was this translation helpful? Give feedback.
-
|
@dinesh707 I have some doubts about the shared topic |
Beta Was this translation helpful? Give feedback.
-
|
@dinesh707 another concern about So, A2A Async Protocol shouldn't rely on broker-specific things and encode all required data to single structure and push it as bytes |
Beta Was this translation helpful? Give feedback.
-
|
We can reuse combination of Server bindings + Channel bindings to describe agents' server and inbox cc @derberg |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering if there are use cases where Event-Driven communication (i.e., Kafka) would be better than HTTP for handling tasks, states, messages and artifacts transport. Ok, currently we have push notifications and SSE. But SSE needs a tunnel initiated by a client agent and is not really 100% async. And push notifications can have delivery and reliability problems,
Beta Was this translation helpful? Give feedback.
All reactions