Langfuse

Langfuse

Open-source LLM engineering platform built on OpenTelemetry for AI agent tracing, prompt management, evaluations, and cost tracking.

★ 38.1K

See exactly why your AI agent failed and how much each run costs

Shipping an LLM workflow to production without tracing feels like debugging a black box blindfolded. When an agent loops five times or hallucinates an answer, standard application logs rarely show which retrieval chunk, system prompt revision, or tool call caused the breakdown. Langfuse gives you full OpenTelemetry-native observability, prompt versioning, and evaluation pipelines for AI applications. Backed by 38.1K GitHub stars and 4,400 forks with an MIT-licensed core, it runs either in the cloud or fully self-hosted via Docker and Kubernetes.

Core tooling for AI engineering teams

  • Nested agent trace trees capture every LLM generation, tool invocation, latency spike, and token cost across multi-step reasoning loops.
  • Centralized prompt management lets product and engineering teams version, test, and roll back prompts without redeploying application code.
  • Automated and human annotation queues score production outputs against golden datasets to catch regressions before users report them.
  • Drop-in integrations work out of the box with OpenAI, LangGraph, LlamaIndex, LiteLLM, Mastra, and any OpenTelemetry exporter.

Self-hosting requirements to keep in mind

High-volume production deployments use Postgres, ClickHouse, Redis, and S3-compatible object storage under the hood, so plan adequate memory on your host server. Spin up the local Docker Compose stack today and wrap your main LLM client to inspect your first full agent trace in real time.

Ready to try Langfuse?

Experience the full capabilities on their official website.

Visit Official Website