---
title: "autogen vs dspy"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/microsoft-autogen-vs-stanfordnlp-dspy"
tools: ["microsoft-autogen", "stanfordnlp-dspy"]
---

# autogen vs dspy

*GraphCanon updated Jul 11, 2026*

## Verdict

Pick autogen if autoGen is a Python-based framework for developing and managing agentic AI systems. It includes the AutoGen Studio for no-code GUI setup, integrating with various models; pick dspy if evaluate DSPy based on its unique approach of programming language models via Python, making it an option that steps away from traditional prompting methods.

[autogen](https://microsoft.github.io/autogen/) reports 60k GitHub stars, 9.0k forks, and 945 open issues, last pushed Apr 15, 2026. [dspy](https://dspy.ai) has 36k stars, 3.1k forks, and 571 open issues, last pushed Jul 10, 2026. Figures are from public GitHub metadata via [autogen's repository](https://github.com/microsoft/autogen) and [dspy's repository](https://github.com/stanfordnlp/dspy).

| | [autogen](/tools/microsoft-autogen.md) | [dspy](/tools/stanfordnlp-dspy.md) |
| --- | --- | --- |
| Tagline | A programming framework for agentic AI | A framework for programming language models |
| Stars | 59,658 | 36,036 |
| Forks | 8,983 | 3,082 |
| Open issues | 945 | 571 |
| Language | Python | Python |
| Adopt for | AutoGen is a Python-based framework for developing and managing agentic AI systems. It includes the AutoGen Studio for no-code GUI setup, integrating with various models. | Evaluate DSPy based on its unique approach of programming language models via Python, making it an option that steps away from traditional prompting methods. |
| Persona | - | - |
| Runtime | - | - |
| License | CC-BY-4.0 | MIT |
| Categories | LLM Frameworks, AI Agents | LLM Frameworks |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [autogen](/tools/microsoft-autogen.md) | [dspy](/tools/stanfordnlp-dspy.md) |
| --- | --- | --- |
| Maintenance | Steady (60%) | Very active (96%) |
| Days since push | 87d | 0d |
| Open issues (now) | 945 | 571 |
| Full report | [trust report](/tools/microsoft-autogen/trust.md) | [trust report](/tools/stanfordnlp-dspy/trust.md) |

## Shared compatibility

- **Python**: [autogen](/tools/microsoft-autogen.md) - Python runtime; [dspy](/tools/stanfordnlp-dspy.md) - Python runtime

## Decision facts: autogen

- **Requirements:** Min 4 GB RAM; AutoGen requires Python 3.10 or later.; Ensure security when connecting to MCP servers due to the potential for local command execution and sensitive information exposure.
- **Adopt for:** AutoGen is a Python-based framework for developing and managing agentic AI systems. It includes the AutoGen Studio for no-code GUI setup, integrating with various models.

## Decision facts: dspy

- **Adopt for:** Evaluate DSPy based on its unique approach of programming language models via Python, making it an option that steps away from traditional prompting methods.

## Choose when

### Choose autogen if…

- License: autogen is CC-BY-4.0, dspy is MIT.
- Requirements: Min 4 GB RAM; AutoGen requires Python 3.10 or later.; Ensure security when connecting to MCP servers due to the potential for local command execution and sensitive information exposure..
- Tags unique to autogen: llm-framework, autogen, agents, ai.
- Also covers AI Agents.
- You need a framework that supports integration with multiple AI models via OpenAI's chat completion client.

### Choose dspy if…

- License: dspy is MIT, autogen is CC-BY-4.0.
- Tags unique to dspy: programming framework, language-models, ai-development.
- When you aim to leverage a comprehensive framework designed specifically for programming and developing with language models rather than just prompting them.

## When NOT to use autogen

- If you require tools supporting multiple programming languages beyond Python, as AutoGen is strictly a Python-based framework.
- When deploying in environments where connecting to external servers (like those used by MCP) could pose security risks or is prohibited.
- You need solutions which do not involve additional installations for server components such as `playwright/mcp`, as AutoGen requires this setup for certain functionalities.

## When NOT to use dspy

- When your project strictly requires real-time interaction and feedback through traditional prompting methods, as DSPy's framework is focused on a programming approach which may not be suitable for all
- In scenarios where the flexibility of prompt-based interactions with language models is preferred over strict programming methodologies.

## Common questions

### What is the difference between autogen and dspy?

autogen: A programming framework for agentic AI. dspy: A framework for programming language models. See the comparison table for live GitHub stats and shared categories.

### When should I choose autogen over dspy?

Choose autogen over dspy when License: autogen is CC-BY-4.0, dspy is MIT; Requirements: Min 4 GB RAM; AutoGen requires Python 3.10 or later.; Ensure security when connecting to MCP servers due to the potential for local command execution and sensitive information exposure.; Tags unique to autogen: llm-framework, autogen, agents, ai; Also covers AI Agents; You need a framework that supports integration with multiple AI models via OpenAI's chat completion client.

### When should I choose dspy over autogen?

Choose dspy over autogen when License: dspy is MIT, autogen is CC-BY-4.0; Tags unique to dspy: programming framework, language-models, ai-development; When you aim to leverage a comprehensive framework designed specifically for programming and developing with language models rather than just prompting them.

### When should I avoid autogen?

If you require tools supporting multiple programming languages beyond Python, as AutoGen is strictly a Python-based framework. When deploying in environments where connecting to external servers (like those used by MCP) could pose security risks or is prohibited. You need solutions which do not involve additional installations for server components such as `playwright/mcp`, as AutoGen requires this setup for certain functionalities.

### When should I avoid dspy?

When your project strictly requires real-time interaction and feedback through traditional prompting methods, as DSPy's framework is focused on a programming approach which may not be suitable for all In scenarios where the flexibility of prompt-based interactions with language models is preferred over strict programming methodologies.

### Is autogen or dspy more popular on GitHub?

autogen has more GitHub stars (59,658 vs 36,036). Stars measure visibility, not whether either tool fits your constraints.

### Are autogen and dspy open source?

Yes - both are open-source projects on GitHub (autogen: CC-BY-4.0, dspy: MIT).

### Where can I find alternatives to autogen or dspy?

GraphCanon lists graph-backed alternatives at [autogen alternatives](/tools/microsoft-autogen/alternatives) and [dspy alternatives](/tools/stanfordnlp-dspy/alternatives) ([autogen markdown twin](/tools/microsoft-autogen/alternatives.md), [dspy markdown twin](/tools/stanfordnlp-dspy/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/microsoft-autogen-vs-stanfordnlp-dspy.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, autogen or dspy?

autogen: Steady. dspy: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for autogen and dspy?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [autogen trust report](/tools/microsoft-autogen/trust); [dspy trust report](/tools/stanfordnlp-dspy/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=microsoft-autogen`](/api/graphcanon/graph?tool=microsoft-autogen)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
