Langfuse vs LangSmith for Tracing AI Agents
Updated
Short answer: Both tools record what an LLM application did, step by step. Per their own docs, Langfuse is open source and self-hostable with Docker, while self-hosted LangSmith is an add-on to its Enterprise plan. Neither tool's docs, as opened, name the failure in a conversation for you.
| Aspect | Langfuse | LangSmith |
|---|---|---|
| What it records | Traces of each request with prompts, responses, token usage, latency, and nested tool or retrieval steps | Runs (one unit of work) grouped into traces, with feedback scores attached to runs |
| Multi-turn conversations | Not stated on the pages we opened | Threads group traces of one multi-turn session via a thread_id metadata key |
| Evaluation | LLM-as-a-judge, experiments and datasets | Evaluation included in the self-hosted base platform; not defined on the concepts page we opened |
| Self-hosting | Open source; Docker Compose for testing, Kubernetes and major clouds for production | An add-on to the Enterprise plan; a license key is needed |
| Framework fit | Asynchronous SDK tracing, queued and sent in batches | Integrations for LangChain, LangGraph, OpenAI, Anthropic, CrewAI; manual tracing works with any code |
| Names the failure pattern | No, per the pages opened | No, per the pages opened |
The short answer
Langfuse and LangSmith are both tracing and evaluation platforms for LLM applications. They overlap on the basics: a trace records what happened in one request, and scores or feedback attach quality labels to it. The practical differences in the docs we opened on 2026-10-22 are how you can host them and how conversations are grouped.
What each one records
Langfuse’s observability overview describes traces with prompts, responses, token usage, latency and intermediate tool or retrieval steps, plus scores, dashboards, alerts, evaluation and prompt management. LangSmith’s observability concepts define runs, traces, threads, projects and feedback. Its threads group the traces of one multi-turn session, which matters for chat failures that only show across turns.
Hosting and framework
Langfuse’s self-hosting page says it is open source and can be self-hosted with Docker. LangSmith’s self-hosted page says self-hosting is an add-on to the Enterprise plan. LangSmith’s concepts page says manual instrumentation can add tracing to any code regardless of framework. We did not compare pricing, speed or accuracy, and we ran neither tool.
What neither page does
A trace shows that something happened. Neither page we opened says it tells you that a conversation hit a known failure such as a silent failure, or fills a blind spot in observability. Tracing also does not fix a test set that does not match real traffic (eval data mismatch). You still decide which failures to look for, and an untraceable data flow can leave gaps in either tool.
Which to pick
Pick on constraints first: if you need to run it on your own infrastructure without an Enterprise plan, Langfuse’s docs describe that path. If your app is built on LangChain or LangGraph, LangSmith lists integrations for them. For production behavior, see evals vs production monitoring and how to detect AI agent failures in production.
Sources opened 2026-10-22: the four vendor pages linked above. Vendor docs change; check them before deciding. Langfuse and LangSmith are trademarks of their owners and are used here only to name the products.
Related topics
Failure patterns behind this comparison
Blind Spots in Observability
Critical Failures Occur in Unmonitored Agent Code Paths
Silent Tool Failures
Tools Fail Without Alerting the Agent
Untraceable Data Flow
Cannot Track How Data Moved Through Agent Pipeline
Eval-Data Mismatch
Tests do not represent production inputs.
More comparisons
- AI Agent Memory vs Context Window: What Is the Difference?
- Retries vs Fallbacks for AI Agents: When to Use Each
- AI Agent vs Chatbot: How Their Failures Differ
- Braintrust vs Langfuse for Evals and Tracing Agents
- Containment Rate vs Resolution Rate for AI Support Agents
- Does Temperature 0 Make LLM Output Deterministic?
- AI Guardrails vs Evals: What Each One Catches
- Human-in-the-Loop vs Human-on-the-Loop for AI Agents
- Lakera Guard vs Guardrails AI: LLM Guardrails Compared
- Prompt Injection vs Jailbreak: Differences for AI Agents
- Promptfoo vs Garak for Red Teaming LLM Apps
- RAG vs Fine-Tuning for Reducing AI Hallucinations
- Single-Agent vs Multi-Agent Systems: Failure Modes Compared