LLM Observability: Langfuse, LangSmith, Arize Phoenix, Braintrust Official Tracing, Evaluation vs. Pydantic: Which Fits Your Stack?

Shipping an AI agent is the easy part. Knowing what it did, why it chose a tool, and whether its answer can be trusted is where most teams start to struggle. Type something like LLM observability Langfuse LangSmith Arize Phoenix Braintrust official tracing evaluation into a search bar and you will find four respected platforms, each promising to turn opaque model calls into clear, inspectable traces. All four solve real problems, and all four have loyal users.

Another approach is to bring AI tracing, application telemetry and evaluation into one observability platform. Pydantic Logfire connects agent activity with the services, APIs and databases that support it, using OpenTelemetry across compatible languages, frameworks and SDKs. This guide compares that full-stack approach with the four observability platforms, so you can decide which fits the way your team builds and operates AI applications.

Why Pydantic Is the Ideal Choice for LLM Observability

Pydantic Logfire is worth considering when teams need to connect model behavior with the wider production application. Its focus is full-stack observability and evaluation: follow an agent run, investigate its dependencies, and measure whether a change improves the outcome. Teams can adopt the platform while retaining their existing agent framework.

Built by the Team Behind the Validation Layer

Pydantic Logfire provides a unified observability and evaluation layer for AI applications and the surrounding application stack, across compatible languages and frameworks. Pydantic AI is a separate agent framework with native instrumentation; using it is optional.

For observability, the useful connection is between an agent outcome and the execution that produced it. Pydantic Logfire can bring instrumented model calls, tool activity, API requests and database operations into a shared trace. Pydantic AI provides a first-party integration, while teams using other supported frameworks or SDKs can also send telemetry to the platform.

One Vendor, One Consistent Workflow

Pydantic Logfire is OpenTelemetry-native. Teams can use supported integrations or standard OpenTelemetry instrumentation to collect traces across agents and application services. The same telemetry can also be routed to another compatible backend, subject to the collector and exporter configuration. Pydantic AI is one integration option, rather than a requirement for using the platform.

Evaluation connects the traces to quality measurement. Pydantic Logfire supports datasets, experiments and online evaluation results, with scores linked to the execution being assessed. Pydantic Evals is an optional open-source library for code-defined evaluations. The AI Gateway, managed through Pydantic Logfire, adds model routing, provider credentials and spending controls when those capabilities are needed.

  • Agent and model activity connected with surrounding application telemetry
  • OpenTelemetry-native tracing across compatible languages and frameworks
  • Datasets and evaluation results linked to the traces behind each case
  • Optional AI Gateway controls alongside observability and evaluation

Meet the Contenders: Langfuse, LangSmith, Arize Phoenix and Braintrust

Before going deeper, it helps to understand what each of the four platforms is known for. They share a common goal of making LLM applications easier to debug and improve, but each grew out of a different starting point, and those roots still shape how they feel in daily use.

Langfuse and LangSmith

Langfuse is an open-source, framework-agnostic platform for traces, prompt management and evaluations. Teams that need deployment control can consider self-hosting, while accounting for upgrades, storage and availability. LangSmith, from LangChain, covers observability, evaluation and agent deployment. It integrates with LangChain and LangGraph and also supports other agent stacks and OpenTelemetry. Its pricing includes usage and plan-specific access allowances, so teams should assess both telemetry volume and the people who need access.

Arize Phoenix and Braintrust

Arize Phoenix builds on OpenTelemetry and OpenInference for AI tracing, evaluation, datasets and experiments. It can suit teams investigating retrieval workflows or exploring agent behavior locally, with self-hosted deployment also available. Braintrust combines tracing with datasets, experiments and scoring to support production investigation and quality improvement. Both offer workflows beyond passive monitoring. The useful comparison with Pydantic Logfire is how each platform connects AI analysis with the application context your team needs.

  • Langfuse: open source, self-hostable, strong prompt management
  • LangSmith: integrations for LangChain, LangGraph and other agent stacks
  • Arize Phoenix: OpenTelemetry and OpenInference tracing with evaluation workflows
  • Braintrust: tracing, datasets, scoring and experiment comparison

Tracing That Starts Inside the Code

Tracing is only as useful as the context captured by the instrumentation. Prompts and responses are valuable, but production investigation also benefits from tool operations, retries, retrieval steps and the application dependencies involved in a request.

How Pydantic Logfire Sees an Agent

Pydantic Logfire records instrumented agent runs alongside model calls, tools, application services and database activity. Supported integrations provide structured spans that let engineers follow the execution path and investigate failures or delays. What appears in a trace depends on the selected integration, the attributes it emits and whether context is propagated across the application.

That wider context matters when an agent receives incomplete data, waits on a slow API or repeats an unsuccessful tool call. Engineers can inspect the recorded sequence before deciding whether to adjust a prompt, change a tool or fix a service dependency. The same approach supports applications built with different agent frameworks.

Platform-First Tracing From the Outside

Langfuse, LangSmith, Arize Phoenix and Braintrust capture traces through SDKs, integrations or OpenTelemetry. Their breadth can help teams using several frameworks. As with Pydantic Logfire, coverage depends on what the instrumentation reports. A representative pilot should test model calls, tools, retrieval and service boundaries rather than assume one platform automatically sees more than another.

Pydantic Logfire can receive telemetry from Pydantic AI, LangChain, LangGraph, supported model SDKs and other OpenTelemetry-instrumented applications. Teams can keep their framework and choose how telemetry is collected and routed. Open standards help preserve instrumentation portability, although dashboards, saved queries and evaluation workflows may still require migration work.

  • Structured spans for instrumented model calls, tools and retries
  • Application context for investigating the inputs and dependencies behind outcomes
  • Standard OpenTelemetry instrumentation with compatible export options
  • Connected visibility across agent execution and surrounding application services

Evaluation Workflows: Pydantic Evals vs. Hosted Eval Suites

Observability tells you what happened, while evaluation tells you whether it was good. The strongest setups connect the two, so a failing production trace can become a test case, and every new test runs against the same code that ships.

Testing Agents With Pydantic Evals

Pydantic Evals lets teams define datasets and evaluators in code and connect the results to Pydantic Logfire. It can evaluate callable application behavior without requiring Pydantic AI. Within Pydantic Logfire, teams can compare experiments, inspect the trace behind a case and connect quality scores with recorded execution. The wider platform also supports online evaluation workflows for production traffic. The practical goal is to preserve failed examples, test proposed fixes and check for regressions. Teams still need to maintain representative datasets and review evaluator quality as their applications change.

How the Hosted Suites Approach Evals

Braintrust provides datasets, experiments and scoring alongside production tracing. LangSmith connects evaluation with traces and agent workflows, while Langfuse and Arize Phoenix also provide datasets, experiments and evaluation capabilities. These platforms support different combinations of code-based and interface-based workflows. Compare how each handles representative cases, automated scoring, human review and regression checks; hosted evaluation does not inherently separate tests from application code.

  • Code-defined datasets and evaluators through Pydantic Evals
  • Representative test cases maintained alongside evolving application behavior
  • Evaluation results and execution traces connected through Pydantic Logfire
  • Experiment comparison and production evaluation for ongoing improvement

Pricing, Licensing and Lock-In

Cost is never just the monthly bill. Licensing terms, seat counts, hosting duties and how tightly a tool binds you to one vendor all affect the long-term price of an observability stack.

What You Pay With Pydantic

Pydantic Logfire is a commercial observability and evaluation platform with a free Personal plan and paid plans. Usage is measured through telemetry records, with plan-specific allowances for access, projects and retention. This is separate from the MIT-licensed Pydantic AI framework and Pydantic Evals library. Teams should assess the platform against expected traffic, retention and collaboration requirements.

The AI Gateway is managed through Pydantic Logfire and provides a central endpoint for model calls, provider keys, routing and spending limits. Teams can connect compatible SDKs or HTTP clients without adopting Pydantic AI. Gateway routing is optional for teams that only need observability of existing model calls. The gateway comes with Personal, Team, and Growth. At 0% markup, those plans support 3, 5, and 20 bring-your-own keys, respectively. On Enterprise, full access is available as an add-on. Check provider charges when estimating total cost.

What to Expect Elsewhere

LangSmith pricing should be assessed against the required plan, user access and trace volume. Langfuse and Arize Phoenix offer self-hosting paths that give teams deployment control, while shifting infrastructure and operating responsibilities to the organization. Software availability alone does not establish the full cost of a production deployment.

Braintrust offers a managed platform with plan-specific usage and access terms. Across all four competitors and Pydantic Logfire, review instrumentation support, data export, evaluation portability and deployment requirements. OpenTelemetry can reduce instrumentation lock-in, but moving platforms can still involve changes to queries, dashboards and operational workflows.

  • A free Personal plan and paid plans for Pydantic Logfire
  • Telemetry-based usage with plan-specific access and retention allowances
  • Optional AI Gateway routing and model access controls
  • OpenTelemetry instrumentation that helps preserve future backend options

Choosing for Your Stack: Team Scenarios

The right choice depends on what you build and how your team works. Looking at a few common scenarios makes the decision much more concrete than any feature checklist.

When Pydantic Is the Clear Fit

Pydantic Logfire is a strong candidate when teams need to investigate agents and the surrounding application in one place. It suits mixed-language services, multiple agent frameworks and applications where an unexpected output may originate in retrieval, an API or a database. Its OpenTelemetry foundation lets teams retain compatible instrumentation, while SQL queries and MCP access support investigation of production telemetry. Datasets, experiments and online evaluation help teams move from finding a failure to testing an improvement. Validate the supported integrations and deployment model against your own stack before choosing.

When Another Platform Might Join the Picture

Langfuse and Arize Phoenix may appeal to teams prioritizing self-hosted AI engineering workflows. LangSmith can suit organizations using LangChain or LangGraph while also supporting other stacks, and Braintrust merits consideration for teams that organize improvement around evaluation experiments. Pydantic Logfire also supports multiple frameworks, so that requirement alone does not decide the choice. Compare the AI workflow, wider application coverage, deployment responsibilities and ongoing costs that matter to your team.

  • Full-stack AI investigation: Logfire for connected agent and application traces
  • Quality improvement: datasets, experiments and evaluation linked to execution
  • Mixed-framework environments: supported integrations and OpenTelemetry instrumentation
  • Model access controls: optional AI Gateway routing and spending limits

The Smarter Path to Trustworthy AI Agents

Pydantic Logfire connects AI tracing, full-stack telemetry and evaluation across compatible languages and frameworks. Langfuse, LangSmith, Arize Phoenix and Braintrust offer alternative workflows. Compare them on a representative production incident and improvement task, then assess integration coverage, deployment, collaboration and cost.