head to head · open source

Dify vs langgraph

Dify has 160,251 GitHub stars, 25,336 forks, 1,067 open issues and last shipped yesterday. langgraph has 44,336 stars, 7,622 forks, 786 open issues and last shipped yesterday. Dify leads on adoption by 261% (160,251 vs 44,336 stars). Dify is written in Python under a custom or non-standard licence; langgraph is written in Python under MIT. Dify has attracted 16% as many forks as stars, langgraph 17%. langgraph was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 2 topic tags (ai, llm), so they are genuine substitutes rather than adjacent tools.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

Dify ★ 160K langgraph ★ 44K category AI & Machine Learning

← all 20902 open source comparisons

Side by side

Dify langgraph
GitHub stars ★ 160K ★ 44K
License Custom / other MIT
Written in Python Python
Last push 2026-11-02 2026-11-02
Forks ⑂ 25K ⑂ 7.6K
Self-hosting Yes Yes
Data ownership Your server Your server

pick Dify if

  • You weight community size — 160K stars and counting
  • You want the Custom / other license terms
  • Your stack matches Python
  • You value the larger contributor base for long-term maintenance

full Dify profile →

pick langgraph if

  • You want the langgraph feature set and don't need the biggest community
  • You prefer the MIT license terms
  • Your stack matches Python
  • You evaluated both and langgraph fits your workflow better

full langgraph profile →

About Dify

Dify Cloud · Self hosting · Documentation · Dify edition overview Dify is an open source LLM app development platform. Its intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features (including Opik, Langfuse, and Arize Phoenix) and more, letting you quickly go from prototype to production. Here's a list of the core features: Quick start Before installing Dify, make sure your machine meets the following minimum system requirements: CPU = 2 Core RAM = 4 GiB The easiest way to start the Dify server is through Docker Compose. Before running Dify with the…

read the full Dify overview →

About langgraph

Low level orchestration framework for building stateful agents. Trusted by companies shaping the future of agents – including Klarna, Replit, Elastic, and more – LangGraph is a low level orchestration framework for building, managing, and deploying long running, stateful agents. [!TIP] If you're looking to quickly build agents, check out Deep Agents — a higher level package built on LangGraph for agents that can plan, use subagents, and leverage file systems for complex tasks. For an equivalent JS/TS library, check out LangGraph.js and the JS docs. Why use LangGraph? LangGraph provides low level supporting…

read the full langgraph overview →

More in AI & Machine Learning

Related comparisons

More AI Development Platforms projects

Compare either of these against the rest of the AI Development Platforms field.

Frequently asked questions

Is Dify or langgraph more popular?

Dify has 160,251 GitHub stars and langgraph has 44,336. Dify has the larger community by that measure.

Are Dify and langgraph free?

Both are open source. Dify has no licence declared in this registry, and langgraph is licensed under MIT. Both are free to self-host.

What is the difference between Dify and langgraph?

Dify is written in Python and langgraph in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, Dify or langgraph?

Choose Dify if you want the larger community (160,251 stars) or its Custom / other licence terms. Choose langgraph if its feature set, stack or MIT licence fits better. Both are self-hostable.