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
This A2A implementation demonstrates inter-domain communication between agents in different domains. Unlike inter-agent communication within a single domain or application—where participating agents typically have full transparency into each other’s details—cross-domain agent communication enforces strict modularity and abstraction. In cross-domain scenarios, the logic and implementation of each agent system are hidden from one another, and only high-level structured information is exchanged. This approach aligns with Google’s Agent-to-Agent (A2A) protocol principles.
In this implementation, an agent within the Contoso Customer Service AI team collaborates with a Logistics Agent to arrange a product return pickup. After verifying the return eligibility, the Customer Service Agent initiates a multi-turn negotiation with the Logistics Agent to schedule a pickup at the customer's address. The process includes:
6
+
7
+
- The Customer Service Agent requesting available pickup slots from the Logistics Agent.
8
+
- The Logistics Agent responding with a list of available date/time options.
9
+
- The Customer Service Agent presenting these options to the customer and collecting a preferred slot.
10
+
- The Customer Service Agent confirming the selected slot with the Logistics Agent, who in turn confirms logistics with the carrier and finalizes the arrangement.
11
+
- Each communication is handled using high-level, schema-driven A2A messages, with neither agent exposing its internal logic, system details, or direct access to underlying services.
12
+
13
+
---
14
+
15
+
#### Mermaid Flow Diagram
16
+
17
+
```mermaid
18
+
sequenceDiagram
19
+
actor Customer
20
+
participant CSAgent as Customer Service Agent
21
+
participant LogAgent as Logistics Agent
22
+
23
+
Customer->>CSAgent: Request return for Order #85
24
+
CSAgent->>Customer: Verifies eligibility, explains process
0 commit comments