// agents · comet-ml/opik

opik

Open-source LLM observability: trace, evaluate and monitor apps and agents

★ 22.5k stars⑂ 1.8k forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

opik is an open-source ai agents project by comet-ml (comet-ml/opik on GitHub). It has 22,451 GitHub stars and 1,849 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 8 October 2026.

Repository
comet-ml/opik
GitHub stars
22,451
Forks
1,849
License
Apache-2.0
Last updated on GitHub
8 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Decide cloud or self-hosted

    Use Comet's cloud for the fastest start, or self-host the full platform with Docker Compose or Helm.

  2. Get Opik

    Install the Python SDK with pip, or clone the repository to self-host the server.

  3. Configure the SDK

    Run opik configure, add the tracing decorator to your functions, and point the SDK at your workspace.

  4. Trace your first call

    Run your app once and open the Opik dashboard to inspect the full trace and score it.

// features

Why people love it

End-to-end tracing

Logs LLM calls including nested function and agent traces, so you can replay exactly what happened.

Automated evaluations

Score outputs with automated evaluation methods and run experiments against datasets.

Production dashboards

Monitor quality, usage and feedback from live traffic with production-ready dashboards.

Agent and RAG observability

Built for agentic workflows and RAG systems, not just single completions.

Framework-agnostic

Works across ecosystems - the repo highlights LangChain and LlamaIndex among its integrations - without locking you into one framework.

Self-hostable

Deploy locally with Docker Compose or at scale with Kubernetes and Helm, or use the Comet cloud.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Get the source code from GitHub and enter the project directory.

    git clone https://github.com/comet-ml/opik.git
    cd opik
  2. Install the SDK and configure

    Add Opik to your Python project and connect it to your workspace or local server.

    pip install opik
    opik configure
  3. Or self-host the platform

    Clone the repo and start the full Opik suite locally with the provided script (run inside the clone).

    ./opik.sh
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains this project?

It is maintained by Comet (the company behind Comet ML) as an open-source project on GitHub.

Is it free to use?

Yes - Opik is Apache-2.0 licensed, and the README stresses the full platform can be self-hosted free without a commercial license. Comet also offers a hosted cloud option.

Does it need a paid API key?

Opik itself needs no paid key when self-hosted; the LLM calls you trace still use your own provider keys, and the cloud option needs a Comet account.

How does it compare to alternatives?

Compared with Langfuse, Opik positions itself as a fully Apache-2.0, self-hostable platform with evaluation and optimization built in; the README includes a comparison table against alternatives.

How do I get started?

Run pip install opik and opik configure, decorate a function with the track decorator, and view the trace in the dashboard - or self-host with ./opik.sh after cloning.

// keep exploring

Similar tools

AI Agents

helicone

Open-source LLM observability: monitor, evaluate, and experiment.

★ 6.2k starsApache-2.0
View guide →
Agents

openlit

Open-source observability for AI agents: trace, evaluate, guard, and improve.

★ 2.8k starsApache-2.0
View guide →
AI Agents

future-agi

One open platform to simulate, evaluate, guardrail, trace, and optimise LLM and agent apps, self-hostable.

★ 2.1k starsApache-2.0
View guide →
AI Agents

openllmetry

OpenTelemetry-native observability for LLM apps.

★ 7.5k starsApache-2.0
View guide →
AI Agents

phoenix

Observability and evaluation for AI apps — see what your agents do.

★ 11.7k starsNOASSERTION
View guide →
AI Agents

fast-agent

Code, build and evaluate LLM agents with full MCP, Skills, ACP and A2A support.

★ 3.9k starsApache-2.0
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if opik is not the right fit.

Get opik

Free and open — grab the source, star the repo, and start creating.