Skill 2.4.5

Integrate existing agents into a multi-agent solution securely by using Agent2Agent (A2A) and/or MCP

Key Concepts

With A2A, the existing agent publishes an agent card describing its skills, endpoint and authentication requirements; the client agent discovers it and sends tasks. Foundry agents call A2A endpoints through the A2A tool and can expose themselves as A2A endpoints (both preview), with the calling agent keeping control of the user conversation.

With MCP, the existing agent's capability is wrapped as an MCP tool, which suits request-response use without multi-turn negotiation. Security comes from authenticating every call (OAuth 2.0 or Microsoft Entra ID tokens), validating the agent card's origin, limiting the data sent to the remote agent, treating its responses as untrusted input and placing an API Management gateway in front for policies and logging.