Skip to content
DevUtils Online

AI Agents

Dify vs langgraph

Dify leads by 5.2 · narrow

A · leads

Dify

97.9

161,357 stars · Apache-2.0

Dify versus langgraph is a AI Agents comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. Both projects are written mainly in Python. The composite score is 97.9 for Dify and 92.7 for langgraph.

Dify has 161,357 GitHub stars to langgraph's 45,072, a gap of 116,285 (3.58×). Forks are 25,515 for Dify and 7,778 for langgraph. On the log scale used inside this pair, adoption is 100 versus 89, and the fork community is 100 versus 88.

Push history: Dify was last pushed on 17 November 2026 (0 days ago), and langgraph was last pushed on 17 November 2026 (0 days ago). Open issues stand at 1,422 for Dify (0.009 per star) and 483 for langgraph (0.011 per star). Issue-health scores are 84 and 84; activity scores are 100 and 100.

Dify is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. langgraph is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. License scores in this pair are 96 for Dify and 96 for langgraph. This is a procurement signal, not legal advice.

In AI Agents, both Dify (161,357 stars) and langgraph (45,072 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: Dify is open source, langgraph is open source.

Dify is ahead on every scored dimension that is not level. Level dimensions: recent activity, issue health, license flexibility, self-hosting. The widest gap is fork community at 12 points (100 vs 88), and the tightest is self-hosting at 0 points (100 vs 100).

Dify finishes ahead at 97.9 against langgraph at 92.7, a 5.2 point narrow margin under the published weights.

Scores are computed inside this pair only. Method and weights.

Where they separate

The numbers

Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.

Dify versus langgraph metrics
Signal Dify langgraph
GitHub stars 161,357 45,072
Forks 25,515 7,778
Open issues 1,422 483
Adoption 100 89
Activity 100 100
Community 100 88
Issue health 84 84
License 96 96
Self-hosting 100 100
Composite 97.9 92.7

Dify

Dify is a platform for building LLM apps: prompts, RAG pipelines, agents, and observability. It is aimed at teams that want that stack on their own machines.

Project site · GitHub · Full profile

Questions this page answers

Which has more GitHub stars, Dify or langgraph?

Dify has more GitHub stars: 161,357 versus 45,072 for langgraph. The gap is 116,285 stars.

Which was updated more recently, Dify or langgraph?

Both were last pushed on 17 November 2026.

Can I self-host both Dify and langgraph?

Yes. This catalog marks both Dify and langgraph as self-hostable. Confirm each project's deploy docs before you plan a migration.

Which license is easier to embed in a commercial product, Dify or langgraph?

Dify is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. langgraph is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. Read both grants before you embed either codebase in a hosted product. This is not legal advice.

Who wins the Dify vs langgraph score?

Dify scores 97.9 and langgraph scores 92.7. This page calls that a narrow lead for Dify.

Related comparisons