selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Opik logo

Self-host Opik

2.2.143

LLM observability platform with tracing and evaluation

ReleaseOpen SourceApache-2.0
Updatedlast week
LanguagePython
Setup difficultyModerate
Stars
23 441
Ports
5173 (Frontend web UI), 3003 (Backend OpenAPI specification), 8000 (Python backend), 5000 (Guardrails backend)
Docker
ghcr.io/comet-ml/opik/opik-frontend
Install with Docker Compose
Opik screenshot 1

What is Opik?

Opik is an LLM observability and evaluation platform built by Comet. It provides end-to-end AI agent tracing, LLM evaluation with datasets and experiments, LLM-as-a-judge metrics for hallucination detection and RAG assessment, prompt management with version control, and production monitoring with online evaluation rules. The platform supports 50+ integrations with popular frameworks like LangChain, LlamaIndex, Autogen, and OpenAI. It can be self-hosted via Docker Compose for local development or Kubernetes/Helm for production deployments, with all features including the backend, web UI, tracing, evaluation, and optimization components available under Apache-2.0 license. The self-hosted version lacks user management features (SSO, RBAC) which are Enterprise-only.

Opik alternatives

All self-hosted alternatives to Braintrust → All self-hosted alternatives to LangSmith → All self-hosted alternatives to Weights & Biases Weave →

Should you self-host Opik?

Opik scores 82/100 on selfhost.directory (how scoring works) and ranks #4 of 68 in AI Chat. It has 23 441 GitHub stars, +900 in the last 30 days.

It shipped 180 stable releases in the past year. The latest, 2.2.143, came out on 6 November 2026. New versions land roughly every 1 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Langfuse (85/100, 37 474 stars). It scores higher overall, so compare the two before you pick. See Opik vs Langfuse side by side.

Features

  • Agent Optimizer
  • AI Agent Tracing
  • Annotation Queues
  • CI/CD Evaluation
  • Cost Tracking
  • Data Export
  • Distributed Tracing
  • LLM Evaluation
  • MCP Server
  • Online Evaluation Rules
  • OpenTelemetry Support
  • Opik Guardrails
  • Production Monitoring
  • Prompt Management
  • Prompt Playground

Opik README

How to install Opik

Install Opik with Docker Compose

Docker and Docker Compose installed
Environment variables
OPIK_VERSION, NGINX_PORT, MINIO_ROOT_USER, MINIO_ROOT_PASSWORD, HF_TOKEN, etc.

Clone the Opik repository

git clone https://github.com/comet-ml/opik.git

Navigate to the repository

cd opik

Start the Opik platform

./opik.sh

For local development and testing. Not production-ready.

Opik releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

What is Comet Debugger Mode?

A hidden diagnostic feature in the Opik web app (Ctrl+Shift+.) that displays real-time network status with RTT latency and the current Opik version for troubleshooting.

Why am I getting a 413 (payload too large) error?

The request exceeded Opik's ingestion size limit. Log only top-K results or summaries instead of full documents, move large content to attachments, or upgrade to the latest SDK which truncates oversized fields client-side.

What if Opik doesn't support my preferred framework or tool?

You can open an issue on GitHub to request the integration, or manually log LLM interactions using the SDK's core logging functions.

Can my coding agent use Opik?

Yes, Claude Code, Cursor, VS Code Copilot, Codex, opencode and any other MCP client can read traces, score outputs and run evaluations through the Opik MCP server.

Is there a limit on how large a trace or span can be?

Yes, Opik caps per-field size of input/output and per-request payload size. Oversized requests are rejected with 413. Large content should be logged as attachments instead.

Where can I find my Opik API key?

The Opik API key is found in your Account settings or user menu on Opik Cloud. For self-hosted Opik, you configure it via `opik configure` command instead of using API keys.

Is Opik tied to a specific agent framework?

No, Opik is framework-agnostic and supports its SDK, OpenTelemetry, and framework-specific integrations.

Does Opik support LLM evaluation?

Yes, Opik supports datasets, experiments, code-based metrics, LLM-as-a-judge evaluation, and online evaluation.

Does Opik support AI agent tracing?

Yes, Opik captures multi-step traces containing LLM calls, tool executions, retrieval steps, and other agent activity.

Can I self-host Opik?

Yes, Opik can be deployed locally or in your own infrastructure using the documented self-hosting options.

Is Opik open source?

Yes, Opik is licensed under Apache 2.0 and its server, web application, and core observability and evaluation capabilities can be self-hosted without a commercial license.

More in AI Chat

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…