Agent-to-Agent Integration
Dette indhold er ikke tilgængeligt i dit sprog endnu.
Chapter 23 of Integration Architect, Part 3: The Connected and Agentic Enterprise (Direct). Previous: MCP, Headless Systems, and Agent Tools · Next: What I Would Architect.
At Dreamforce 2026 I told the room the best architect doesn’t ask “Can AI do this?” They ask “Should AI do this?” Chapter 22 asked it once: does this job need an agent at all? This chapter asks it one level up. You have an agent. Does it need another agent, or just a tool?
When the answer is another agent, the integration carries more than data. It carries part of the thinking. One agent hands a goal to another, and the other plans, decides and acts on its own part. That’s a new kind of arrow, and it still needs everything an arrow has always needed: a contract, an identity, a version, a timeout, a failure plan and an owner.
The ideas in this chapter
Section titled “The ideas in this chapter”- A tool or a colleague. If the other side does one job you described, it’s a tool: use MCP. If it owns part of the reasoning, it’s a colleague: use A2A. AI on both sides doesn’t decide it. The relationship does.
- Start inside one org. One front door for the customer, an orchestrator behind it, and connected subagents. Many orgs only when it’s a real requirement.
- The agent card is a contract written in words. Read it like any third-party API: who, signed or not, how you prove who you are, what it will do, how you’ll hear back, which version.
- Today, dated. A2A 1.0.1 is the latest release. Salesforce has announced Third-Party Agent Orchestration; check its documentation before you design on it.
- AI changes execution, not accountability. Plan every ending before you hand work over: failed, rejected, cancelled, timed out. The fallback chain ends with a person, there’s no undo across agents, and the person who owns the front door owns the outcome.
The path through this chapter
Section titled “The path through this chapter”Four modules, each standing on its own.
- Call a Tool or Ask an Agent? Should AI do this; a tool or a colleague; why split an agent at all; seven patterns on one page; the integration underneath.
- Start Inside One Org. One front door; what Salesforce made generally available; who talks to the user; escalation from anywhere; test the handoff; many orgs, only when it’s real.
- Across Vendors: Agent Cards and Tasks. A2A with a date; the agent card; the task and its states; long work; versions in one network; Salesforce’s path, dated; the hands-on: read an agent card as an architect.
- When Delegated Work Fails, and Who Owns It. Four ways delegated work ends badly; who tells the user; the fallback chain; no undo across agents; one trace across the chain; someone is always accountable; the hands-on: a runbook for one delegation.
Who the work is done as at each hop is taught in the Identity course’s Across the Hops, and who answers for a single agent in Agents Come and Go. This chapter links to them rather than repeating them.
What an architect decides here
Section titled “What an architect decides here”- Tool or colleague, for every capability an agent reaches, and whether it needs another agent at all.
- The front door, and which agent talks to the customer, in success and in failure.
- Which outside agents may receive work, after reading each card, and who the work is done as at every hop.
- How your side hears back for long work, and which version every arrow speaks.
- The deadline, the fallback chain and the undo for every delegated task.
- The correlation ID that ties every hop together, and the one person who owns the outcome, written down before go-live.
Beyond the exam. The Integration Architect exam’s objectives don’t name agents or A2A. This chapter is for the work. What carries over, and each module points to it, is the exam’s habits: the right mechanism for the requirement, a contract and a version for every arrow, least privilege across every boundary, a timeout and a retry plan, compensation where there’s no rollback, and an owner for every integration.
