head to head · open source
Langflow vs d2
Langflow has 156,453 GitHub stars, 10,362 forks, 1,056 open issues and last shipped yesterday. d2 has 25,811 stars, 777 forks, 530 open issues and last shipped 1 months ago. Langflow leads on adoption by 506% (156,453 vs 25,811 stars). Langflow is written in Python under MIT; d2 is written in Go under MPL-2.0. Langflow has attracted 7% as many forks as stars, d2 3%. Langflow was the more recently maintained of the two, and both are self-hostable with no licence fee.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| Langflow | d2 | |
|---|---|---|
| GitHub stars | ★ 156K | ★ 26K |
| License | MIT | MPL-2.0 |
| Written in | Python | Go |
| Last push | 2026-11-09 | 2026-10-11 |
| Forks | ⑂ 10K | ⑂ 777 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick Langflow if
- You weight community size — 156K stars and counting
- You want the MIT license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick d2 if
- You want the d2 feature set and don't need the biggest community
- You prefer the MPL-2.0 license terms
- Your stack matches Go
- You evaluated both and d2 fits your workflow better
About Langflow
Langflow is a powerful platform for building and deploying AI powered agents and workflows. It provides developers with both a visual authoring experience and built in API and MCP servers that turn every workflow into a tool that can be integrated into applications built on any framework or stack. Langflow comes with batteries included and supports all major LLMs, vector databases and a growing library of AI tools. ✨ Highlight features Visual builder interface to quickly get started and iterate. Source code access lets you customize any component using Python. Interactive playground to immediately test and…
read the full Langflow overview →
About d2
A modern diagram scripting language that turns text to diagrams. Docs Cheat sheet Comparisons Playground Table of Contents What does D2 look like? Quickstart Install D2 as a library Themes Fonts Export file types Language tooling Layout engines Comparison Contributing License Related Official plugins Community plugins Misc FAQ Notable open source projects documenting with D2 What does D2 look like? Open in playground For more examples, see ./docs/examples. Quickstart The most convenient way to use D2 is to just run it as a CLI executable to produce SVGs from .d2 files. A browser window will open with out.svg and…
More in Developer Tools
Related comparisons
More Frameworks & Platforms projects
Compare either of these against the rest of the Frameworks & Platforms field.
Frequently asked questions
Is Langflow or d2 more popular?
Langflow has 156,453 GitHub stars and d2 has 25,811. Langflow has the larger community by that measure.
Are Langflow and d2 free?
Both are open source. Langflow is licensed under MIT and d2 under MPL-2.0. Neither carries a licence fee.
What is the difference between Langflow and d2?
Langflow is written in Python and d2 in Go. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, Langflow or d2?
Choose Langflow if you want the larger community (156,453 stars) or its MIT licence terms. Choose d2 if its feature set, stack or MPL-2.0 licence fits better. Both are self-hostable.