# AutoGen vs DSPy — Fit & Features

Canonical: https://trutool.co/compare/autogen-vs-dspy
Author: Snehil (https://trutool.co/authors/snehil)

Compare AutoGen and DSPy by use case, features, limitations, and evaluation questions.

## Compare fit, features, and limitations

### AutoGen
Multi-agent application framework in maintenance mode; Microsoft recommends Agent Framework for new projects.
Best fit: Developers building and evaluating custom agents.
- Multi-agent application framework in maintenance mode; Microsoft recommends Agent Framework for new projects
Before you choose: The official repository is in maintenance mode. Evaluate Microsoft Agent Framework for new projects and review migration guidance for existing applications.
Pricing: https://github.com/microsoft/autogen
- [Read AutoGen profile](https://trutool.co/tools/autogen): Read AutoGen profile

### DSPy
Program and optimize language model pipelines with structured modules.
Best fit: Developers composing agents, structured model outputs, and tool workflows.
- LM programs
- Pipeline optimization
- Evaluation workflows
Before you choose: Check licensing, provider compatibility, maintenance, and tool permissions. Test failure recovery before enabling agent actions.
Pricing: https://dspy.ai/current/
- [Read DSPy profile](https://trutool.co/tools/dspy): Read DSPy profile
