Skip to main content

SpeakeasyvsMicrosoft

Agent 365 governs agents on Microsoft's path: Copilot Studio, Foundry, Work IQ MCP, and Intune-managed Windows. Speakeasy runs inside the agents your teams already use, on macOS, Windows, and Linux, as the same Entra principal. Then it governs the gateway too.


Which should you pick, Speakeasy or Microsoft Agent 365?

On an Entra tenant both govern the same Entra Agent ID principal, so the question is where it is checked. Pick Microsoft when your agents are built on Copilot Studio or Foundry and run inside Microsoft 365, when your fleet is Intune-managed Windows with Defender XDR as the security operations center, or when Entra Agent ID, Conditional Access, and lifecycle workflows are the whole requirement. Pick Speakeasy when AI is rolling out on macOS and Linux as well as Windows, when your teams run third-party agents, or when your tools sit behind your own APIs.

Pick it when

AI is rolling out across the whole company, on macOS and Linux as well as Windows, and you want the same Entra Agent ID principals governed in every agent and tool your teams already use.

Microsoft

Your agents are built on Copilot Studio or Foundry, run inside Microsoft 365, and your fleet is Intune-managed Windows with Defender XDR as the security operations center.

Governance

Agents run as Entra Agent ID principals synced into Speakeasy, or as Okta principals, with the grant checked on every call from any OS.

Microsoft

Agent identity is minted from a blueprint in Entra, with Conditional Access and lifecycle workflows. Enforcement runs where Microsoft is in the path.

Security

Hooks inside the agent on the prompt, the tool call, the file read, and the shell command, plus six inspection layers at the gateway, on macOS, Windows, and Linux.

Microsoft

Defender evaluates tool invocations for agents on Microsoft's path, Purview brings inline DLP in preview, and Defender for Endpoint covers Windows. Coding agents on macOS and Linux sit outside it.

Enablement

Your agents, your identity, your APIs. MCP servers are generated from the API contract your teams already maintain, with evidence to Drata, Vanta, and your SIEM.

Microsoft

Deepest for agents built on Copilot Studio and Foundry inside Microsoft 365 on Intune-managed Windows. Third-party agents join through the Agent 365 SDK and Registry Sync, in preview.

Microsoft capabilities are drawn from Microsoft Learn and Microsoft's product blogs as of September 2026, including features in public preview. We build Speakeasy, so read us as an interested party. Speakeasy syncs Agent Identity from Entra Agent ID; this page compares scope, not the directory. See how Agent Identity syncs from Entra Agent ID.

Who is the agent, at every step?

On an Entra tenant the two agree on who the agent is: Speakeasy syncs Agent Identity from Entra Agent ID. They differ on where that principal is checked: inside the agent on every OS, or where Microsoft is in the path.

Speakeasy
  1. OktaMicrosoft Entra IDOkta or Entra
  2. Directory principal
  3. Grant checked per call
  4. Call stamped with directory state

Identity lives in

Your identity provider

  • Directory identity attached inside the agent, on every step
  • People and agents share one permission model
  • A denied call opens the grant that would allow it
Microsoft
  1. Microsoft Entra IDEntra ID
  2. Agent identity minted from a blueprint
  3. Conditional Access for agents
  4. Tool invocation evaluated through Work IQ MCP

Identity lives in

Microsoft Entra

  • Every registered agent gets an agent ID; Policy Templates and sponsor lifecycle workflows govern it
  • Enforcement runs where Microsoft is in the path: Work IQ MCP, Copilot Studio, Foundry, Intune-managed Windows

You can only inspect what you can see.

Where Microsoft is in the path, Defender evaluates tool invocations before they run and Purview brings DLP. Speakeasy's hooks apply policy to the prompt before inference, the local tool call, the file read, and the shell command in Claude Code, Cursor, Codex, Cowork, and OpenCode on macOS, Windows, and Linux, and the gateway scans every MCP call.

7 inspection layers
  • 01Hooks inside the agent: prompt, tool call, file read, shell command
  • 02Server review with evidence dossier
  • 03Prompt-injection heuristic
  • 04LLM judge
  • 05Natural-language guardrails, replayed before enforcement
  • 06CEL detection rules
  • 07Destructive-action detection
Microsoft4 inspection layers
  • 01Defender real-time protection on tool invocations, through Work IQ MCP
  • 02Purview inline DLP (Copilot Studio, preview)
  • 03Azure API Management llm-content-safety
  • 04Defender for Endpoint runtime protection (Windows)

Prompts before the model sees them

Hooks in five coding agents
Copilot Studio agents through Purview inline DLP, preview

Local tool calls, file reads, shell commands

PreToolUse hooks, destructive-action detection
Local agent discovery on Windows; OpenClaw first, Claude Code and Codex planned

Endpoint enforcement

macOS, Windows, Linux
Intune-managed Windows

Tool calls at the gateway

Inline scanners on request and response
Work IQ MCP; Copilot Studio and Foundry in preview

Agents outside Microsoft's path

Any MCP client through the gateway
Not covered unless integrated with Work IQ MCP

Natural-language guardrails with replay

Scorecard before enforcement
Custom rules block four detection types

Server review at registration

Evidence dossier, required rationale
Agent Tools registry, admin approval

Sensitive-data detection

Secrets, financial, PII, government IDs, healthcare
Purview DLP and information protection

XDR correlation and threat hunting

SIEM export, webhooks, OTEL forwarding
Defender XDR, Sentinel
  • Offered
  • Partial, beta, or detect only
  • Not offered or not documented

Govern what your team already runs.

Speakeasy governs the agents your teams already run, the directory you already have, and the APIs your teams already maintain, from the inside, on any OS. Microsoft's control plane is deepest for agents built on its platforms and devices managed by Intune.

Speakeasy
Your agents
Claude CodeClaude CoworkCursorCodexOpenCode
Your identity
OktaMicrosoft Entra ID
Your stack
GitHubSlackLinearNotionSnowflakeJamf
  • MCP servers generated from the API contract your teams maintain
  • Catalog drawn from the official MCP Registry
  • Coverage evidence to Drata and Vanta, events to your SIEM
Microsoft
Agents
Copilot StudioFoundryAgent 365 SDK
Identity
Entra Agent IDBlueprintsConditional Access
Stack
Work IQ MCPAzure API ManagementIntune (Windows)
  • Deepest where agents are built on Microsoft platforms and run on Windows
  • REST APIs become MCP tools through Azure API Management
  • Third-party agents join through the Agent 365 SDK and Registry Sync (preview)

Speakeasy's AI control plane has been indispensable in enabling Fivetran's AI transformation.

Eli Davis

Fivetran

Fivetran

Questions

What is the difference between Speakeasy and Microsoft Agent 365?

Both govern agents as Entra principals. The difference is where they stand. Agent 365 is Microsoft's control plane for agents on its path: a registry, access control through Entra Agent ID, observability, interoperability through Work IQ MCP and the Agent 365 SDK, and security through Defender and Purview, deepest for agents built on Copilot Studio and Foundry running inside Microsoft 365 on Intune-managed Windows. Speakeasy runs inside the agents your teams already use, with hooks in Claude Code, Cursor, Codex, Claude Cowork, and OpenCode on macOS, Windows, and Linux, an MCP gateway that authenticates, authorizes, scans, and logs every tool call, and governed MCP servers generated from your API contracts, with Entra or Okta as the directory.

Does Speakeasy work with Microsoft Entra Agent ID?

Yes. Speakeasy syncs people, groups, and attributes from Entra, and its Agent Identity, currently in early access, syncs from providers that model agents natively, such as Entra Agent ID. On an Entra tenant, an agent governed by Speakeasy and an agent governed by Agent 365 can be the same principal. Speakeasy then applies one permission model to that principal on every tool call, on every OS, for every MCP client.

Does Microsoft govern Claude Code, Cursor, and Codex?

Partly, and in preview. Defender and Intune can discover local agents on managed Windows devices and block common ways of running them, optimized for OpenClaw first with Cursor, Claude Code CLI, and Codex CLI planned. Defender's real-time protection evaluates tool invocations for agents that integrate with Work IQ MCP, for Copilot Studio agents, and for Foundry agents in preview; Microsoft's documentation notes that agents which do not integrate with Work IQ MCP are not covered. Speakeasy's hooks run inside those coding agents today, on macOS, Windows, and Linux.

When is Microsoft a better choice than Speakeasy?

Pick Microsoft when your agents are built on Copilot Studio or Foundry and run inside Microsoft 365, so Work IQ MCP, Purview DLP, and Defender already sit in the path; when your fleet is Intune-managed Windows and Defender XDR is the security operations center; or when Entra Agent ID, Conditional Access, and lifecycle workflows are the whole requirement. If your teams run third-party agents on macOS or Linux, or your tools sit behind your own APIs, Speakeasy governs those with the same Entra principals.

Why do hooks matter for governing AI agents?

A coding agent reads files, runs shell commands, edits code, and calls local tools, and none of that produces a request a proxy can inspect. Hooks are lifecycle handlers the agent itself invokes on every prompt and tool call, with the full session context, before execution proceeds. Speakeasy runs hooks in Claude Code, Cursor, Codex, Cowork, and OpenCode, which is how it sees and governs the loop rather than only the traffic that leaves it.

More comparisons


AI everywhere.

Control here.