head to head · open source

Langflow vs d2

Langflow has 155,224 GitHub stars, 10,141 forks, 1,056 open issues and last shipped today. d2 has 25,506 stars, 752 forks, 530 open issues and last shipped 5 days ago. Langflow leads on adoption by 509% (155,224 vs 25,506 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.

Langflow ★ 155K d2 ★ 26K category Developer Tools

← all 20902 open source comparisons

Side by side

Langflow d2
GitHub stars ★ 155K ★ 26K
License MIT MPL-2.0
Written in Python Go
Last push 2026-09-25 2026-09-20
Forks ⑂ 10K ⑂ 752
Self-hosting Yes Yes
Data ownership Your server Your server

pick Langflow if

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

full Langflow profile →

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

full d2 profile →

About Langflow

Langflow is a visual builder platform for designing, testing, and deploying AI agents and retrieval augmented generation (RAG) pipelines. It lives in the Python based generative AI ecosystem and targets developers building intelligent applications. The project provides a low code interface to assemble components—such as LLMs, vector stores, memory modules, and tools—into executable workflows, while also exposing those workflows as APIs or MCP servers for integration into external applications.

read the full Langflow overview →

About d2

D2 is a modern diagram scripting language, written in Go and released under the MPL 2.0 licence, that turns plain text .d2 files into rendered diagrams such as SVGs, aimed at developers and teams who want their architecture and system diagrams kept as reviewable source rather than as opaque image files.

read the full d2 overview →

More in Developer Tools

ECC ★ 267K react ★ 251K OpenCode ★ 210K vscode ★ 193K Supabase ★ 111K pi ★ 109K

Related comparisons

openclaw vs langflow ecc vs langflow react vs langflow n8n vs langflow ecc vs react ecc vs supabase react vs supabase ecc vs puppeteer openclaw vs openhands openclaw vs paperclip hermes-agent vs pi hermes-agent vs openhands hermes-agent vs paperclip opencode vs pi opencode vs openhands opencode vs paperclip react vs vscode react vs neovim react vs zed opencode vs neovim opencode vs zed vscode vs neovim vscode vs zed react vs kilocode

More Frameworks & Platforms projects

Compare either of these against the rest of the Frameworks & Platforms field.

Langflow vs ECC Langflow vs react Langflow vs Supabase Langflow vs puppeteer Langflow vs archify Langflow vs PocketBase Langflow vs i-have-adhd Langflow vs codebase-memory-mcp Langflow vs ToolJet Langflow vs AppSmith Langflow vs it-tools Langflow vs herdr

Frequently asked questions

Is Langflow or d2 more popular?

Langflow has 155,224 GitHub stars and d2 has 25,506. 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 (155,224 stars) or its MIT licence terms. Choose d2 if its feature set, stack or MPL-2.0 licence fits better. Both are self-hostable.