{
  "manifest_version": "1",
  "slug": "langflow",
  "title": "Langflow",
  "headline": "Self-host Langflow",
  "description": "Langflow self-host with Docker and Postgres on an exe.dev VM: a private visual builder for AI agents, keyless models, and flows as API and MCP.",
  "category": "ai-apps",
  "tags": [
    "langflow",
    "langflow self-host",
    "langflow docker",
    "ai agents",
    "visual agent builder",
    "mcp server",
    "llm workflows",
    "postgres",
    "docker compose"
  ],
  "url": "https://exe.dev/deploy/langflow",
  "markdown_url": "https://exe.dev/deploy/langflow.md",
  "upstream": {
    "website": "https://www.langflow.org",
    "source": "https://github.com/langflow-ai/langflow",
    "docs": "https://docs.langflow.org/deployment-docker",
    "license": "MIT"
  },
  "example_vm_name": "my-langflow",
  "time": "10 minutes",
  "stack": [
    {
      "name": "Langflow 1.13",
      "detail": "The official langflowai/langflow image, pinned to 1.13.3, with sign-in on and sign-up off",
      "port": 7860,
      "data": "~/langflow/data"
    },
    {
      "name": "PostgreSQL 16",
      "detail": "Flows, projects, users, API keys, and encrypted global variables",
      "data": "~/langflow/postgres"
    },
    {
      "name": "API door (nginx)",
      "detail": "Runs flows, webhooks, and MCP servers, and nothing else; no editor, no login page",
      "port": 8000
    },
    {
      "name": "exe.dev LLM gateway",
      "detail": "GPT and Claude models through Langflow's OpenAI and Anthropic providers, with no keys"
    }
  ],
  "access": [
    {
      "url": "https://my-langflow.exe.xyz:7860/",
      "who": "private",
      "what": "The Langflow editor, after exe.dev login and Langflow's own sign-in"
    },
    {
      "url": "https://my-langflow.exe.xyz/",
      "who": "private",
      "what": "Flow runs, webhooks, and MCP, with a Langflow API key; make it public for outside servers"
    }
  ],
  "delivers": [
    "Langflow 1.13.3 and PostgreSQL 16 in Docker Compose, with generated secrets in `~/langflow/.env` (mode 600), coming back after a reboot.",
    "The editor at `https://\u003cvm\u003e.exe.xyz:7860/`, signed in as you, with sign-up turned off.",
    "OpenAI and Anthropic models from exe.dev's LLM gateway, with no API keys.",
    "An Assistant agent flow that reads web pages, answering on `/api/v1/run/assistant`.",
    "Port 8000 serving flow runs, webhooks, and MCP to callers with a Langflow API key, and nothing else.",
    "A Langflow API key in `~/langflow/api-key` (mode 600) for scripts, CI, and Claude Code.",
    "Nightly backups of the database, files, and secrets into `~/langflow-backups`, with one checked."
  ],
  "deployable": true,
  "deploy": {
    "new_vm_url": "https://exe.dev/new?prompt=Set%20up%20Langflow%20on%20this%20VM%20by%20following%20the%20exe.dev%20recipe%20at%20https%3A%2F%2Fexe.dev%2Fdeploy%2Flangflow.md%3Fvia%3Ddeploy%20from%20top%20to%20bottom.%0A%0AThe%20recipe%27s%20example%20VM%20name%20is%20my-langflow.%20This%20VM%27s%20name%20is%20the%20output%20of%20%60hostname%60%3A%20use%20it%20wherever%20the%20recipe%20writes%20my-langflow.%20Skip%20the%20step%20that%20creates%20the%20VM%3B%20you%20are%20on%20it.%0A%0AYou%20are%20done%20when%20all%20of%20these%20are%20true.%20Check%20each%20one%20yourself%3A%0A-%20Langflow%201.13.3%20and%20PostgreSQL%2016%20in%20Docker%20Compose%2C%20with%20generated%20secrets%20in%20%60~%2Flangflow%2F.env%60%20%28mode%20600%29%2C%20coming%20back%20after%20a%20reboot.%0A-%20The%20editor%20at%20%60https%3A%2F%2F%3Cvm%3E.exe.xyz%3A7860%2F%60%2C%20signed%20in%20as%20you%2C%20with%20sign-up%20turned%20off.%0A-%20OpenAI%20and%20Anthropic%20models%20from%20exe.dev%27s%20LLM%20gateway%2C%20with%20no%20API%20keys.%0A-%20An%20Assistant%20agent%20flow%20that%20reads%20web%20pages%2C%20answering%20on%20%60%2Fapi%2Fv1%2Frun%2Fassistant%60.%0A-%20Port%208000%20serving%20flow%20runs%2C%20webhooks%2C%20and%20MCP%20to%20callers%20with%20a%20Langflow%20API%20key%2C%20and%20nothing%20else.%0A-%20A%20Langflow%20API%20key%20in%20%60~%2Flangflow%2Fapi-key%60%20%28mode%20600%29%20for%20scripts%2C%20CI%2C%20and%20Claude%20Code.%0A-%20Nightly%20backups%20of%20the%20database%2C%20files%2C%20and%20secrets%20into%20%60~%2Flangflow-backups%60%2C%20with%20one%20checked.%0A%0ARead%20the%20whole%20recipe%2C%20including%20the%20closed%20details.%20For%20initial%20setup%2C%0Afollow%20%22Install%20by%20hand%22%20first%2C%20skipping%20VM%20creation%20and%20SSH%2C%20through%0A%22Test%20a%20backup%22.%20The%20sections%20at%20the%20top%20are%20for%20the%20owner%20afterwards.%0ADo%20not%20run%20Restore%20unless%20the%20user%20asks.%20Never%20print%20~%2Flangflow%2F.env%20or%0A~%2Flangflow%2Fapi-key%20into%20the%20chat%3B%20tell%20the%20owner%20where%20they%20are.%20Don%27t%0Ashare%20the%20VM%20or%20make%20it%20public%3A%20the%20owner%20decides.%20Leave%20the%20Assistant%0Aflow%20in%20place%20so%20the%20owner%20can%20see%20it.%20Langflow%20takes%20about%20half%20a%0Aminute%20to%20start%3B%20connection%20errors%20in%20that%20time%20are%20normal.%0A%0AFinish%20with%20the%20URLs%20I%20should%20open.%0A",
    "terminal": "curl -fsSL https://exe.dev/deploy/langflow/prompt.txt | ssh exe.dev new --prompt=/dev/stdin",
    "prompt": "Set up Langflow on this VM by following the exe.dev recipe at https://exe.dev/deploy/langflow.md?via=deploy from top to bottom.\n\nThe recipe's example VM name is my-langflow. This VM's name is the output of `hostname`: use it wherever the recipe writes my-langflow. Skip the step that creates the VM; you are on it.\n\nYou are done when all of these are true. Check each one yourself:\n- Langflow 1.13.3 and PostgreSQL 16 in Docker Compose, with generated secrets in `~/langflow/.env` (mode 600), coming back after a reboot.\n- The editor at `https://\u003cvm\u003e.exe.xyz:7860/`, signed in as you, with sign-up turned off.\n- OpenAI and Anthropic models from exe.dev's LLM gateway, with no API keys.\n- An Assistant agent flow that reads web pages, answering on `/api/v1/run/assistant`.\n- Port 8000 serving flow runs, webhooks, and MCP to callers with a Langflow API key, and nothing else.\n- A Langflow API key in `~/langflow/api-key` (mode 600) for scripts, CI, and Claude Code.\n- Nightly backups of the database, files, and secrets into `~/langflow-backups`, with one checked.\n\nRead the whole recipe, including the closed details. For initial setup,\nfollow \"Install by hand\" first, skipping VM creation and SSH, through\n\"Test a backup\". The sections at the top are for the owner afterwards.\nDo not run Restore unless the user asks. Never print ~/langflow/.env or\n~/langflow/api-key into the chat; tell the owner where they are. Don't\nshare the VM or make it public: the owner decides. Leave the Assistant\nflow in place so the owner can see it. Langflow takes about half a\nminute to start; connection errors in that time are normal.\n\nFinish with the URLs I should open.\n",
    "prompt_url": "https://exe.dev/deploy/langflow/prompt.txt"
  },
  "published": "2026-11-21",
  "updated": "2026-11-21",
  "verified": "2026-11-21",
  "related": [
    "dify",
    "n8n-2",
    "langfuse",
    "claude-code",
    "postgres",
    "docker-compose"
  ],
  "alternatives": [
    "DataStax Langflow",
    "Flowise",
    "Dify"
  ],
  "files": [
    "https://exe.dev/deploy/langflow/add-user.sh",
    "https://exe.dev/deploy/langflow/api.conf",
    "https://exe.dev/deploy/langflow/backup.sh",
    "https://exe.dev/deploy/langflow/setup.sh"
  ]
}
