Langflow
Visual builder for AI agents and RAG flows that you can deploy as APIs or MCP servers.
Quick answer
Langflow is a visual builder for AI agents and RAG flows that you can deploy as APIs or MCP servers, listed under AI app & agent builders. A typical small-business use: prototype a document-Q&A or lead-qualification agent before building it properly. Official hardware: minimum 1 vCPU · 1.5 GB RAM (recommended 2 vCPU · 4 GB RAM). That fits a Hetzner Cloud CPX12 server at about €9.99/month (server only, excl. VAT; €16.99/month for the recommended spec). License: MIT, which allows internal business use.
Last updated · facts verified against official docs on · sources
Activity data comes from GitHub and was last refreshed Dec 6, 2026.
What is Langflow?
Langflow is a Python-based visual editor for composing LLM pipelines, agents and RAG flows from components, then exposing them as an API. It is aimed at teams with some technical skill who want to prototype quickly and still drop down to code.
Where it fits in a 10–200 person business
- Prototype a document-Q&A or lead-qualification agent before building it properly
- Expose an internal AI flow as an API for other systems
- Experiment with different models and retrievers side by side
These use cases are our editorial suggestions, not claims made by the project.
Can a business use Langflow? (license)
| License | MIT |
|---|---|
| Type | Permissive: MIT / Apache-2.0: use, modify and sell with few obligations. |
| Internal business use | Allowed under the license text |
| What to watch | Permissive. Internal and commercial use allowed; keep the copyright notice. |
This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.
Data & compliance: does Langflow phone home?
| Telemetry (usage data sent to the vendor) | On by default Official release artifacts send product-usage events to Langflow's Segment source by default (no prompts or raw user names). How to turn it off: Set DO_NOT_TRACK=True before starting Langflow. |
|---|---|
| Other calls home by default (updates, marketplaces, default cloud services) | Not documented |
| Single sign-on (OIDC / SAML / LDAP) | Free By protocol: OIDC free. External authentication lets an upstream OIDC proxy or corporate SSO gateway handle login; Langflow validates the forwarded token against the IdP's JWKS. |
| Audit log | Yes, free LANGFLOW_AUTHZ_AUDIT_ENABLED=true writes an audit row for every authorization decision (off by default). Source: docs.langflow.org/authorization |
| Role-based access control (RBAC) | No The open-source build ships a pass-through authorization service that allows every action; per-resource RBAC needs a separate enforcement plugin that Langflow OSS does not include. Source: docs.langflow.org/authorization |
| Data residency / GDPR notes from the project | Not documented |
Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.
What hardware does Langflow need?
| Minimum | 1 vCPU · 1.5 GB RAM |
|---|---|
| Recommended | 2 vCPU · 4 GB RAM |
Kubernetes guidance: the backend needs at least 1 GiB RAM and 0.5 CPU, the frontend 512 MiB and 0.3 CPU. A production runtime example uses 4 GiB and 2 CPU per replica. Figures here are rounded from those.
Tested by SelfHostMap
Measured, not officialWe deployed Langflow 1.12.7 ourselves on using the official Docker instructions, and measured what it actually used. Your numbers will vary with your data, users and hardware. How we test.
| Version / image | langflowai/langflow:latest → Langflow 1.12.7 (sha256:d2df4bb593c4…) |
|---|---|
| Test machine | Intel Xeon (Sapphire Rapids class, AVX-512 + AMX), 8 vCPU, 16 GB RAM (shared), GPU: none (CPU only). Debian 13 (trixie), Linux 6.12, Docker Engine 29.9.2. Container capped at 3.0 GiB. |
| RAM at idle measured | 1.2 GiB · 2 minutes after start, nobody logged in. |
| RAM while working measured | 1.3 GiB · Highest reading while logging in through the API and the browser, creating a flow from the "Vector Store RAG" template and opening it in the editor. We did not run an LLM-backed flow: the template's model component needs a provider key or an Ollama server, and we had neither connected for this test. |
| Image size | 801 MB download, 3.64 GB on disk once unpacked |
| Data on disk after test | 20 MB · Size of the container's writable layer after the test (built-in SQLite database with the starter projects and our two flows). The docs command keeps it inside the container. |
| Time to first start | 22.5 s with the image already downloaded · From docker run until /health_check answered 200 on first boot, including database migrations and loading the starter projects. Including the image download: 44.9 s (download took 22.4 s on our datacenter connection; yours depends on your network). |
What we ran into
- Any logged-in user can run code on the server by default
SECURITY: Langflow is running in multi-user mode (LANGFLOW_AUTO_LOGIN=false) with custom components enabled for every user (LANGFLOW_ALLOW_CUSTOM_COMPONENTS=true, LANGFLOW_CUSTOM_COMPONENT_ADMIN_ONLY=false). Component code is executed on the server at flow-build time, so any active non-admin user can run arbitrary code on this host.Fix: Set LANGFLOW_CUSTOM_COMPONENT_ADMIN_ONLY=true (only admins write component code) or LANGFLOW_ALLOW_CUSTOM_COMPONENTS=false before inviting other users.
- CORS allows every origin by default
CORS: Using permissive defaults (all origins + credentials). Set LANGFLOW_CORS_ORIGINS for production. Stricter defaults in v2.0.Fix: Set LANGFLOW_CORS_ORIGINS to your own URL.
- The docs command keeps your flows inside the container
Without a volume, the SQLite database lives in the container's own filesystem, so docker rm (for example when upgrading) deletes every flow and user.
Fix: Mount a volume for Langflow's config directory and set LANGFLOW_CONFIG_DIR, or use the Docker Compose file with PostgreSQL from the docs.
- The default superuser name is "langflow"
The docs command sets only the password. We logged in as langflow with that password.
Fix: Also set LANGFLOW_SUPERUSER to a name of your choice.
- Over 1.2 GB of RAM before anyone logs in
Idle use was already 1.22–1.25 GiB, more than the project's Kubernetes guidance of 1 GiB for the backend.
Fix: Plan for at least 2 GB for Langflow alone, plus whatever the model or vector store needs.
Exact command we ran
docker run -d --name langflow --memory 3g -p 7860:7860 \
-e LANGFLOW_AUTO_LOGIN=false \
-e LANGFLOW_SUPERUSER_PASSWORD=<strong-password> \
langflowai/langflow:latest Official Docker docs command with -d and a 3 GB memory cap. No volume, as in the docs command.
How much does it cost to host Langflow per month?
| Minimum spec | 1 vCPU · 1.5 GB RAM → CPX12 (1 vCPU, 2 GB, 40 GB disk) €9.99/mo |
|---|---|
| Recommended spec | 2 vCPU · 4 GB RAM → CPX22 (2 vCPU, 4 GB, 80 GB disk) €16.99/mo |
How we got this: we took the cheapest Hetzner Cloud Regular Performance (shared AMD vCPU) plan with at least the RAM and vCPU the project lists, using prices read from www.hetzner.com/cloud/regular-performance on 2026-11-30. "From" monthly price cap shown by Hetzner, excluding VAT. Prices vary by location. Covers the server only; it excludes LLM API usage, backups, extra storage, GPUs and your time. Disk is not matched; add a volume if you need more than the plan includes.
How to deploy Langflow
Method: Docker
docker run -p 7860:7860 \
-e LANGFLOW_AUTO_LOGIN=false \
-e LANGFLOW_SUPERUSER_PASSWORD=<strong-password> \
langflowai/langflow:latest From the official instructions: docs.langflow.org/deployment-docker. Always check the source for the current version before you run it.
Known gotchas when self-hosting Langflow
Alternatives in AI app & agent builders
- AutoGPT Platform Visual builder for long-running AI agents and workflows, self-hostable as a single container. Compare AutoGPT Platform vs Langflow
- Dify Visual platform for building LLM apps, RAG chatbots, agents and workflows. Compare Dify vs Langflow
- Mem0 Long-term memory layer for AI assistants and agents, with a self-hosted REST server and dashboard. Compare Langflow vs Mem0
- OpenManus MIT-licensed general AI agent framework you run locally with your own model API keys. Compare Langflow vs OpenManus
- Flowise Drag-and-drop builder for LLM agents and chatflows (archived August 2026).
- CowAgent Self-hosted AI agent (formerly chatgpt-on-wechat) that answers in WeChat, WeCom, Feishu, DingTalk, Slack and a web console. Compare CowAgent vs Langflow
- AstrBot Multi-platform AI chatbot and agent framework for QQ, WeCom, Feishu, DingTalk, Official Accounts, Telegram and Slack. Compare AstrBot vs Langflow
- Sim Visual builder for AI agent workflows, with knowledge bases, integrations and an API. Compare Langflow vs Sim
- AgenticSeek Local Manus-style agent that browses, codes and plans, with a Docker web UI. Compare AgenticSeek vs Langflow
- Archon MIT-licensed workflow harness that runs YAML AI coding factories on your machine or VPS. Compare Archon vs Langflow
- Coze Studio Open-source edition of ByteDance's Coze agent-building platform. Compare Coze Studio vs Langflow
- DB-GPT AI data assistant that connects to your databases, writes SQL and code, and turns analysis into reports. Compare DB-GPT vs Langflow
- OWL CAMEL-based multi-agent task automation with browser and document tools. Compare Langflow vs OWL
- Agent Zero General-purpose personal AI agent that uses its own Linux environment, browser, memory and tools. Compare Agent Zero vs Langflow
- LangBot Platform for AI chatbots on WeChat, WeCom, QQ, Feishu, DingTalk, Slack, Discord and Telegram, run from one dashboard. Compare LangBot vs Langflow
- BISHENG Open enterprise LLM app platform with agents, knowledge spaces, workflows, document parsing and RBAC. Compare BISHENG vs Langflow
- Agenta Open-source team workspace for building AI coworkers by chatting, usable from Slack, Telegram or WhatsApp. Compare Agenta vs Langflow
Langflow FAQ
How much RAM does Langflow need?
The official minimum is 1 vCPU · 1.5 GB RAM. The recommended spec is 2 vCPU · 4 GB RAM. Kubernetes guidance: the backend needs at least 1 GiB RAM and 0.5 CPU, the frontend 512 MiB and 0.3 CPU. A production runtime example uses 4 GiB and 2 CPU per replica. Figures here are rounded from those.
How much does it cost to self-host Langflow?
The software is free to download. Based on the official minimum 1 vCPU · 1.5 GB RAM (recommended 2 vCPU · 4 GB RAM): That fits a Hetzner Cloud CPX12 server at about €9.99/month (server only, excl. VAT; €16.99/month for the recommended spec). That covers the server only, not LLM API usage, backups, extra storage or your time.
Is Langflow free for commercial use?
Langflow is licensed under MIT (Permissive). Internal business use is allowed under the license text. Permissive. Internal and commercial use allowed; keep the copyright notice. This is a summary, not legal advice.
What are common problems when self-hosting Langflow?
Official release packages disable automatic login. Set LANGFLOW_SUPERUSER_PASSWORD before the first start, then sign in as "langflow". The production profile blocks new knowledge bases and memory bases that use local Chroma. Plan for an external vector store.
What went wrong when SelfHostMap deployed Langflow?
In our test of Langflow 1.12.7 on Oct 22, 2026: Any logged-in user can run code on the server by default. Set LANGFLOW_CUSTOM_COMPONENT_ADMIN_ONLY=true (only admins write component code) or LANGFLOW_ALLOW_CUSTOM_COMPONENTS=false before inviting other users. CORS allows every origin by default. Set LANGFLOW_CORS_ORIGINS to your own URL. The docs command keeps your flows inside the container. Mount a volume for Langflow's config directory and set LANGFLOW_CONFIG_DIR, or use the Docker Compose file with PostgreSQL from the docs. The default superuser name is "langflow". Also set LANGFLOW_SUPERUSER to a name of your choice. Over 1.2 GB of RAM before anyone logs in. Plan for at least 2 GB for Langflow alone, plus whatever the model or vector store needs.
Is Langflow still maintained?
Yes, it is actively developed. Last commit: Dec 6, 2026. Latest release: v1.13.5 (Dec 1, 2026). Checked Dec 6, 2026.
How do I install Langflow?
The official method is Docker. The exact commands are in the "How to deploy" section above and in the official instructions: https://docs.langflow.org/deployment-docker
What are self-hosted alternatives to Langflow?
Other apps in AI app & agent builders: AutoGPT Platform, Dify, Mem0, OpenManus, Flowise, CowAgent, AstrBot, Sim, AgenticSeek, Archon, Coze Studio, DB-GPT, OWL, Agent Zero, LangBot, BISHENG, Agenta.
Sources
- GitHub repository: github.com/langflow-ai/langflow
- Official documentation, Deploy instructions: docs.langflow.org/deployment-docker
- License text: github.com/langflow-ai/langflow/blob/main/LICENSE
- Hardware requirements, Gotcha 2: docs.langflow.org/deployment-prod-best-practices
- Gotcha 1: github.com/langflow-ai/langflow#readme
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
Facts on this page were checked against the project's own repository and docs on 2026-10-22. Spotted something out of date? Tell us.
