Tool — LLM Observability

Seeing what a system
actually did.

Langfuse is an open-source observability platform for LLM applications — every prompt, every tool call, every retrieval, traced and queryable, so a production issue is something you can look up instead of something you have to guess at. It's observability, not orchestration — it watches what a system does, it doesn't decide what the system does next, and we keep those two concerns in separate tools rather than one blurred into the other.

Serving UK and EU clients: GDPR, EU AI Act, and data residency are covered on our Trust & Safety page.

What it is

Tracing for systems
that make decisions.

Langfuse is an open-source LLM engineering platform built around one core primitive: the trace. A trace captures every step of a request — each LLM call with its exact prompt and completion, each tool invocation, each retrieval, each intermediate agent decision — as a nested tree with timing, token counts, and cost attached to every node. Once a system involves more than a single LLM call, "it's not working right" stops being something you can debug by reading application logs, because the failure could be in retrieval, in a tool call's arguments, in which branch an agent took, or in the final generation — and a trace is what lets you see which one it actually was.

It's fully open-source and self-hostable — the same stack Langfuse runs as its own managed cloud service is available to deploy inside your own infrastructure, which matters for the same data residency reasons that make ChromaDB our default vector store for UK/EU clients. Beyond tracing, it ships prompt management (versioning and testing prompts outside application code so a prompt change doesn't require a full redeploy), a dataset and evaluation framework for running scored checks against traces using either an LLM-as-judge or human annotation, and usage/cost analytics aggregated by model, by feature, or by user across a project.

It's worth being precise about the category: Langfuse doesn't orchestrate anything — it doesn't run your agent's logic or decide what the next step is, the way LangGraph or CrewAI do. It instruments whatever is already running, usually via lightweight SDK decorators or callback integrations with the orchestration framework in use, and is complementary to all of them rather than a competitor to any.

The alternative we weigh it against most often is rolling a custom logging layer on top of existing application monitoring. For a single-call integration that's sometimes genuinely sufficient; the moment a system has more than one LLM step in sequence, a trace-native tool earns its place quickly, because reconstructing a multi-step LLM request from generic log lines after the fact is slow and usually incomplete.

One gotcha worth naming plainly: tracing a system means prompts and completions — potentially including customer data, document content, or anything else that passed through the model — now live in a second place, the tracing backend, not just the application's own database. That's exactly why self-hosting matters for a meaningful share of our clients, and why we treat "where does trace data live" as a question to answer before instrumentation goes in, not after.

A second gotcha is retention and cost at volume: full-payload tracing on every request adds up fast once traffic is real, both in storage and in what a trace actually costs to query later. We sample, redact sensitive fields before they're ever sent to the tracing backend, and set retention policies deliberately rather than tracing everything forever by default and discovering the bill months later.

How we build it

Observability from
day one, not after an incident.

Tracing added at launch as a design decision, not bolted on after something breaks and someone asks why nobody can explain what the system did, which is the point at which it's always too late to be useful for the incident that just happened.

01Full request tracing with real payloads

Every step of a multi-step request — retrieval, generation, tool calls, agent handoffs — captured with the actual prompt and completion, not just a status code, so a bad answer can be traced back to the exact step that produced it instead of guessed at from a generic error.

02Cost and latency as tracked metrics

Per-call cost and response time tracked and aggregated by model, by user, by feature — not discovered at month-end on a provider invoice — feeding the same dashboards as our broader MLOps work, with alerts when a cost or latency trend moves before it becomes an incident.

03Evaluation against real traffic, not just a static set

A golden test set catches regressions before launch; scoring a sample of real production traces, using either an LLM-as-judge rubric or human review through Langfuse's annotation queue, catches the failure modes a static set never anticipated, because real users ask things nobody wrote a test case for.

04Self-hosted where data sensitivity requires it

Prompts and completions routed through observability tooling can contain sensitive data themselves — customer records, document content, anything the model saw. We weigh self-hosting Langfuse against using its managed cloud the same way we weigh any vendor touching production data, and we raise the question before instrumentation ships, not after.

Where this fits

The observability layer
underneath what we ship.

Langfuse sits underneath the agent, RAG, and evaluation work we do — it doesn't replace any of it, it's how we know whether any of it is actually working once it's live, instead of relying on users to report when it isn't.

Common questions

Before you
book a call.

The questions we get asked most about Langfuse and LLM observability — answered straight, no sales pitch.

Why do LLM systems need dedicated observability instead of normal application logs?

A multi-step LLM request — retrieval, generation, tool calls, agent handoffs — doesn't fit neatly into a single log line, and a generic application log rarely captures the actual prompt or completion that caused a problem. Langfuse traces each step with its real inputs and outputs so you can see exactly where a request went wrong, not just that it returned a bad answer somewhere downstream.

Is Langfuse an orchestration framework, like LangGraph or CrewAI?

No — it's observability, not orchestration, and the distinction matters. It doesn't run your agent's logic or decide what happens next; it instruments whatever is already running, via SDK decorators or callback integrations with whichever orchestration framework — or none at all — is doing the actual work. We've wired it into LangGraph state machines, CrewAI crews, and plain custom agent loops with no framework underneath.

Is this only useful after something breaks?

No — we wire it in at launch specifically so issues are visible before they become incidents, and so cost and latency are tracked metrics from day one rather than a surprise on a provider invoice at month-end. Waiting until after an incident to add tracing means the incident that prompted it is the one case you'll never be able to fully explain.

Can we self-host Langfuse, or does it have to be their cloud?

It's fully open-source and self-hostable — the same stack behind Langfuse's managed cloud can run inside your own infrastructure. We weigh self-hosting against the managed service the same way we weigh any vendor that touches production data, especially when prompts or completions themselves contain sensitive customer or document content that shouldn't leave your own environment.

Does this add latency to production requests?

Tracing overhead is minimal and asynchronous in most configurations — events are batched and sent in the background rather than blocking the response the user is waiting on, so it's designed for production use at real traffic volumes, not just development-time debugging on a handful of test requests.

Get started

Tell us what
you're trying to monitor.

Book a 30-minute call — we'll tell you honestly whether your LLM system has the observability it needs before it ships.