← Back to all projects

Langflow
Drag-and-drop flow builder that exports to running code
OfficialMIT
What is Langflow?
Useful for sketching an agent visually and for showing non-engineers what a pipeline actually does, then exporting it as an API. Visual editors get unwieldy as branching grows, so treat it as a design and demo surface rather than the final home for complex logic.
What can you do with Langflow?
- Build a flow in the browser — uv pip install langflow -U followed by uv run langflow run serves the visual editor at 127.0.0.1:7860, and docker run -p 7860:7860 langflowai/langflow:latest gives the same thing in a container.
- Step through a flow while testing — The interactive playground runs a flow with step-by-step control, which is how you find the node where a branch produces the wrong output.
- Publish a flow as an API or MCP server — A finished flow can be deployed as an API, exported as JSON to embed in a Python app, or served as an MCP server so MCP clients call it as a tool.
- Edit component source in Python — Source code access means a built-in component's Python can be modified directly rather than worked around with adjacent nodes.
- Send traces to existing observability — Built-in integrations forward execution traces to LangSmith, LangFuse and other tools, so flows report into the stack you already run.
Before you choose Langflow
- Running one copy is not the same as running several. Flows have been reported to fail both to run and to build once the deployment is spread across several worker processes, so prove that shape early if you need it.Reported in#8476
Star history
15 Aug to 30 Oct · +2.9k
153k156k
Frequently asked questions
Is Langflow free for commercial use?
Langflow is released under the MIT licence — OSI-approved open source, which permits commercial use.
How can Langflow be deployed?
Langflow is available as Self-hosted / Runs locally / Managed cloud.