plugins/microsoft-agents-expert/skills/agent-interop/SKILL.md
Choose and combine Microsoft agent stacks — the Copilot Studio vs Teams SDK vs M365 Agents SDK vs Agent Framework vs Foundry decision matrix, plus interop patterns - MCP as the tool fabric, A2A as the agent protocol, hosting matrices, and Agent 365 identity/observability.
npx skillsauth add markus41/claude plugins/microsoft-agents-expert/skills/agent-interopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The five pieces solve different layers of the same problem. Most production systems combine a build layer (Copilot Studio or Agent Framework) with a hosting/channel layer (Foundry Agent Service or M365 Agents SDK/Teams SDK).
Source: https://learn.microsoft.com/microsoft-365/copilot/extensibility/overview-custom-engine-agent
| | Copilot Studio | Teams SDK | M365 Agents SDK | Foundry | |---|---|---|---|---| | Approach | Low-code SaaS | Pro-code | Pro-code | Low-code or pro-code PaaS | | Orchestrator | Copilot Studio | Bring your own | Bring your own (Agent Framework, SK, LangChain) | Bring your own / managed | | Channels | M365 Copilot, Teams, web, custom (Direct Line) | M365 Copilot, Teams | M365 Copilot, Teams + 10+ channels via Azure Bot Service | M365 Copilot, Teams (others via custom integration) | | Languages | n/a | C#, TS/JS, Python (preview) | C#, JS, Python | Python, C# |
Rules of thumb
| Pattern | How |
|---|---|
| Agent Framework inside M365 Agents SDK | AgentApplication turn handler calls agent.run(...); SDK owns channels/auth, framework owns reasoning |
| Agent Framework on Foundry | Hosted agent via agent-framework-foundry-hosting (ResponsesHostServer) — managed endpoint, Entra agent identity |
| Foundry agent in M365/Teams | Publish from the Foundry portal (auto-provisions Azure Bot Service + Entra) or an Agents Toolkit proxy app |
| Copilot Studio → Foundry | Connect an external Foundry agent as a child agent (preview; new-portal agents only) |
| Code → Copilot Studio | CopilotStudioAgent (agent-framework-copilotstudio); M365 Agents SDK OBO-auth samples |
| Humans in the loop from any stack | Teams as an MCP server: notify / ask / request_approval |
MCPStreamableHTTPTool et al.), and
Teams itself can be exposed as an MCP server. Build a capability once as an MCP server
and every stack can consume it.A2AAgent /
Microsoft.Agents.AI.A2A, Foundry's A2A tool (preview), Teams SDK bot-to-bot A2A.
Use A2A when two agents converse; use MCP when an agent calls a capability.The Agent 365 SDK (@microsoft/agents-a365-*) provides Entra-based agent identity, an
agent registry, and OpenTelemetry observability for agents from any framework —
including agents registered from Google Vertex AI or Amazon Bedrock. Reach for it when an
organization needs one governance plane over heterogeneous agents.
When reviewing a proposed multi-stack design:
tools
Build Teams-native agents with the Teams SDK (formerly Teams AI Library v2) — App class, activity routing, adaptive cards, streaming, AI-generated labels, feedback, message extensions, Teams-as-MCP-server, and the bring-your-own-AI pattern with Agent Framework.
tools
Run agents on Microsoft Foundry (formerly Azure AI Foundry) Agent Service — prompt agents vs hosted agents, threads/runs and the Responses API, built-in tools (Bing grounding, code interpreter, file search, MCP, OpenAPI, A2A), connected agents, Entra agent identity, SDKs, and observability/evaluations.
tools
Build and host custom engine agents with the Microsoft 365 Agents SDK — AgentApplication, the Activity protocol, channel reach via Azure Bot Service, hosting Agent Framework or Semantic Kernel engines, and the Agents Toolkit/Playground workflow. Successor to the Bot Framework SDK.
tools
Design, govern, and extend Microsoft Copilot Studio agents — topics, generative orchestration, knowledge, tools and MCP, agent flows, autonomous triggers, publishing channels, Copilot Credits pricing, and solution-based ALM on Power Platform.