Langfuse is an open-source platform for tracing, evaluating and managing AI agents and LLM calls. It covers observability, prompt and skill management, evaluations, dashboards and an AI gateway, as cloud or self-hosted
Overview
Langfuse is an AI engineering platform that collects traces of LLM calls and agent activity, including retrieval, embedding and tool steps. It is built on OpenTelemetry, so any OpenTelemetry-instrumented application or collector can send data to it. Teams can inspect complex traces and user sessions, filter them by user, session, cost, latency or metadata, and track usage and cost over time.
Prompt management lets teams store, version and collaboratively edit prompts outside application code, with server and client caching so iteration adds no latency. An LLM Playground tests prompts and model settings, and a poor result in a trace can be opened there directly. A beta skill management feature adds versions and labels to agent skills (SKILL.md files), supports promotion and rollback, and links skill versions to the traces they produced.
Evaluation supports LLM-as-a-judge, code evaluators, user feedback, manual annotation and custom pipelines through the API or SDKs. Datasets and experiments are used to build test sets and compare prompts, models or code variants before release. Custom dashboards, a metrics API and alerts follow latency, cost and quality.
A beta AI Gateway offers one endpoint for OpenAI and Anthropic clients. It keeps provider credentials in one place, issues gateway keys per user or service account, approves models centrally, tracks spend per user, key and model, and records each call as a trace.
Langfuse is available as a managed cloud service or can be self-hosted with Docker Compose, Kubernetes (Helm) or Terraform templates for AWS, Azure and GCP. Python and JS/TS SDKs, a REST API with an OpenAPI spec, a CLI and an MCP server are available, along with more than 100 integrations with frameworks, gateways and model providers.
Key features
- Tracing of LLM calls and agent steps
- OpenTelemetry-based ingestion
- Prompt versioning and playground
- Skill management (beta)
- LLM-as-a-judge and human annotation
- Datasets and experiments
- Dashboards, metrics API and alerts
- AI Gateway with per-user cost tracking (beta)
Use cases
- Debugging LLM applications and agents in production
- Tracking AI cost and latency per user
- Versioning and deploying prompts without code changes
- Evaluating models and prompts before release
- Centralizing access to model providers
Does the same job as
Langfuse doesn't name these products itself, but its own description shows it does the same job.