Skip to content

Open Source LangSmith Alternatives

6 alternatives · Data checked · By , founder & editor · ML platforms and MLOps

Langfuse is the best open source alternative to LangSmith. It is permissively licensed, self-hostable, and covers tracing, evals and prompt management, with about 71% feature parity and a very active project. Choose Opik for the Apache-2.0 license and the highest parity in the list, or phoenix if you already use OpenTelemetry.

Best overall

Best for: Teams that want open source, self-hostable LLM tracing, evals and prompt management

38k ThrivingPermissive

Pick #2

Best for: Teams wanting a fully Apache-2.0 self-hostable LLM tracing, eval and monitoring platform

23k ThrivingPermissive

Pick #3

Best for: Teams that want OpenTelemetry-based tracing and evals they can self-host

12k ThrivingSource available

Compare Langfuse vs Opik side by side →

Why people leave LangSmith

LangSmith is a platform for developing and monitoring applications built on large language models. Engineering teams use it to trace LLM calls and agent runs, evaluate outputs, manage prompts, and build and version datasets for testing. It is closely associated with the LangChain ecosystem, though it can be used with other frameworks. It is sold as a hosted service, and it also offers managed deployment of agents.

  • Traces sent to a hosted service. Prompts, user inputs and model outputs are stored with the vendor by default. Teams with strict privacy or data residency rules want to keep traces in their own infrastructure.
  • Usage-based costs. Tracing volume grows with traffic, and hosted observability costs can rise with it. Self-hosted tools let you control storage and retention yourself.
  • Tied to one vendor's tooling. Evaluation datasets and prompt history live in the platform. Teams that want portable data look for open tools with standard formats.
  • Self-hosting is limited. Running the platform on your own servers is not the default path. Teams that must keep everything in-house often prefer tools built for self-hosting.

Quick comparison

#AlternativeLicenseStarsHealthPlatformsFitParityMigrationImports from LangSmith
1 Langfuse Permissive 38k Thriving Self-hosted Direct replacement 71% Moderate –
2 Opik Permissive 23k Thriving Self-hosted Direct replacement 79% Moderate –
3 phoenix Source available 12k Thriving – Direct replacement 79% Moderate –
4 mlflow Permissive 29k Thriving – Direct replacement 63% Moderate –
5 OpenLIT Permissive 3.1k Thriving – Partial replacement 63% Moderate –
6 Helicone Permissive 6.3k Slowing – Partial replacement 58% Moderate –

Fit = how much of LangSmith's job the tool replaces. Parity = share of LangSmith's core features the tool covers fully. Migration = effort to move your data and team over. Health and stars from November 24, 2026. How we rank.

The 6 best open source LangSmith alternatives

  1. 1

    Langfuse

    Self-hostable tracing, evals and prompt management for teams building LLM apps and agents

    38k Thriving 89 Permissive Direct replacement

    Langfuse is the closest all-round swap for LangSmith if you want to self-host tracing, evals and prompt management. It covers 70.8% of LangSmith's features and has 37,672 stars, with commits as recent as 2026. You lose managed agent deployment and model training or registry tools.

    Strengths

    • MIT license with a Docker Compose setup for a single machine
    • Tracing built on OpenTelemetry
    • Evals include LLM-as-a-judge, code evaluators, datasets and experiments
    • Typed Python and JS/TS SDKs, OpenAPI spec and CLI

    Trade-offs

    • No managed agent deployment
    • No model training or registry
    • Skill management and AI gateway are still beta
    • Production scale needs more than the single-VM Compose setup
    Best for
    Teams that want open source, self-hostable LLM tracing, evals and prompt management
    Fit
    Direct replacement · 71% feature parity
    Health
    89/100 (Thriving) · breakdown
    License
    Permissive (OSI) (MIT)
    Hosting
    Self-hosted · Cloud from $29/mo
    Migration
    Moderate
    Last commit
    Nov 2026
    • Self-hosted

    Feature parity with LangSmith · 71%

    • No Managed model deployment
    • Yes LLM tracing
    • Yes LLM evaluation
    • Partly Production model monitoring
    • Yes Prompt management
    • Yes Data labeling
    • Partly Dataset management and versioning
    Quick start
    # Get a copy of the latest Langfuse repository
    git clone --depth=1 https://github.com/langfuse/langfuse.git
    cd langfuse
    
    # Run the langfuse docker compose
    docker compose up
  2. 2

    Opik

    Apache-2.0 platform for tracing, evaluating and monitoring LLM apps and agents

    23k Thriving 90 Permissive Direct replacement

    Opik covers 79.2% of LangSmith's features, the highest share in this list, under a plain Apache-2.0 license. With 23,467 stars and a 2026 commit, it suits teams that want tracing, evals and monitoring on their own servers. The main gap is managed agent deployment endpoints.

    Strengths

    • Backend, web app and evaluation tools are all Apache-2.0, not just the client SDK
    • Trace trees cover multi-step agents and tool calls
    • PyTest integration runs LLM evaluations in CI
    • Built for high volume, with a stated design target of 40M+ traces per day

    Trade-offs

    • No managed agent deployment endpoints
    • Self-hosting means running the full server stack yourself
    • Large feature surface takes time to learn
    Best for
    Teams wanting a fully Apache-2.0 self-hostable LLM tracing, eval and monitoring platform
    Fit
    Direct replacement · 79% feature parity
    Health
    90/100 (Thriving) · breakdown
    License
    Permissive (OSI) (Apache-2.0)
    Hosting
    Self-hosted · Cloud from $19/mo
    Migration
    Moderate
    Last commit
    Nov 2026
    • Self-hosted

    Feature parity with LangSmith · 79%

    • No Managed model deployment
    • Yes Experiment tracking
    • Yes LLM tracing
    • Yes LLM evaluation
    • Yes Production model monitoring
    • Yes Prompt management
    • Partly Data labeling
    • Partly Dataset management and versioning
  3. 3

    phoenix

    Self-hostable LLM tracing and evaluation platform built on OpenTelemetry

    12k Thriving 83 Source available Direct replacement

    Phoenix matches 79.2% of LangSmith's features and builds on OpenTelemetry, which helps if you already use that standard. It has 12,366 stars. Its Elastic-2.0 license is source-available, not OSI open source, and it has no managed agent deployment.

    Strengths

    • OpenTelemetry-based tracing
    • Versioned datasets and experiments
    • Runs via pip, uvx, Docker or Helm chart
    • Remote MCP server for coding tools

    Trade-offs

    • No managed agent deployment
    • Elastic-2.0 license is not OSI open source
    • Managed hosting is a separate paid Arize product
    Best for
    Teams that want OpenTelemetry-based tracing and evals they can self-host
    Fit
    Direct replacement · 79% feature parity
    Health
    83/100 (Thriving) · breakdown
    License
    Source available (Elastic-2.0)
    Hosting
    Self-hosted · Cloud from $50/mo
    Migration
    Moderate
    Last commit
    Nov 2026

    Feature parity with LangSmith · 79%

    • No Managed model deployment
    • Yes Experiment tracking
    • Yes LLM tracing
    • Yes LLM evaluation
    • Partly Production model monitoring
    • Yes Prompt management
    • Yes Dataset management and versioning
    Quick start
    pip install arize-phoenix
    phoenix serve
  4. 4

    mlflow

    Open platform for tracing LLM apps, running evals and tracking ML experiments

    29k Thriving 88 Permissive Direct replacement

    MLflow fits teams that want LLM tracing and evals next to classic ML experiment tracking in one tool. It has 28,909 stars but covers only 62.5% of LangSmith's features. Expect no hosted deployment of LLM apps and a less polished agent-debugging UI.

    Strengths

    • Traces built on OpenTelemetry and MCP integration, with support for any LLM provider
    • 50+ built-in evaluation metrics and LLM judges, plus custom ones
    • AI Gateway with an OpenAI-compatible API, fallbacks and traffic splitting
    • Apache 2.0 license; 19 releases in the last year

    Trade-offs

    • Hosted managed deployment of LLM apps
    • Less polished agent-debugging UI
    • No managed training compute, data labeling or AutoML
    • No managed hosting of LLM apps; you run the server
    Best for
    Teams that want one open platform for LLM tracing, evals and classic ML tracking
    Fit
    Direct replacement · 63% feature parity
    Health
    88/100 (Thriving) · breakdown
    License
    Permissive (OSI) (Apache-2.0)
    Hosting
    Self-hosted
    Migration
    Moderate
    Last commit
    Nov 2026

    Feature parity with LangSmith · 63%

    • Yes Experiment tracking
    • Yes LLM tracing
    • Yes LLM evaluation
    • Partly Production model monitoring
    • Yes Prompt management
    Quick start
    uvx mlflow server
  5. 5

    OpenLIT

    OpenTelemetry-based observability for LLM apps and AI agents, self-hosted on ClickHouse

    3.1k Thriving 83 Permissive Partial replacement

    OpenLIT is a partial replacement, covering 62.5% of LangSmith's features with 3,091 stars. It fits you if you want OpenTelemetry-native tracing plus GPU and cost monitoring on ClickHouse. Dataset management is less established, and annotation queues for traces are not known to exist.

    Strengths

    • OpenTelemetry-native, so it fits existing telemetry pipelines
    • Python and TypeScript SDKs with auto-instrumentation
    • Evals, guardrails, prompt hub and cost tracking in one tool
    • GPU monitoring for NVIDIA, AMD and Intel

    Trade-offs

    • No managed agent deployment
    • Less established dataset management
    • No trace annotation queues known
    • Self-hosting means running the server and ClickHouse yourself
    Best for
    Teams that want OpenTelemetry-native tracing with GPU and cost monitoring on ClickHouse
    Fit
    Partial replacement · 63% feature parity
    Health
    83/100 (Thriving) · breakdown
    License
    Permissive (OSI) (Apache-2.0)
    Hosting
    Self-hosted
    Migration
    Moderate
    Last commit
    Nov 2026

    Feature parity with LangSmith · 63%

    • No Managed model deployment
    • Yes LLM tracing
    • Yes LLM evaluation
    • Yes Production model monitoring
    • Yes Prompt management
    • Partly Data labeling
    Quick start
    git clone https://github.com/openlit/openlit.git
    cd openlit
    
    docker compose up -d
  6. 6

    Helicone

    AI gateway with request logging and tracing for teams running LLM apps

    6.3k Slowing 54 Permissive Partial replacement

    Helicone covers about 58% of LangSmith's features, so it is a partial replacement. It suits teams that mainly want request logging and cost tracking through an LLM gateway, self-hosted or hosted. The main gap is evaluation: there is no built-in LLM-judge framework. Its 6,291 stars and November 2026 commit show active upkeep.

    Strengths

    • OpenAI-compatible gateway to over 100 models with fallbacks
    • Cost, latency and trace tracking in one UI
    • Apache-2.0 license
    • Docker Compose self-hosting path

    Trade-offs

    • No built-in evaluation framework like LLM judges
    • Fine-tuning only through partners
    • No hosted agent deployment
    • Self-hosting runs several services, including ClickHouse and Supabase
    Best for
    Teams that want an LLM gateway with request logging and cost tracking, self-hosted or hosted
    Fit
    Partial replacement · 58% feature parity
    Health
    54/100 (Slowing) · breakdown
    License
    Permissive (OSI) (Apache-2.0)
    Hosting
    Self-hosted · Cloud from $79/mo
    Migration
    Moderate
    Last commit
    Nov 2026

    Feature parity with LangSmith · 58%

    • No Managed model deployment
    • Yes LLM tracing
    • Partly LLM evaluation
    • Yes Production model monitoring
    • Yes Prompt management
    • Partly Dataset management and versioning
    Quick start
    git clone https://github.com/Helicone/helicone.git
    cd docker
    cp .env.example .env
    
    ./helicone-compose.sh helicone up

Feature parity: LangSmith vs the top 5

FeatureLangSmithLangfuseOpikphoenixmlflowOpenLIT
Managed model deploymentPartlyNoNoNo–No
Experiment trackingPartly–YesYesYes–
LLM tracingYesYesYesYesYesYes
LLM evaluationYesYesYesYesYesYes
Production model monitoringPartlyPartlyYesPartlyPartlyYes
Prompt managementYesYesYesYesYesYes
Data labelingPartlyYesPartly––Partly
Dataset management and versioningYesPartlyPartlyYes––

yes · partly · no · – not checked.

Cost to switch

What LangSmith costs your team in a year, against running an open source alternative yourself.

LangSmith per year

$4,680

Langfuse per year

$72

~$6/month server (estimate)

You save

$4,608

Server prices are typical monthly VPS prices for the RAM the tool needs (2 GB when unknown). Your time to run and update it is not included; Langfuse also sells a hosted plan from $29/month.

How to choose

You want the closest all-round swap with a permissive license and self-hosting

→ Langfuse

It covers 70.8% of LangSmith's features, including tracing, evals and prompt management, and has about 37,700 stars.

You want the widest feature coverage under plain Apache-2.0

→ Opik

It covers 79.2% of LangSmith's features, the top share in the list, and runs on your own servers.

Your stack already emits OpenTelemetry traces

→ phoenix

It builds on OpenTelemetry, though its Elastic-2.0 license is source-available rather than OSI open source.

You also track classic ML experiments and want one tool

→ mlflow

It handles LLM tracing and evals next to traditional experiment tracking, at 62.5% feature parity.

You mainly need request logging and cost tracking through a gateway

→ Helicone

It works as an LLM gateway and can be self-hosted or hosted, but it has no built-in LLM-judge evaluation framework.

Moving off LangSmith

  • Plan on moderate effort for every alternative in the list. Traces, prompts and datasets do not move over automatically.
  • Export your datasets and prompts from LangSmith (datasets can be downloaded as CSV or JSON) and re-create them in the new tool.
  • Historical traces are usually not worth moving. Start new tracing in the replacement and keep LangSmith read-only for a while for old runs.
  • Rebuild evaluators, annotation workflows and dashboards by hand. Managed agent deployment has no equivalent in Langfuse, Opik or phoenix, so keep hosting that part elsewhere.

Frequently asked questions

What is the best open source alternative to LangSmith?

Langfuse is the closest all-round replacement. It is self-hostable, permissively licensed, and covers tracing, evals and prompt management. Opik is a strong second with 79.2% feature parity.

Is there a free alternative to LangSmith?

Yes. Langfuse, Opik, mlflow, OpenLIT and Helicone are all permissively licensed and free to self-host. phoenix is free too, but its Elastic-2.0 license is source-available.

Which LangSmith alternatives can I self-host?

All six can be self-hosted: Langfuse, Opik, phoenix, mlflow, OpenLIT and Helicone. Helicone also offers a hosted option.

Can I use these tools with OpenTelemetry?

phoenix and OpenLIT are built around OpenTelemetry. They suit teams that already send traces in that format.

Can I import my LangSmith data?

There is no one-click import in this list. Export your datasets and prompts from LangSmith and recreate them in Langfuse, Opik or another tool.

Do any alternatives replace LangSmith's managed agent deployment?

Not in this list. Langfuse, Opik and phoenix all lack managed agent deployment, so you would host agents yourself.

2026 edition. Rankings use fit, health, license and popularity; sponsors never change the order. Methodology · Report an error.