{
  "manifest_version": "1",
  "slug": "langfuse",
  "title": "Langfuse",
  "headline": "Self-host Langfuse",
  "description": "Run Langfuse on exe.dev: private LLM tracing, prompt management, and LLM-as-a-judge evals, with models from exe.dev's keyless LLM gateway.",
  "category": "monitoring",
  "tags": [
    "llm observability",
    "llm tracing",
    "opentelemetry",
    "llm evals",
    "prompt management",
    "docker compose"
  ],
  "url": "https://exe.dev/deploy/langfuse",
  "markdown_url": "https://exe.dev/deploy/langfuse.md",
  "upstream": {
    "website": "https://langfuse.com",
    "source": "https://github.com/langfuse/langfuse",
    "docs": "https://langfuse.com/self-hosting",
    "license": "MIT (enterprise features under a separate license)"
  },
  "example_vm_name": "my-langfuse",
  "time": "15 minutes",
  "stack": [
    {
      "name": "Langfuse 4.82",
      "detail": "Web and worker containers, from Langfuse's Docker Compose setup",
      "port": 3000,
      "data": "~/langfuse/.env"
    },
    {
      "name": "PostgreSQL 17",
      "detail": "Accounts, projects, prompts, evaluators",
      "data": "~/langfuse/data/postgres"
    },
    {
      "name": "ClickHouse 26.3",
      "detail": "Traces, observations, and scores",
      "data": "~/langfuse/data/clickhouse"
    },
    {
      "name": "Redis 7",
      "detail": "The worker's queue"
    },
    {
      "name": "SeaweedFS 4.54",
      "detail": "S3-compatible storage for raw events, in place of MinIO",
      "data": "~/langfuse/data/seaweedfs"
    },
    {
      "name": "exe.dev LLM gateway",
      "detail": "GPT and Claude for your apps and for Langfuse's judges, without API keys"
    }
  ],
  "access": [
    {
      "url": "https://my-langfuse.exe.xyz:3000/",
      "who": "private",
      "what": "The Langfuse UI and API, behind exe.dev's login, then Langfuse's own"
    },
    {
      "url": "https://my-langfuse.exe.xyz:3000/",
      "who": "shared",
      "what": "Teammates you share the VM with, each with a Langfuse account"
    },
    {
      "url": "https://my-langfuse.exe.xyz/api/public/",
      "who": "public",
      "what": "Optional. The SDK and OpenTelemetry API only, guarded by Langfuse API keys"
    }
  ],
  "delivers": [
    "Langfuse at your VM's private URL on port 3000, with your account, an organization, and a project.",
    "Open sign-up turned off, and project API keys in ~/langfuse/client.env.",
    "A test trace of GPT and Claude calls through exe.dev's LLM gateway, with tokens and latency.",
    "The gateway as an LLM connection, and an LLM-as-a-judge evaluator that scored the test trace.",
    "Starts again after a reboot; nightly backups, with one checked."
  ],
  "deployable": true,
  "deploy": {
    "new_vm_url": "https://exe.dev/new?prompt=Set%20up%20Langfuse%20on%20this%20VM%20by%20following%20the%20exe.dev%20recipe%20at%20https%3A%2F%2Fexe.dev%2Fdeploy%2Flangfuse.md%3Fvia%3Ddeploy%20from%20top%20to%20bottom.%0A%0AThe%20recipe%27s%20example%20VM%20name%20is%20my-langfuse.%20This%20VM%27s%20name%20is%20the%20output%20of%20%60hostname%60%3A%20use%20it%20wherever%20the%20recipe%20writes%20my-langfuse.%20Skip%20the%20step%20that%20creates%20the%20VM%3B%20you%20are%20on%20it.%0A%0AThis%20recipe%20needs%20a%2040GB%20disk%2C%20and%20a%20new%20VM%27s%20may%20be%20smaller.%20Before%20you%20install%20anything%2C%20run%20%60df%20-h%20%2F%60.%20If%20its%20size%20is%20under%2036G%2C%20stop%20and%20ask%20me%20to%20grow%20the%20disk%2C%20either%20with%20this%20link%3A%20https%3A%2F%2Fexe.dev%2Fsuggest%3Fcommand%3Dresize%2520my-langfuse%2520--disk%253D40GB%20or%2C%20on%20my%20computer%2C%20with%20%60ssh%20exe.dev%20resize%20my-langfuse%20--disk%3D40GB%60.%20When%20I%20say%20it%27s%20done%2C%20run%20%60sudo%20resize2fs%20%22%24%28findmnt%20-no%20SOURCE%20%2F%29%22%60%2C%20check%20%60df%20-h%20%2F%60%20again%2C%20and%20carry%20on.%0A%0AYou%20are%20done%20when%20all%20of%20these%20are%20true.%20Check%20each%20one%20yourself%3A%0A-%20Langfuse%20at%20your%20VM%27s%20private%20URL%20on%20port%203000%2C%20with%20your%20account%2C%20an%20organization%2C%20and%20a%20project.%0A-%20Open%20sign-up%20turned%20off%2C%20and%20project%20API%20keys%20in%20~%2Flangfuse%2Fclient.env.%0A-%20A%20test%20trace%20of%20GPT%20and%20Claude%20calls%20through%20exe.dev%27s%20LLM%20gateway%2C%20with%20tokens%20and%20latency.%0A-%20The%20gateway%20as%20an%20LLM%20connection%2C%20and%20an%20LLM-as-a-judge%20evaluator%20that%20scored%20the%20test%20trace.%0A-%20Starts%20again%20after%20a%20reboot%3B%20nightly%20backups%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%20but%20doing%20the%0Adisk%20check.%20Then%20stop%3A%20the%20sections%20above%20it%20are%20for%20the%20owner.%0ADo%20not%20run%20Restore%2C%20Update%2C%20or%20anything%20under%20%22Trace%20apps%20on%20other%0Amachines%22%20unless%20the%20owner%20asks.%20Work%20as%20exedev%20in%20~%2Flangfuse.%20Never%0Aoverwrite%20an%20existing%20.env.%0AMake%20the%20VM%27s%20owner%20the%20Langfuse%20account%2C%20using%20the%20email%20from%20the%0Areflection%20integration%3B%20if%20it%20prints%20nothing%2C%20ask%20the%20user%20for%20their%0Aexe.dev%20email.%20At%20the%20end%2C%20tell%20the%20owner%20their%20Langfuse%20email%20and%0Awhere%20the%20password%20is%20%28~%2Flangfuse%2F.env%2C%20LANGFUSE_INIT_USER_PASSWORD%29%2C%20not%0Athe%20password%20itself.%20Don%27t%20share%20the%20VM%20or%20make%20it%20public.%0AVerify%20docker.service%20is%20enabled%20and%20the%20containers%20use%20unless-stopped%3B%0Ado%20not%20reboot.%0A%0AFinish%20with%20the%20URLs%20I%20should%20open.%0A",
    "disk": "40GB",
    "terminal": "curl -fsSL https://exe.dev/deploy/langfuse/prompt.txt | ssh exe.dev new --disk=40GB --prompt=/dev/stdin",
    "prompt": "Set up Langfuse on this VM by following the exe.dev recipe at https://exe.dev/deploy/langfuse.md?via=deploy from top to bottom.\n\nThe recipe's example VM name is my-langfuse. This VM's name is the output of `hostname`: use it wherever the recipe writes my-langfuse. Skip the step that creates the VM; you are on it.\n\nThis recipe needs a 40GB disk, and a new VM's may be smaller. Before you install anything, run `df -h /`. If its size is under 36G, stop and ask me to grow the disk, either with this link: https://exe.dev/suggest?command=resize%20my-langfuse%20--disk%3D40GB or, on my computer, with `ssh exe.dev resize my-langfuse --disk=40GB`. When I say it's done, run `sudo resize2fs \"$(findmnt -no SOURCE /)\"`, check `df -h /` again, and carry on.\n\nYou are done when all of these are true. Check each one yourself:\n- Langfuse at your VM's private URL on port 3000, with your account, an organization, and a project.\n- Open sign-up turned off, and project API keys in ~/langfuse/client.env.\n- A test trace of GPT and Claude calls through exe.dev's LLM gateway, with tokens and latency.\n- The gateway as an LLM connection, and an LLM-as-a-judge evaluator that scored the test trace.\n- Starts again after a reboot; nightly 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 but doing the\ndisk check. Then stop: the sections above it are for the owner.\nDo not run Restore, Update, or anything under \"Trace apps on other\nmachines\" unless the owner asks. Work as exedev in ~/langfuse. Never\noverwrite an existing .env.\nMake the VM's owner the Langfuse account, using the email from the\nreflection integration; if it prints nothing, ask the user for their\nexe.dev email. At the end, tell the owner their Langfuse email and\nwhere the password is (~/langfuse/.env, LANGFUSE_INIT_USER_PASSWORD), not\nthe password itself. Don't share the VM or make it public.\nVerify docker.service is enabled and the containers use unless-stopped;\ndo not reboot.\n\nFinish with the URLs I should open.\n",
    "prompt_url": "https://exe.dev/deploy/langfuse/prompt.txt"
  },
  "updated": "2026-11-18",
  "verified": "2026-11-18",
  "related": [
    "open-webui",
    "grafana",
    "agent-secrets",
    "docker-compose",
    "postgres",
    "uptime-kuma"
  ],
  "alternatives": [
    "LangSmith",
    "Helicone",
    "Arize Phoenix"
  ]
}
