mrkeyoor.comAsk

comet-ml/opiktested 02 Dec 2026commit efe2ef8

opik review

Use Opik if your team wants tracing and experiment comparisons together with documented Apache-2.0 self-hosting.

  • Safety failed
  • Build 1 s
8 sto install
  • Tests failed
  • 113 packages
LLM Toolsevaluationupdated 02 Dec 2026
+41stars / 7d

Opik is Comet's Apache-2.0 platform for tracing AI applications, evaluating outputs, managing prompts and optimizing agents. Its README documents hosted access and self-hosted server deployment.

Verdict

Use Opik if your team wants tracing and experiment comparisons together with documented Apache-2.0 self-hosting. Do not choose it on this evidence if dependable annotation queues are a prerequisite: issue #6421 records an unsuccessful retest after a claimed fix. Our Python load-test project installed in 8 seconds and built in 1 second, but tests failed after 281 seconds and a separate deployment attempt stopped at its safety check.

Opik infographic: trace AI applications and compare experiments, plus its uses, our test result, pitfalls and who it suits
Tested 2 December 2026: the source install took 8 s and the build 1 s.

We ran it

Lab card: what happened when we ran opik
Lab card from our sandbox run
Screenshot of opik (www.comet.com/docs/opik)
www.comet.com/docs/opik
Install✓ · 8s113 packages · 611 MB
Build✓ · 1s
Tests✗ · 281sran, no count parsed
Repo13997 files~1,780,401 lines of source · 471 MB · 90 CI workflows · tests dir

Answers from our run

Does opik build from source?

Dependencies installed in 8 seconds (113 packages), and the build succeeded in 1 seconds. We cloned commit efe2ef8 into a clean Debian container with 3 CPUs and no project-specific setup.

Do opik's tests pass?

No. The project's own test command exited unsuccessfully after 281 seconds, and its output did not expose an individual test count.

Who should not use opik?

Teams requiring dependable annotation queues before evaluating a product: issue #6421 records an unsuccessful retest after a claimed fix.

What are the alternatives to opik?

Langfuse, LangSmith, Arize Phoenix. Use Opik if your team wants tracing and experiment comparisons together with documented Apache-2.

Setup4/5Our source checkout installed in 8 s and built in 1 s with 113 dependencies, but we did not run a README task.Editor’s note: The Python load-test project installed and built, but tests failed and the deployment attempt stopped at its safety check; full-platform setup ease is unassessed.
Docs4/5The README has an install section (“⚡ Quick Start”) and usage in the same section; we did not run its quickstart ourselves.Editor’s note: Deployment and SDK instructions were inspected, but their quality across a completed supported deployment was not assessed.
Community5/5Last push on 2026-12-02, 23,550 stars and maintainers answered or closed 10 of the 10 most-discussed issues we sampled.Editor’s note: Sampled issues show maintainer responses and some confirmed fixes, but do not measure overall support capacity or adoption.
Maturity4/5Latest release 2.4.4 on 2026-12-02, repository created 2023-05-10 and its test suite did not pass in our sandbox.Editor’s note: The run supplies no completed platform deployment or sustained application workload on which to base an operational maturity rating.

How we score

Discussed on

  1. hnShow HN: Opik, an open source LLM evaluation framework86 points
  2. hnOpik Agent Optimizer – Open-Source Prompt Optimization Framework6 points

Who it’s for

AI engineers comparing prompt and model changes through datasets and experiments.
Teams choosing Apache-2.0 self-hosting for tracing and evaluation.
Developers investigating thread assignment, stored costs and human annotation workflows.

Who it’s NOT for

Teams requiring dependable annotation queues before evaluating a product: issue #6421 records an unsuccessful retest after a claimed fix.
Buyers who require one licensing statement to describe every hosted feature entitlement.
Developers who need cost estimates to serve directly as provider billing records.

Setup reality

Our December 2, 2026 run at commit efe2ef8 selected ./tests_load/. Installation succeeded in 8 seconds, with 113 dependencies and 611 MB on disk. The build succeeded in 1 second. Tests exited 1 after 281 seconds; the visible stack ends in test_spread_over_time at time.sleep(sleep_for), followed by Timeout. A separate deployment attempt stopped at a Compose safety check, and teardown succeeded.

The configured sandbox had 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. The README documents SDK configuration separately from server deployment. The official deployment guide recommends Docker Compose locally and Kubernetes Helm for production.

Short answer: use Opik for tracing and experiment comparisons

Opik suits AI engineers who want traces and experiment comparisons together; teams requiring dependable annotation queues before evaluating a product should look elsewhere first. In issue #6421, a reporter's annotation problem persisted after a claimed fix because the change covered a different interface implementation. Our source harness installed the Python load-test project in 8 seconds and built it in 1 second, then its test command failed after 281 seconds.

Opik's README describes an Apache-2.0 platform from Comet with tracing, datasets, experiments, prompt management and optimization. Traces contain the calls behind an application response, including model calls, tool executions and retrieval steps. This review follows the path from recording those calls to comparing a change and reviewing its results. Costs, thread assignment and annotation queues are concrete parts of that path, rather than interchangeable entries in a feature list.

What people use Opik for

Opik users describe comparing experiment costs, tracing multi-step Gemini calls and self-hosting sensitive internal work. These uses appear in GitHub discussions with different outcomes: a requester confirmed experiment-cost numbers locally, another confirmed a Gemini cost fix, and a local-provider request led to a playground support announcement. Vendor-published customer accounts add prompt versioning and regression comparisons to that picture, with the customers' experiences attributed to them.

Who used it What they did What happened
Eduardo-Laquintana-Alonso Compared independent prompt and task experiments The requester said the experiment-cost numbers looked right in the local dashboard in issue #2147.
inev Traced a Gemini workflow with an initial summary, review notes and a final summary The reporter confirmed a cost fix worked and requested more flexible pricing calculations in issue #2414.
LiveOverflow Self-hosted sensitive local and internal AI work The user requested local providers; maintainers announced Ollama playground support in issue #978.
Jeremy Mumford, Pattern's lead AI engineer Used tracing, prompt versions, benchmarks and online validation His vendor-published testimonial describes these workflows on Opik's product page.
Alejandro Aboy, senior data and AI engineer Backed feature pull requests with experiments, traces and metrics His vendor-published account describes comparing results for regressions on Opik's product page.

Eduardo's request explains the practical difference between project and experiment costs. A project-wide average combines traces from different experiments, whereas his team treated each prompt or task experiment as an independent run. In the experiment-cost request, he asked for a total and an average per experiment. Those figures answer a specific engineering question: how the cost of one prompt or task changes as its examples and implementation change.

Comet's examples repository organizes integrations, workflow guides, application use cases, scripts and templates separately. Its examples include call summarization, F1 radio retrieval and governance reporting. For a developer beginning with instrumentation, the framework integrations provide a smaller entry point than a complete demonstration application. The repository also lists annotation-queue guidance that places a clean answer in the output, context in metadata and fuller detail in child spans.

What happened when we ran it

Our December 2, 2026 deployment attempt stopped at a safety check that found none of its accepted Compose filenames. The failed safety step named compose.yaml, compose.yml, docker-compose.yaml and docker-compose.yml. The broad run summary described deployment with ports bound to 127.0.0.1; the detailed step recorded refusal. We report this as an attempted deployment, followed by successful teardown.

The separate source harness selected ./tests_load/ at commit efe2ef8. Installation succeeded in 8 seconds, with 113 dependencies recorded and 611 MB on disk. The build succeeded in 1 second. The test command exited 1 after 281 seconds. These are measurements from our run of that Python load-test project, recorded in our source-harness measurements, alongside the configured sandbox and the failing test tail.

Check in our source harness Recorded result
Installation Succeeded in 8 seconds; 113 dependencies; 611 MB on disk
Build step Succeeded in 1 second
Test command Failed, exit 1, after 281 seconds
Last named test location tests_load/suite/python_sdk/test_bursts.py, line 97, test_spread_over_time
Last visible operation time.sleep(sleep_for), followed by a Timeout marker
Configured sandbox 3 CPUs, 8 GB RAM; image ghcr.io/astral-sh/uv:python3.12-bookworm

The visible stack reached test_spread_over_time at line 97 of test_bursts.py, where it called time.sleep(sleep_for) before the Timeout marker. The summary printed FAILED at 10%, 20% and 30% progress. Those percentages are progress markers, not failed-test counts. The harness measurements record timedOut:false for the command, distinguishing the timeout marker inside the test output from a harness deadline expiry.

The repository scan recorded 13,997 files, approximately 1,780,401 source lines and a 471 MB checkout. It found 90 CI workflow files and a tests directory, and detected no Dockerfile. These scan results describe the harness's view of the checkout. The README separately documents Docker-based deployment through its launch script, so the scan's detection result and the documented deployment route answer different questions.

Where people get stuck: thread assignment and annotation queues

A reused tracer and separate annotation interfaces produced two distinct failures in GitHub discussions. The tracer discussion concerns which conversation receives a trace; the annotation discussion concerns queues that appeared already processed. The ADK discussion adds a third instrumentation problem: assertions while tracing subagents. The table preserves the reported failure and the response, so a workaround, a released fix and a prepared follow-up remain distinguishable.

Report What the discussion supports Practical response
Thread assignment, #4794 Metadata thread IDs were read on the first run of a reused tracer Set the thread ID explicitly through opik_context, as the maintainer recommended.
Annotation queues, #6421 A v2 fix missed the reporter's separate v1 annotation implementation Exercise the interface reviewers actually use.
ADK subagents, #2022 Maintainers reproduced the subagent problem and reported a released fix Include subagents in an integration acceptance check.

In issue #4794, the reporter reused an OpikTracer and passed the thread ID through LangChain metadata. The maintainer said metadata supplied the thread ID only on the first run and recommended setting it explicitly through opik_context. Successive conversations with different thread IDs therefore make a useful application check: the expected result is that each trace appears under its intended conversation.

In issue #6421, cparish312 created thread annotation queues from LangGraph runs through the Python SDK. The interface said the items had already been processed. A retest after a claimed fix produced the same problem, and the maintainer explained that the fix covered v2 while the reporter used v1. A follow-up PR, #6570, was prepared. The reporter said the blockage was costing time and money and asked about moving to v2.

Long-running jobs and manual updates have different delivery hazards

Issue #1610 associates release 1.7.34 with early trace and span logging, while the SDK reference warns about later manual updates. The first issue concerns visibility before a long operation ends; the second concerns changes to an existing stored span. Both affect the dashboard, but changing a flush timeout and matching a span's identifying fields address different mechanisms.

The long-running trace discussion describes waiting more than 500 seconds for useful logs and using an internal logging system instead. The reporter said OPIK_DEFAULT_FLUSH_TIMEOUT had no effect. Maintainers identified release 1.7.34 and the opt-in setting OPIK_LOG_START_TRACE_SPAN=True for early logging. That announcement gives a specific release and configuration to distinguish from a general promise of real-time tracing.

The Python SDK reference says a span must be fully created and stored before a manual update. It requires id, trace_id, parent_span_id and project_name to match the original values exactly. Incorrect identifiers can leave an update unapplied without an error. Batching introduces another ordering hazard: an update can reach the server before the create request is flushed. Reading back the stored value checks the outcome rather than merely the update call.

Cost tracking supports experiment comparisons; billing needs provider detail

The Gemini reporter confirmed a cost fix, then asked for more flexible calculations using the full response. In issue #2414, the discussion separates the models/ prefix problem from pricing details such as cached and thinking tokens. A successful model-name fix answers why an estimate was missing; it does not supply the usage breakdown needed to reproduce every provider charge.

The same thread includes a proposed cost_callback implementation in PR #5648. Its bot announcement explicitly required human review. A later commenter described using cached, reasoning and audio-token breakdowns with a downstream rate table. For an application that reconciles provider charges, retaining those usage fields is a concrete requirement. For prompt experiments, Eduardo's total and average cost request addresses the narrower task of comparing independent runs inside a project.

Self-hosting and model-provider routing are separate choices

The official deployment guide recommends Docker Compose locally and Kubernetes Helm for production. The README's local launch route uses ./opik.sh on Linux or Mac and opik.ps1 on Windows. It documents infrastructure-only, backend and full-suite options, plus --guardrails activation. The direct Compose route in the deployment guide uses deployment/docker-compose and the opik profile.

The README distinguishes --stop, which stops containers, from --clean, which also removes all Opik data volumes. SDK setup is another step: opik configure requests either a self-hosted server address or cloud API-key and workspace details. Keeping those operations separate makes the startup instructions easier to follow: installing a client, starting the server and choosing what data to delete are different actions with different consequences.

LiveOverflow's local-provider request explains why server location alone did not meet that user's needs. Sensitive local work also required model requests to stay on an acceptable route. Maintainers announced Ollama playground support and listed OpenRouter, Gemini, Anthropic and OpenAI among shipped providers. A subsequent Ollama user reported proxy errors and inconsistent endpoint text; the maintainer suspected CORS and requested browser network details.

Opik vs Langfuse, LangSmith, Phoenix and Weave

Compare LangSmith for a committed LangChain stack and Opik for Apache-2.0 self-hosting, following Comet's vendor-authored guidance. Comet's LangSmith comparison favors native ecosystem integration for the former and infrastructure control or mixed frameworks for the latter. The remaining alternatives below offer narrower comparison points from the available accounts: licensing boundaries for Langfuse and Phoenix, and existing W&B workflows for Weave.

Alternative Reader fit Basis
Langfuse Teams comparing prompt and trace workflows alongside licensing boundaries Csorba describes an MIT core with enterprise-directory exclusions.
LangSmith Teams committed to LangChain and LangGraph Comet recommends it for native LangChain integration.
Arize Phoenix Teams whose selection includes a separate license review Csorba identifies Elastic License 2.0.
Weights & Biases Weave Teams already using W&B and prioritizing tracing visualization Comet positions Weave around that workflow.

Comet says Opik meters spans and LangSmith meters traces, with multiple spans inside one trace. That distinction changes how a cloud allowance relates to application requests. A request with a model call and several child calls has a different span count from its top-level trace count. Count those operations in a representative request before comparing allowances; the unit names in Comet's comparison are essential to interpreting its figures.

What the other reviews get wrong

AI/TLDR calls Opik MIT-licensed, while the upstream README identifies Apache-2.0. The other corrections concern deployment instructions and distinctions between components, environments and commercial access. The named pages make different claims, so each correction below stays attached to its author. Csorba's Enterprise-feature statement is an undated conflicting finding here, rather than evidence of a known sequence of entitlement changes.

  • AI/TLDR's Opik entry says MIT; the upstream README says Apache-2.0.
  • Beri's entry claims no gating against paid cloud tiers. Csorba describes Enterprise guardrails and server-side masking, while the README documents local --guardrails activation. Component activation and hosted entitlements require separate descriptions.
  • Csorba reports finding no prompt environments. DBotMaker describes selecting a prompt deployed to an environment such as production, and Comet's examples mention prompt environments.
  • Comet's Weave comparison labels Weave "No" under open source. Its LangSmith comparison identifies the Weave library as Apache-2.0. Library licensing and platform deployment are separate subjects.
  • rubythalib's tutorial gives root-directory docker compose up -d instructions. The official guide instead documents the launch script or the Compose subdirectory with the full-platform profile.

Questions people ask

Opik's Apache-2.0 self-hosting is its clearest documented licensing distinction in the Langfuse comparison. The questions below come from comparison searches and GitHub discussions about providers. Their answers focus on a named workflow or documented relationship. The separate untested section addresses comparisons for which the evidence cannot select a product, including DeepEval and Braintrust, rather than presenting an alternatives-list mention as a result.

How does Opik compare with Langfuse?

Opik's README identifies Apache-2.0; Csorba describes Langfuse's MIT core and excluded enterprise directories. Compare the components your team plans to operate, then inspect prompt management and trace review against that deployment. The licensing distinction concerns the terms for those components. It should accompany the workflow comparison rather than stand in for an evaluation of either interface.

Should I use Opik or MLflow?

Beri's MLflow comparison repeats a competitor's assessment of Opik's agent tracing. That makes Beri's account a secondhand recommendation. Opik's README supplies a concrete migration task to examine: running datasets as experiments and inspecting the associated traces. An existing MLflow team should compare that task with its current process, including which experiment results and trace details reviewers need to retrieve.

Should I choose Opik or LangSmith for my agent stack?

Comet recommends LangSmith for teams committed to LangChain and Opik for self-hosting or mixed frameworks. This is Comet's product-selection advice. A LangChain or LangGraph team can begin with integration fit; a team prioritizing Apache-2.0 deployment can begin with Opik's documented server route. The comparison's span and trace billing units belong in the cloud-capacity calculation.

How does Opik compare with Arize Phoenix?

Csorba identifies Apache-2.0 for Opik and Elastic License 2.0 for Phoenix. That license comparison gives a specific distinction for teams reviewing deployment terms. Comet separately characterizes Phoenix through its model and drift-monitoring heritage. For an application review, keep the required task explicit: capturing agent calls, comparing outputs across a dataset or inspecting monitoring results.

How does Opik compare with Ragas?

Opik's README lists a Ragas integration for logging evaluations. That documents a way to use the tools together. The local-provider discussion treats evaluation with Ragas separately from Ollama playground support. A team using both should therefore identify its evaluation model route independently of the playground configuration, alongside the traces and evaluation results it wants Opik to retain.

What is the relationship between Opik and Comet?

Opik is Comet's observability and evaluation platform. The product page names Comet as its builder, and the README describes the repository's tracing, datasets, experiments and deployment routes. "Opik vs Comet" therefore combines a product name with its vendor's name. A useful comparison needs a second named product or a specific workflow rather than treating those names as competing platforms.

Where is Opik's GitHub repository?

Opik's repository is comet-ml/opik. Its English README links SDK configuration, integrations, evaluation guidance and server deployment. It also documents an MCP connection for coding assistants and links the separate MCP server. For self-hosting, begin with the server-installation instructions; the Python SDK installation and configuration instructions describe connecting application code to that server.

Can I use Ollama and other locally hosted models for the playground and evaluations?

Maintainers announced Ollama playground support in issue #978. The discussion also contains a separate request about evaluation with Ragas and a later user's proxy errors. Those are distinct paths through the product. Identify whether the intended operation is a playground request or an evaluation request, and use that route's provider configuration rather than assuming a playground announcement covers both.

Can Opik support OpenRouter or a configurable OpenAI-compatible endpoint?

The maintainer's shipped-provider list includes OpenRouter in issue #978. A named OpenRouter integration answers the first part of the question. A configurable OpenAI-compatible endpoint is a broader requirement, so the application specification should name its endpoint and authentication needs. The discussion began as a request to expand provider configuration beyond the existing cloud-provider choices.

What we have not tested yet

Our run covered ./tests_load/ at commit efe2ef8; it did not complete a full-platform deployment. Trace retrieval, evaluation accuracy, optimizer quality, sustained throughput, production memory use, backups and security defaults remain outside that run. The 611 MB dependency footprint is not a server-sizing result. Elestio's 1 GB option and Beri's 8 GB requirement use no shared measured workload that resolves their difference.

The failing test tail gives neither a cause nor a complete passing-test count. The sandbox image name does not establish actual runtime or operating-system versions. Issue follow-ups also remain open in this review: successful confirmation of the v1 annotation fix, shipment of the promised tracer change, later default-on early logging, review of the callback proposal and resolution of the Ollama proxy report. The ADK maintainer's reply left LiteLLM behavior untested, and streaming TTS request #2202 lacks release confirmation.

Current hosted entitlements are unresolved by the README's local guardrail activation and Csorba's Enterprise-feature statement. The extracts also do not establish a chronology for the conflicting prompt-environment findings. No head-to-head workload was run against Langfuse, LangSmith, Phoenix, Weave, MLflow, DeepEval, Braintrust or Ragas. Testimonials are vendor-published accounts; the video listings lack the transcripts needed for a software walkthrough. Cloud prices and current commercial terms require dated purchasing evidence.

How does Opik compare with DeepEval?

The evidence cannot decide Opik vs DeepEval: it describes Opik's evaluation approaches without a corresponding DeepEval assessment. Opik's evaluation guide distinguishes natural-language assertion suites for behavioral pass/fail tests from datasets and metrics for scoring many outputs. Use those two jobs as evaluation criteria alongside trace retrieval, human review and deployment requirements. This is a proposed comparison procedure, not an executed test.

How does Opik compare with Braintrust?

The evidence cannot decide Opik vs Braintrust: Comet names Braintrust as an alternative without supplying a direct comparison here. Apply the same evaluation criteria described above to both candidates using one dataset and one review task. That keeps the proposed comparison reproducible without assigning Braintrust capabilities, prices or results that these records do not establish. Our completed work remains the installation, build and failed load-test command reported earlier.

Alternatives

ProjectWhat it isPick it when
Langfuse gh↗A prompt-management and tracing alternative whose MIT core and enterprise-directory exclusions are described by Csorba.Compare it when prompt management, tracing and the licensing boundary match the components your team plans to operate.
LangSmithLangChain's observability and evaluation platform, recommended by Comet for teams committed to LangChain.Compare it when native LangChain or LangGraph integration is the main selection criterion; this recommendation comes from Comet.
Arize PhoenixAn observability alternative identified by Csorba as Elastic License 2.0 software.Compare it when its workflow fits your application and your team can separately review its licensing terms.
Weights & Biases WeaveA tracing and evaluation alternative positioned by Comet around visualization and existing W&B workflows.Compare it when your team already uses W&B; distinguish the library license from platform deployment terms.

Sources

  1. Opik repository and README
  2. Opik evaluation guide
  3. Official local deployment guide
  4. Python SDK reference
  5. Experiment cost user confirmation
  6. Annotation queue v1 and v2 incident
  7. Gemini cost tracking discussion
  8. Comet LangSmith comparison

More llm tools reviews