AutoGen vs DSPy
AutoGen and DSPy are both agent frameworks for Python. AutoGen is published by Microsoft and DSPy by Stanford NLP. On GitHub, AutoGen has 61,549 stars and DSPy has 38,766. Both were last active in Oct 2026. The table lines up where they differ (publisher, license and weekly downloads) and has the install commands for both. Everything here comes from the listings' public sources and is refreshed daily. AutoGen describes itself as: Archived Microsoft Python framework for multi-agent apps; Microsoft directs new users to Microsoft Agent Framework. DSPy: Python framework for writing language-model programs as code and optimizing their prompts and weights instead of hand-tuning prompts. Licenses: AutoGen CC-BY-4.0, DSPy MIT.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
AutoGen
Microsoft
Archived Microsoft Python framework for multi-agent apps; Microsoft directs new users to Microsoft Agent Framework.
DSPy
Stanford NLP
Python framework for writing language-model programs as code and optimizing their prompts and weights instead of hand-tuning prompts.
Who should pick which
- Pick AutoGen if you need several agents working together.
- Pick DSPy if you want a stable release (AutoGen is marked experimental).
From listing data only. We don't pick a winner on security beyond the grades; read how grades work.
Side by side
| Fact | AutoGen | DSPy |
|---|---|---|
| Type | Harness | Harness |
| Publisher | Microsoft | Stanford NLP |
| License | CC-BY-4.0 | MIT |
| Pricing | Not stated | Not stated |
| Runs | Not stated | Not stated |
| Auth | Not stated | Not stated |
| Hosts supported | Not stated | Not stated |
| Tools | Not listed yet | Not listed yet |
| Security grade | –Security: not graded yet | –Security: not graded yet |
| Freshness grade | AFreshness: A | AFreshness: A |
| GitHub stars | 61,549 | 38,766 |
| Weekly downloads | 88,975 | 1,254,893 |
| Last release | Sep 30, 2025 | Oct 12, 2026 |
| Last activity | Oct 16, 2026 | Oct 22, 2026 |
Facts from each listing's public sources, checked daily. Tool lists arrive with tool scans.
Install
AutoGen
pip install autogen-agentchat
DSPy
pip install dspy
Also consider
- 0.853score
LlamaIndex
LlamaIndex
Open-source Python toolkit for RAG and agents over your own data, with event-driven workflows and 300+ integration packages.
HarnessAFreshness: A★ 52.6K↓ 1.4M/wk - 0.851score
Strands Agents
AWS
Open-source Python and TypeScript SDK for model-driven agents, with tools, MCP, multi-agent patterns and streaming.
HarnessAFreshness: A★ 8.9K↓ 8.9M/wk - 0.841score
GitHub Copilot SDK
GitHub
Multi-language SDKs for embedding the GitHub Copilot agent runtime, with planning, tool calls and file edits, in your apps.
HarnessAFreshness: A★ 10.6K↓ 1.2M/wk
Questions
- Is AutoGen or DSPy more popular?
- AutoGen has more GitHub stars (61,549 against 38,766). Stars measure attention, not quality, so check freshness and docs too.
- Are AutoGen and DSPy open source?
- Yes: AutoGen is CC-BY-4.0 and DSPy is MIT.
Related
Cite this page
AutoGen vs DSPy. Agent Mart. https://agentmart.dev/compare/autogen-vs-dspy (last updated 2026-10-26)