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

GitHub stars157k
Forks10.5k
Latest releasev1.13.5Dec 1, 2026
Last commitDec 6, 2026
Est. server costfrom €9.99/mo

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)

LicenseMIT
TypePermissive: MIT / Apache-2.0: use, modify and sell with few obligations.
Internal business useAllowed under the license text
What to watchPermissive. 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.

Source: docs.langflow.org/contributing-telemetry

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.

Source: docs.langflow.org/external-authentication

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?

Minimum1 vCPU · 1.5 GB RAM
Recommended2 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.

Source: docs.langflow.org/deployment-prod-best-practices

Tested by SelfHostMap

Measured, not official

We 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 / imagelangflowai/langflow:latest → Langflow 1.12.7 (sha256:d2df4bb593c4…)
Test machineIntel 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 measured1.2 GiB · 2 minutes after start, nobody logged in.
RAM while working measured1.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 size801 MB download, 3.64 GB on disk once unpacked
Data on disk after test20 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 start22.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.

Langflow 1.12.7 editor with the Vector Store RAG template (Chat Input, Knowledge, Parser, Prompt and Agent components)
Langflow 1.12.7 editor with the Vector Store RAG template (Chat Input, Knowledge, Parser, Prompt and Agent components). Screenshot from our test, Oct 22, 2026.

How much does it cost to host Langflow per month?

Minimum spec1 vCPU · 1.5 GB RAM → CPX12 (1 vCPU, 2 GB, 40 GB disk) €9.99/mo
Recommended spec2 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

  • Official release packages disable automatic login. Set LANGFLOW_SUPERUSER_PASSWORD before the first start, then sign in as "langflow". source
  • The production profile blocks new knowledge bases and memory bases that use local Chroma. Plan for an external vector store. source

Alternatives in AI app & agent builders

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

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.