Pyyan / Compare / AutoGen vs LangGraph vs DSPy

AutoGen vs LangGraph vs DSPy

3 of 5

Agent Frameworks · verified 13 Aug 2026

×AutoGenMicrosoftdeprecated
×LangGraphLangChaincurrent
×SDSPyStanford NLPcurrent
2 slots left
SpecificationAutoGenLangGraphDSPy
SummarySuperseded by Microsoft Agent Framework.Most battle-tested for stateful production.Compiles prompts instead of hand-writing them.
ModelConversationGraphCompiler
LanguagePythonPython, JSPython
StatusMaintenanceActiveActive
CategoryAgent FrameworksAgent FrameworksAgent Frameworks
OfficialMicrosoftLangChainStanford NLP

Highlighted rows are where these differ.

AutoGen

  • Moved to maintenance mode
  • Migrate to Microsoft Agent Framework

Best for migrating away.

Full spec sheet →

LangGraph

  • Conditional branches, loops, parallel paths
  • Steepest learning curve

Best for production.

Full spec sheet →

DSPy

  • ~23k stars
  • Built-in ReAct and agent loops

Best for optimisation.

Full spec sheet →