Langfuse
Open-source platform for tracing, prompt management and evaluation of LLM apps, self-hosted or as a cloud service.
- Open source
- Can run on your own servers
- Developer API
Agents are hard to debug from the outside. A single request can trigger a dozen model calls, several tool calls and a few retries before an answer appears, and a wrong answer at the end can come from any of those steps. Observability tools record each run as a trace, a timeline of every step with its inputs, outputs, timing, tokens and cost, so you can see exactly where things went off course.
Evaluation tools answer a different question: is the agent getting better or worse? You build a set of test cases from real requests, decide what a good result looks like, and score each version of the agent against the set. Scores can come from code checks, from a model acting as a judge, or from people reviewing outputs. Running the same set before every change catches regressions that would otherwise reach users.
Most products here do both, with different emphasis. Some started as tracing tools and added evals. Others started with evals and experiments and added production monitoring. A few focus on guardrails, which check inputs and outputs in real time and block or fix ones that break a rule, such as leaking personal data or calling a tool with bad arguments.
For agents specifically, look for views that show tool calls clearly, including the arguments the model chose and what came back, and that group multi-step runs into one session. Metrics such as whether the right tool was picked and whether the task was completed matter more for agents than for single-answer chat apps.
Data handling deserves a hard look. Traces often contain customer messages, documents and tool outputs. Check where traces are stored, how long they are kept, whether fields can be masked before they leave your systems, and who on your team can read them. Open-source tools here can be self-hosted if traces must stay on your own infrastructure.
What a featured listing costs ยท from $99 a month
Open-source platform for tracing, prompt management and evaluation of LLM apps, self-hosted or as a cloud service.
Open-source tool for tracing and evaluating LLM apps, built on OpenTelemetry and runnable on a laptop or server.
Weights & Biases toolkit for tracing LLM and agent calls and running evaluations, tied to its experiment tracking.
Open-source proxy and dashboard that logs model requests, cost and latency with a one-line change to your API base URL.
Open-source tool from Comet for logging traces, running evaluations and testing prompts for LLM apps and agents.
Open-source command-line tool for testing prompts and agents against test cases and probing them for security issues.
Open-source framework for checking model inputs and outputs against validators before an app acts on them.
Tracing, evaluation and monitoring platform for agents and LLM apps, usable with or without LangChain.
Evaluation and logging platform where teams compare prompt and model versions against test sets before shipping.
Monitoring for agent runs that records sessions, tool calls and costs, with SDK integrations for common frameworks.
Evaluation and monitoring platform for agents with metrics for tool selection, task completion and safety checks.
Check how each tool connects to your stack. Some offer SDKs and integrations for common agent frameworks; others accept OpenTelemetry data, which lets you switch backends later without rewriting your instrumentation.
Start simple: trace everything in development, keep a small test set of real cases with known good answers, and add automated scores only after you have read enough traces to know what failure looks like for your agent.
Agree inside the team on what a failure is. A wrong tool call, a correct answer reached after many wasted steps, a polite refusal of a task the agent should have done and an answer with no source can all be failures, and each needs a different check. Write those definitions down, turn them into scores, and review the cases where automated scores and human reviewers disagree. That review is where most of the useful fixes come from, and it keeps the test set honest as the agent and its users change over time.
Plan who owns this work. Traces and test sets only help if someone reads them on a schedule, adds new failure cases as they appear, and retires tests that no longer match how the agent is used.
Tracing records what an agent did on each run so you can debug it. Evaluation scores the agent's results against test cases so you can tell whether a change made it better or worse. Most teams need both.
Yes, and many tools here support it. Model judges are useful for scale, but they make mistakes too. Check a sample of their grades against human review before trusting them for decisions.
Often. Traces can include customer messages, documents and tool outputs. Use masking where available, limit who can view traces, set a retention period, and consider a self-hosted tool if data must stay in-house.
Guardrails are checks that run on inputs or outputs in real time and block, flag or correct ones that break a rule, such as a leaked email address, a policy violation or a malformed tool call.
Many offer SDKs and integrations for common frameworks and model SDKs, and several accept OpenTelemetry data. Check the tool's integration list against the framework and language you use.