What it is
Langfuse is an MIT-licensed LLM engineering platform: it traces every model call, tool call and retrieval step in an agent, scores outputs with LLM-as-a-judge, user feedback or custom metrics, and versions prompts so they can be changed without redeploying. Tracing is built on OpenTelemetry and works with 100+ frameworks. Since June 2025 nearly all features (including evals, playground and annotation queues) are open source; only a few enterprise security features are commercial. ClickHouse acquired the Berlin-based company in January 2026, and Langfuse remains MIT-licensed with a separate cloud service.
How it works
An SDK or OpenTelemetry exporter sends traces made of observations (spans, LLM generations, events) to Langfuse, where they are grouped into sessions and users. You attach scores to traces, build datasets from them, run experiments against new prompt or model versions, and fetch versioned prompts at runtime by label. Self-hosted Langfuse stores trace data in ClickHouse, with Postgres, Redis and blob storage alongside.
Key concepts
- Trace
- A single request or operation, grouping all the observations that share its trace ID.
- Observation
- One step inside a trace — a span, an LLM generation or an event.
- Session
- A group of traces from the same user interaction, such as a chat thread.
- Score
- An evaluation result (from an LLM judge, user feedback or code) attached to a trace or observation.
- Prompt management
- Versioned prompts deployed by label and linked to the traces that used them.
- Dataset
- A set of test inputs and expected outputs used to run experiments on new versions.
Use it when
- You want open-source, self-hostable observability and evals for agents, including in regulated or on-prem settings.
- You use several frameworks (LangGraph, OpenAI Agents SDK, Pydantic AI, Mastra) and want one vendor-neutral, OpenTelemetry-based tool.
- You want prompt versioning and experiments alongside tracing.
Look elsewhere when
- You are all-in on LangChain/LangGraph and want deployment and observability from one vendor — LangSmith is tighter.
- You need only basic request logs and do not want to run or pay for another service.
Who uses it
- Khan Academy
Developer feedback loop for its Khanmigo AI tutor.
Evidence: langfuse.com
- Canva
Observability for its agentic AI support experience.
Evidence: langfuse.com
- Merck
Tracks prompts, costs and latency across 80+ AI project teams.
Evidence: langfuse.com
- SumUp
Traces and evaluates an AI first-level support agent.
Evidence: langfuse.com
Milestones
- ClickHouse acquired Langfuse; the project stays MIT-licensed and Langfuse Cloud keeps running. (clickhouse.com)
- Open-sourced all remaining product features (LLM-as-a-judge, playground, annotation queues, prompt experiments) under MIT. (langfuse.com)
- Langfuse v3 moved the core data layer from Postgres to ClickHouse. (langfuse.com)
Start learning
langfuse.com
langfuse.com
langfuse.com
- Langfuse Academy ↗course
langfuse.com