# Langflow

Visual builder for AI agents and workflows.

- Replaces: [Voiceflow](https://openlogs.fyi/alternatives/voiceflow)
- Summary: Paid AI agent builder services, such as Voiceflow.
- Stack: Python (language), PostgreSQL (database)
- Deployment: docker_compose
- License: MIT (osi) [source](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/LICENSE)
- Business model: unknown. The README at the pinned commit does not state a business model, so it stays unknown. ([source](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/README.md), read 2026-10-22)
- Difficulty: medium. 2 services (1 database or broker: postgres), 2 volume mounts, 1 env value to set, no elevated host access. Heuristic score 4 of 11: medium.
- Requirements: not stated
- Repository: [langflow-ai/langflow](https://github.com/langflow-ai/langflow)

## Install

1. Docker with the Compose plugin ([source](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/README.md))

   ```text
   A host with Docker and the Docker Compose plugin. This entry runs from a compose file.
   ```

2. Save the compose file as docker-compose.yml ([source](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/docker-compose.yml))

   ```yaml
   services:
     langflow:
       image: langflowai/langflow:latest # or another version tag on https://hub.docker.com/r/langflowai/langflow
       pull_policy: always               # set to 'always' when using 'latest' image
       ports:
         - "7860:7860"
       depends_on:
         - postgres
       environment:
         - LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@postgres:5432/langflow
         - LANGFLOW_SUPERUSER_PASSWORD=${LANGFLOW_SUPERUSER_PASSWORD:?set LANGFLOW_SUPERUSER_PASSWORD in .env}
         # This variable defines where the logs, file storage, monitor data and secret keys are stored.
         - LANGFLOW_CONFIG_DIR=/app/langflow
       volumes:
         - langflow-data:/app/langflow
   
     postgres:
       # Pinned to a specific Debian base (trixie) so the postgres:16 tag does not
       # silently roll its OS underneath us — that roll causes a glibc collation
       # version mismatch warning on existing volumes. Matches the langflow image
       # base. See https://github.com/langflow-ai/langflow/issues/9608
       image: postgres:16-trixie
       environment:
         POSTGRES_USER: langflow
         POSTGRES_PASSWORD: langflow
         POSTGRES_DB: langflow
       ports:
         - "5432:5432"
       volumes:
         - langflow-postgres:/var/lib/postgresql/data
   
   volumes:
     langflow-postgres:
     langflow-data:
   ```

3. Save as .env next to the compose file ([source](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/README.md#L26-L28))

   ```dotenv
   LANGFLOW_SUPERUSER_PASSWORD=SUPERUSER_PASSWORD
   ```

4. What the compose file check ran with ([source](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/README.md))

   ```text
   The compose file check ran together with a .env file copied unchanged from the code block in https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/README.md#L26-L28. The folder held only these files. The Docker example guide tells the reader to create a .env file with the admin password set, then run docker compose up.
   ```

5. Start it ([source](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/README.md))

   ```bash
   docker compose up -d
   ```

6. Open the app ([source](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/docker-compose.yml))

   ```text
   Open http://localhost:7860. The compose file publishes host port 7860 for the langflow service. The guide says Langflow is reachable at this address after docker compose up.
   ```

Compose file check: config_ok on 2026-10-22.

## Gotchas and maintenance

### Gotchas

- Some images use the latest tag or no tag: Images without a pinned version: langflow: langflowai/langflow:latest. A later pull can get a different version. ([source](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/docker-compose.yml), checked 2026-10-22)
- The compose file publishes host ports: Host ports: 7860 (langflow), 5432 (postgres). A port without a host address listens on all host network interfaces. ([source](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/docker-compose.yml), checked 2026-10-22)

### Signals

Computed from a GitHub snapshot taken 2026-10-22.

- Open issues and pull requests: 1191
- Stars: 155912, forks: 10232
- Last push: 2026-10-22 (0 days ago)
- Latest release: v1.12.7 on 2026-10-21 (1 days ago)

## Sources

- [Repository: https://github.com/langflow-ai/langflow](https://github.com/langflow-ai/langflow)
- [License: https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/LICENSE](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/LICENSE)
- [Business model: https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/README.md](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/README.md)
- [Compose file: https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/docker-compose.yml](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/docker-compose.yml)
- [Install step: https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/README.md](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/README.md)
- [Install step: https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/README.md#L26-L28](https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/README.md#L26-L28)

---
Canonical: https://openlogs.fyi/tools/langflow  
Last updated: 2026-10-22
