Skip to content

Langfuse

Self-hostable tracing, evals and prompt management for teams building LLM apps and agents

Permissive (OSI) · MIT AI-native
  • Self-hosted

Listed by , founder & editor

89

Health

Thriving

Overview

Stars

37,790

Last commit

today

Nov 2026

Repository age

3 years

since May 2023

Latest version

v4.84.0

Nov 2026

Contributors

–

17 active in 90 days

Releases

25

last 12 months

Docker pulls

22M

langfuse/langfuse

Language

TypeScript

Langfuse is an open source platform for observing and evaluating LLM applications and agents. You instrument your app, send traces, and then inspect individual calls, retrieval steps, agent actions and user sessions. Tracing is built on OpenTelemetry.

Beyond tracing, it includes prompt management with versioning and caching, an LLM playground, and evaluations. Evaluations cover LLM-as-a-judge, code evaluators, user feedback, manual labeling, and datasets with experiments for pre-deployment tests. Dashboards track latency, cost and quality, and a metrics API and alerts are available. Beta features include skill management and an AI gateway that centralizes provider keys and tracks spend per user, key and model.

The code is TypeScript under the MIT license. You can run it with Docker Compose on one machine or on Kubernetes with Helm, or use the hosted cloud service. Typed SDKs exist for Python and JS/TS, plus an OpenAPI spec and a CLI. It is a direct replacement for LangSmith for tracing, evals and prompts.

Who it's for

Teams building LLM agents that must keep trace data in-house

You can self-host with Docker Compose or Helm and keep prompts and traces on your own infrastructure.

Skip if: You want a managed service for deploying agents, which Langfuse does not provide.

Engineers moving off LangSmith

It covers tracing, evals, datasets and prompt management under a permissive MIT license.

Skip if: You rely on LangSmith features outside observability and evaluation.

Platform teams tracking AI spend across an organization

The gateway and dashboards break down cost by user, key and model.

Skip if: You need a stable, non-beta gateway today.

The problem it solves

LLM apps and agents fail in ways that are hard to see from logs alone. You need traces, cost tracking, prompt versions and test sets in one place. Langfuse gives you that without sending data to a closed vendor.

Strengths

  • MIT license with a Docker Compose setup for a single machine
  • Tracing built on OpenTelemetry
  • Evals include LLM-as-a-judge, code evaluators, datasets and experiments
  • Typed Python and JS/TS SDKs, OpenAPI spec and CLI
  • Active: 25 releases in the last year and 15 recent contributors

Trade-offs

  • No managed agent deployment
  • No model training or model registry
  • Skill management and AI gateway are still beta
  • Production scale needs more than the single-VM Compose setup

Langfuse replaces

Self-host Langfuse

Self-hostable
Yes
Docker image
langfuse/langfuse
Docker Compose
The repository ships a Compose file
Hosted plan
From $29/month · pricing

Quick start

# Get a copy of the latest Langfuse repository
git clone --depth=1 https://github.com/langfuse/langfuse.git
cd langfuse

# Run the langfuse docker compose
docker compose up

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Langfuse free?

The code is MIT licensed and free to self-host. A hosted cloud plan is also available, starting at 29 USD per month.

Can I self-host it?

Yes. Use Docker Compose for one machine or VM, or Helm for Kubernetes.

What does it replace?

It is a direct replacement for LangSmith for tracing, evaluations and prompt management.

Which SDKs are available?

Typed SDKs for Python and JS/TS, plus an OpenAPI spec and a CLI.

Langfuse compared

Other LangSmith alternatives

Compare all 6 LangSmith alternatives →

Similar tools in ML platforms and MLOps

Netron

ML platforms and MLOps

Viewer for inspecting neural network and machine learning model files on desktop or

34k 3.2k today Thriving MIT

mlflow

ML platforms and MLOps

Open platform for tracing LLM apps, running evals and tracking ML experiments

29k 6.7k today Thriving Apache-2.0

Replaces LangSmith

jupyterhub

ML platforms and MLOps

Multi-user server that gives each person their own Jupyter notebook environment

8.4k 2.1k 5 days ago Active BSD-3-Clause

label-studio

ML platforms and MLOps

Data labeling tool for audio, text, images, video and time series, with model export

29k 3.8k today Active Apache-2.0

Seldon

ML platforms and MLOps

Kubernetes framework for serving and scaling machine learning models and pipelines

4.8k 859 10 months ago Dormant Apache-2.0