Comparison

AutoGen vs DSPy

A like-for-like, spec-level comparison. Both entries are verified against their docs and repo.

AutoGen

Microsoft's framework for multi-agent conversations.

  • + Backed by Microsoft research
  • + Strong on conversational agent patterns
  • − API churned across major versions
  • − Heavier abstraction layer

DSPy

Declarative, programmable prompt programming from Stanford.

  • + Compiles and optimizes prompts instead of hand-writing them
  • + Strong for repeatable, measurable prompt engineering
  • − Different mental model from typical agent frameworks
  • − Smaller ecosystem of tool integrations
Spec AutoGen DSPy
Role Agent framework Agent framework
Tags agent-framework, library, multi-agent agent-framework, library
License MIT MIT
Open source Yes Yes
Self-hostable Yes Yes
MCP support Yes No
Pricing free free
Starting price BYOK usage cost BYOK usage cost
Models claude, gpt, gemini, byok byok
Languages python, dotnet python
GitHub stars 59.3k 35.5k
Last activity 2026-04-15 2026-06-25