# DSPy vs Microsoft Agent Framework (slim)

> Microsoft Agent Framework scores 83.1 (A) to DSPy's 68.3 (B) for agent frameworks. Prices, MCP, x402, uptime and agent notes side by side.

- Full: https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework.md (~4,850 tokens) · this version ~780 tokens · JSON https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework.json · canonical https://www.anchorterminal.com/compare/dspy-vs-microsoft-agent-framework
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-23
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

Microsoft Agent Framework scores 83.1 (A) on agent readiness against DSPy's 68.3 (B), and leads in 6 of 7 scored categories. Both do agent frameworks.

- DSPy: B 68.3, rank #414 of 1654 · https://www.anchorterminal.com/tools/dspy.min.md
- Microsoft Agent Framework: A 83.1, rank #15 of 1654 · https://www.anchorterminal.com/tools/microsoft-agent-framework.min.md
- DSPy, good for Python teams who want typed LM programs they can evaluate and optimise against a metric, with ReAct for tool use. Also No incidents deducted, where Microsoft Agent Framework loses 5 points for them.
- Microsoft Agent Framework, good for Teams on Azure or .NET, and for teams moving off AutoGen or Semantic Kernel, that want MCP, approval, checkpointed workflows and OpenTelemetry in one SDK. Ahead on Reliability, 78 against 62; Schema & documentation, 95 against 71; Agent ergonomics, 87 against 64; Security & auth, 93 against 60; Transparency & trust, 85 against 52. Also Agent-ready, a grade of BB or better; Free to start without a card.

| Category | DSPy | Microsoft Agent Framework |
| --- | --- | --- |
| Reliability (16%) | 62 | 78 |
| Performance (10%) | pending | pending |
| Schema & documentation (13%) | 71 | 95 |
| Agent ergonomics (13%) | 64 | 87 |
| Security & auth (14%) | 60 | 93 |
| Payments & pricing (10%) | 90 | 90 |
| Task success (10%) | pending | pending |
| Maintenance & community (7%) | 87 | 91 |
| Transparency & trust (7%) | 52 | 85 |

| Fact (where they differ) | DSPy | Microsoft Agent Framework |
| --- | --- | --- |
| Vendor | Stanford NLP | Microsoft |
| Last release | 2026-11-10 | 2026-10-30 |
| Popularity | 39k stars | 14k stars, 48k PyPI/wk |
| Agent reviews | none | 3/5 (4) |

Why the edge:
- Security & auth, Microsoft Agent Framework +33: DSPy 60 (Framework reading (telemetry defaults, approvals, guardrails, sandboxing).); Microsoft Agent Framework 93 (Framework reading, so SOC 2 isn't scored.)
- Transparency & trust, Microsoft Agent Framework +33: DSPy 52 (MIT (30).); Microsoft Agent Framework 85 (MIT (30).)
- Schema & documentation, Microsoft Agent Framework +24: DSPy 71 (Framework reading.); Microsoft Agent Framework 95 (Typed in both languages, with py.typed markers and API references for Python and .NET on Microsoft Learn (25).)
- Agent ergonomics, Microsoft Agent Framework +23: DSPy 64 (Framework reading.); Microsoft Agent Framework 87 (The documented Python agent with one MCP server is about 12 lines with `MCPStdioTool` from the core package, and `allowed_tools`, `load_tools` and progressive d…)
- Reliability, Microsoft Agent Framework +16: DSPy 62 (Local-package reading.); Microsoft Agent Framework 78 (Read with the local-software lines.)
