Open-source alternatives to LangSmith

MLflow leads with 92, ahead of Langfuse (87) and Opik (87). Updated from public GitHub data.

The highest-scoring open-source projects in Gateways and observability. They are picks, not exact replacements, so read the weaknesses before you switch.

LangSmith Plus price: Plus: $39 per user a month (vendor price page, read ). Self-hosting is priced by the server you run, not by seat; read each license first. All plans and a cost calculator for your team size.

Most stars
Langfuse 37,880 stars
Open-source alternatives to LangSmith
RankProjectScore
1MLflowTracing, evaluation and prompt registry for LLM apps, plus ML tracking Live demo ↗ (opens in a new tab)Gateways and observability29k starsApache-2.092 out of 100
2LangfuseLLM tracing, evaluation, prompt management and cost tracking for agent apps Live demo ↗ (opens in a new tab)Gateways and observability37.9k starscustom licensetelemetry on by defaultpart of the code needs a paid license87 out of 100
3OpikLLM tracing, evaluation and prompt management platform for agents and LLM appsGateways and observability23.5k starsApache-2.087 out of 100
#4promptfooCLI and library for evaluating and red-teaming LLM appsGateways and observability27.7k starsMIT86 out of 100
#5arize-ai/phoenixLLM tracing, evaluation and prompt management built on OpenTelemetryGateways and observability12.4k starscustom license86 out of 100
#6ragasPython library for scoring LLM and RAG application outputs with metricsGateways and observability16.4k starsApache-2.083 out of 100
#7AgentaShared team workspace for building and running chat-built agents Live demo ↗ (opens in a new tab)Gateways and observability4.9k starscustom license81 out of 100
#8LangWatchTracing, evals, prompt management and an LLM gateway for AI apps and coding agentsGateways and observability5.1k starsApache-2.080 out of 100
#9LatitudeAgent observability that groups failures and dispatches coding agents to fix themGateways and observability4.8k starsMIT78 out of 100
#10deepevalPytest-style framework for evaluating LLM apps, agents and RAG pipelinesGateways and observability19.7k starsApache-2.077 out of 100

Reviews

192 out of 100

MLflow

Tracing, evaluation and prompt registry for LLM apps, plus ML tracking

Live demo ↗ (opens in a new tab)29k starsApache-2.0last commit Nov 2026

MLflow is a Python platform that records OpenTelemetry-based traces of LLM and agent apps, runs evaluations with 50+ built-in metrics and LLM judges, and versions prompts. It also includes an OpenAI-compatible AI Gateway for routing and rate limits, plus classic ML experiment tracking, a model registry and deployment tools. A local server starts with `uvx mlflow server`, and the UI is at port 5000.

Strengths

  • One-line autologging for more than 60 agent frameworks and model providers
  • Covers both LLM tracing and evaluation and classic ML tracking and model registry
  • Native OpenTelemetry support; works from Python, TypeScript/JavaScript and Java
  • Public demo instance with example traces, evaluations and prompts

Weaknesses

  • Broad scope across LLM and classic ML makes the surface area large to learn
  • Setup wizard assumes Claude Code, Codex or OpenCode is installed
  • AI Gateway is one component of the platform, not a standalone proxy
  • Backing store and artifact storage requirements for production are not detailed in the README excerpt
  • no GPU
  • Docker + Compose
  • Models: OpenAI, Anthropic, Gemini, Amazon Bedrock, Databricks
  • port 5000
287 out of 100

Langfuse

LLM tracing, evaluation, prompt management and cost tracking for agent apps

Live demo ↗ (opens in a new tab)37.9k starscustom licenselast commit Nov 2026telemetry on by defaultpart of the code needs a paid license

Langfuse ingests OpenTelemetry traces from LLM apps and agents and shows them next to cost, latency and quality metrics. It also provides versioned prompt management with a playground, LLM-as-a-judge and manual evaluations, datasets and experiments, and a beta AI gateway. It runs as Langfuse Cloud or self-hosted via Docker Compose, Helm, or Terraform templates for AWS, Azure and GCP.

Strengths

  • Built on OpenTelemetry, so any OTLP-instrumented app or collector can send traces
  • Python and JS/TS SDKs plus integrations for LangChain, LlamaIndex, OpenAI, LiteLLM and others
  • Covers tracing, prompt versioning, evals, datasets and dashboards in one platform
  • Self-host options: Docker Compose, Helm, and Terraform for AWS, Azure and GCP

Weaknesses

  • Docker Compose suits a single machine or VM; Helm is the preferred production path
  • AI Gateway and Skill Management are marked beta
  • Detected license is NOASSERTION, while the README badge says MIT
  • Self-hosting runs a multi-service stack rather than a single binary
  • no GPU
  • Compose
  • Compose runs ClickHouse, MinIO, Redis, PostgreSQL
  • Models: OpenAI, Anthropic, Amazon Bedrock, Ollama, LiteLLM (100+ LLMs)
387 out of 100

Opik

LLM tracing, evaluation and prompt management platform for agents and LLM apps

23.5k starsApache-2.0last commit Nov 2026

Opik records traces of LLM calls and multi-step agent runs through Python and TypeScript SDKs, OpenTelemetry, or framework integrations. It adds datasets, experiments, LLM-as-a-judge metrics, online evaluation rules, a prompt playground and production dashboards. The full server and web app can be self-hosted with a Docker Compose script or a Helm chart, or used on Comet Cloud.

Strengths

  • Full platform, backend included, is Apache-2.0 and self-hostable without a commercial license
  • Accepts traces via Python/TypeScript SDKs, OpenTelemetry, and many framework integrations
  • Evaluation built in: datasets, experiments, LLM-judge metrics, PyTest integration for CI
  • Helm chart for Kubernetes; README claims scale of 40M+ traces/day

Weaknesses

  • Local self-host runs several containers (databases, backend, UI), heavier than a single binary
  • Docker Compose path is described for local development and testing, not production
  • Guardrails are an optional extra profile that must be enabled separately
  • Opik Cloud is the README's recommended option over self-hosting
  • no GPU
  • Compose
  • Needs Docker Compose, Kubernetes and Helm (optional)
  • Models: Provider-agnostic via SDK, OpenTelemetry and integrations (Google ADK, Autogen, AG2, Flowise)
  • port 5173
#486 out of 100

promptfoo

CLI and library for evaluating and red-teaming LLM apps

27.7k starsMITlast commit Nov 2026

Promptfoo runs prompt and model evaluations from a config file, compares providers such as OpenAI, Anthropic, Azure, Bedrock and Ollama side by side, and shows results in the CLI or a web viewer. It also runs red-team vulnerability scans against LLM apps and can scan pull requests for LLM-related security issues. Evals run locally and can be wired into CI/CD.

Strengths

  • Evals run locally, so prompts stay on your machine
  • Installs via npm, brew or pip; npx runs it without installing
  • Covers both quality evals and red-team scans in one tool
  • CI/CD integration and PR code scanning for LLM issues

Weaknesses

  • Most providers need an API key from the vendor
  • Project is now part of OpenAI, though README says it stays MIT
  • Config and CLI driven; no hosted demo linked
  • Red-team and code-scanning details live only on the external docs site
  • no GPU
  • Docker
  • Needs Node.js, LLM provider API keys
  • Models: OpenAI, Anthropic, Azure, Bedrock, Ollama
#586 out of 100

arize-ai/phoenix

LLM tracing, evaluation and prompt management built on OpenTelemetry

12.4k starscustom licenselast commit Nov 2026

Phoenix collects OpenTelemetry/OpenInference traces from LLM applications and provides evaluations, versioned datasets, experiments, a prompt playground and prompt version management. It also includes a built-in agent (PXI) and a remote MCP endpoint at /mcp for clients such as Claude Code and Cursor. It installs with pip or uvx, or runs from a Docker image or Helm chart.

Strengths

  • Auto-instrumentation via OpenInference for OpenAI, Anthropic, LangGraph, LlamaIndex, CrewAI, DSPy and others
  • Starts with pip install arize-phoenix and phoenix serve, or uvx arize-phoenix serve
  • Covers tracing, evals, datasets, experiments and prompt versioning in one server
  • Python and TypeScript packages; Helm chart and cloud deploy templates

Weaknesses

  • License is reported as NOASSERTION, so terms need checking before commercial use
  • Managed production workflows are offered through the separate Arize AX product
  • Standalone stdio MCP server is in maintenance mode, replaced by the built-in remote one
  • TypeScript evals package is labelled alpha
  • no GPU
  • Docker + Compose
  • Compose runs PostgreSQL
  • Models: OpenAI, Anthropic, Google GenAI, AWS Bedrock, OpenRouter
#683 out of 100

ragas

Python library for scoring LLM and RAG application outputs with metrics

16.4k starsApache-2.0last commit Nov 2026

Ragas is a Python package for evaluating LLM applications. It ships pre-built and custom metrics, including LLM-judged ones such as DiscreteMetric, and can generate test datasets when none exist. It integrates with LangChain and observability tools, and a `ragas quickstart rag_eval` command scaffolds an example RAG evaluation project.

Strengths

  • Installs with pip; quickstart command scaffolds a RAG evaluation project
  • Custom metrics defined by a prompt and allowed values, scored asynchronously
  • Generates test datasets when none are available
  • Apache-2.0 licensed; telemetry can be disabled with RAGAS_DO_NOT_TRACK

Weaknesses

  • LLM-based metrics need an external model, such as an OpenAI key in the example
  • Only the rag_eval quickstart template exists; other templates are listed as coming soon
  • Collects anonymized usage analytics by default; opt-out required
  • No UI or hosted dashboard described in the README
  • no GPU
  • Needs LLM provider API (OpenAI in example)
  • Models: OpenAI, LangChain
#781 out of 100

Agenta

Shared team workspace for building and running chat-built agents

Live demo ↗ (opens in a new tab)4.9k starscustom licenselast commit Nov 2026

Agenta is a multi-user workspace where agents are built by chatting, then shared with a team and used in the web app, Slack, Telegram or WhatsApp Business. Agents run on schedules or app events, each session in its own sandbox with a browser and file system, and every run is traced with cost tracking. Integrations go through MCP or Composio (1,000+ apps); models can be hosted APIs or Ollama.

Strengths

  • Multi-user by design: roles, shared agents and chat sessions, per-agent tool permissions
  • Each session runs in its own sandbox; model credentials are not exposed to the agent
  • Every run is traced and costs are tracked per agent, with versions visible
  • Works with hosted model APIs or self-hosted models via Ollama, plus Claude and ChatGPT subscriptions

Weaknesses

  • Supports only Claude Code, Pi and Codex harnesses today; more are on the roadmap
  • Not a visual workflow builder; agents decide steps, so execution is less predictable
  • License reported as NOASSERTION by tooling, though the README states MIT
  • Needs Composio (optional, for 1,000+ app integrations), Ollama (optional, for self-hosted models)
  • Models: Hosted model APIs, Ollama, Claude subscription, ChatGPT subscription
#880 out of 100

LangWatch

Tracing, evals, prompt management and an LLM gateway for AI apps and coding agents

5.1k starsApache-2.0last commit Nov 2026

LangWatch traces LLM calls and runs evaluations, agent simulation tests and prompt management. It also includes an OpenAI and Anthropic compatible gateway with virtual keys and budgets, plus coding-agent tracking (cost per pull request) and governance views of AI tool usage. It runs as LangWatch Cloud or self-hosted via `npx @langwatch/server`, and integrates with LangChain, Vercel AI SDK, OpenTelemetry and others.

Strengths

  • Covers tracing, evals, simulation tests, prompt management and a gateway in one platform
  • Gateway exposes OpenAI and Anthropic compatible endpoint with virtual keys and budgets
  • Works with OpenTelemetry, LangChain, LangGraph, Vercel AI SDK, CrewAI, DSPy and no-code tools
  • Quick self-host start with one npx command; Python and npm SDKs under MIT

Weaknesses

  • Open-core: modules under enterprise/ need a commercial license in production
  • Self-host quick start needs Node.js 24+; macOS or glibc Linux only
  • Production self-hosting requirements are only in external docs, not the README
  • Broad scope (governance, coding agents, gateway) beyond plain observability
  • no GPU
  • Needs Node.js 24+
  • Models: OpenAI, Anthropic, Azure OpenAI, Vertex AI, Bedrock
#978 out of 100

Latitude

Agent observability that groups failures and dispatches coding agents to fix them

4.8k starsMITlast commit Nov 2026

Captures traces, sessions and tool calls via a one-line SDK (TypeScript, Python) or OpenTelemetry, groups failing traces into tracked signals, then dispatches Claude Code or Cursor with those traces to open a fix PR and replays fixes against regression datasets. The UI is also reachable from an MCP server and CLI; self-hosts from Docker Hub images via Compose or Helm. For teams operating agents in production.

Strengths

  • Signals auto-group failing traces with status, size and trend
  • Agent Dispatch sends sample traces to Claude Code or Cursor via Linear or webhooks
  • Regression datasets replay fixes against the real failing traces
  • MIT license; Compose and Helm paths plus Railway one-click

Weaknesses

  • README quickstart targets the cloud; self-host steps are in external docs
  • Automatic fixing depends on third-party coding agents and their subscriptions
  • Claude Code session capture is a separate telemetry package
  • no GPU
  • Docker + Compose
  • Compose runs PostgreSQL, ClickHouse, Redis
  • Models: OpenAI, Anthropic, Bedrock, Vercel AI SDK and LangChain apps, any OpenTelemetry source
#1077 out of 100

deepeval

Pytest-style framework for evaluating LLM apps, agents and RAG pipelines

19.7k starsApache-2.0last commit Nov 2026

DeepEval is a Python library that runs LLM app tests through `deepeval test run`, in the style of Pytest. It ships metrics for RAG, agents, multi-turn chats, MCP, voice and multimodal output, scored by an LLM judge, statistical methods or local NLP models. It also supports tracing for component-level and trajectory evals, synthetic dataset generation, and benchmarks such as MMLU and GSM8K.

Strengths

  • Metrics cover RAG, agent trajectories, multi-turn, MCP, voice and multimodal use cases
  • Pytest-style assert_test and deepeval test run fit into existing CI pipelines
  • Integrates with LangChain, LangGraph, CrewAI, OpenAI Agents, LlamaIndex, Pydantic AI
  • Judge model is configurable, including custom LLMs; some metrics use local NLP models

Weaknesses

  • Quickstart expects an OPENAI_API_KEY for the LLM-as-a-judge metrics
  • README pushes login to the hosted Confident AI platform, a separate commercial product
  • Judge-based metrics add LLM calls and cost to every test run
  • Library only, installed with pip; no Docker or compose setup
  • GPU optional
  • Needs Python>=3.10, OpenAI API key or custom LLM judge
  • Models: OpenAI, Anthropic, custom LLMs