Langfuse
Tracing, prompt management and evals for LLM applications.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
Langfuse records traces of LLM calls and agent runs, manages prompt versions, and runs evaluations on datasets or live traffic. It is open source and can be self-hosted or used as a cloud service, with OpenTelemetry support.
Best for
Teams that want open-source observability they can run on their own infrastructure.
Skills it helps with
Learn Langfuse by doing
- Evaluate AI agents: outcomes, trajectories and tool use
Build an agent eval harness that checks the final state, the tool-call trajectory and a judged transcript, run each task several times and read the traces.
- Trace an agent with OpenTelemetry
Instrument an agent loop with OpenTelemetry GenAI spans, one per model call and tool call, and send the traces to Langfuse or Arize Phoenix.
- LLM-as-a-judge: grading outputs you can trust
Write narrow grading criteria, check the judge's verdicts against your own labels and decide when its agreement is good enough.
- Add tracing and cost tracking to an LLM app
One trace per user action, with tokens, latency and cost for each model call, so slow and costly features stand out.
- LLM cost levers cheat sheet
The main ways to cut model spend, ordered by effort, with what each saves, what it risks and how to check quality held. Checked against provider docs.
Related tools
Arize Phoenix
Source-available tracing and evaluation for LLM applications, built on OpenTelemetry.
MLflow
Open-source ML and GenAI platform with tracing, evaluation and prompt management.
Opik
Open-source platform from Comet for tracing, evaluating and monitoring LLM apps.
Braintrust
Platform for tracing production LLM traffic, running evals and catching regressions.
LangSmith
LangChain's tracing and evaluation platform, usable from any code.
W&B Weave
Weights & Biases toolkit for tracing, evaluating and comparing LLM applications.