Dify vs DSPy
Side-by-side comparison with live GitHub signals. Last updated May 16, 2026.
| Metric | Dify | DSPy |
|---|---|---|
| GitHub Stars | 141.5K | 34.5K |
| Contributors | 461 | 393 |
| Last Commit | May 16, 2026 | May 15, 2026 |
| Open Issues | 783 | 474 |
| License | open-source | open-source |
| Pricing | freemium | open-source |
| Free Tier | Yes | Yes |
| Category | frameworks | frameworks |
| Trending | No | No |
Shared Tags
ragopen-source
Only in Dify
platformvisual-buildermulti-agentproductionself-hosted
Only in DSPy
prompt-optimizationprogrammingresearchstanfordpython
About Dify
Dify is an open-source LLM app development platform that combines agentic AI workflow, RAG pipeline, agent capabilities, model management, and observability features. It lets you go from prototype to production quickly with a visual canvas for building complex AI workflows. Supports 100+ model providers and can be self-hosted or used via cloud.
View full listingAbout DSPy
DSPy replaces prompt engineering with programming. Instead of writing prompts, you define modules with input/output signatures and DSPy automatically optimizes the prompts and weights for your pipeline. Supports chain-of-thought, retrieval-augmented generation, and multi-hop reasoning patterns. From Stanford NLP.
View full listing