# Opik

CreateWithAI Hub page: https://createwithaihub.com/evals-observability/opik
Latest version of this file: https://createwithaihub.com/evals-observability/opik.md

- Type: Tool · Category: Evals & Observability
- Publisher: Comet
- Pricing: Free · License: Apache-2.0
- Runs on: Web, Docker / self-hosted

Comet's open-source platform for tracing, evaluating and monitoring LLM apps and agents, self-hosted or in the cloud.

Opik is an open-source LLM observability and evaluation platform from Comet. It records traces of agent and LLM calls, runs experiments on datasets with LLM-as-a-judge metrics, manages prompts in a playground, and shows production dashboards with feedback scores and token usage. It can be self-hosted with Docker Compose or Helm, or used on Comet's cloud. It suits teams that want an Apache-licensed platform covering both tracing and evals.

Useful for: Tracing a RAG agent in production and scoring its answers for hallucination on a test dataset before changing the prompt.

## Key features

- Trace trees for agents and LLM calls, with annotation
- Datasets, experiments and LLM-as-a-judge metrics (hallucination, moderation, RAG)
- Prompt management, Prompt Playground and online evaluation rules
- Python and TypeScript SDKs, OpenTelemetry ingestion, about 70 integrations incl. LangChain, LlamaIndex, OpenAI and Vercel AI SDK
- Official MCP server (remote https://www.comet.com/opik/api/v1/mcp) to query traces from a coding assistant
- Comet cloud: Free (25k spans/month, 60-day retention) and Pro ($19/month, 100k spans, extra spans $5 per 100k)

## Connection

- What it does: Tracing & logging, Evals, Prompt management, Cost & usage tracking, Production monitoring
- Hosting: Cloud, Self-hostable
- Integrates via: SDK, OpenTelemetry

## Install steps from the official documentation

Python SDK:

```
pip install opik
```

Configure SDK:

```
opik configure
```

Self-host (Docker Compose):

```
git clone https://github.com/comet-ml/opik.git && cd opik && ./opik.sh
```

## Limitations

- Cloud Free plan is capped at 25k spans per month with 60-day retention
- Self-hosting means running the full stack yourself (Docker Compose or Kubernetes)
- No proxy or gateway mode; apps are instrumented through SDKs or OpenTelemetry

## Official links

- Website: https://www.comet.com/site/products/opik/
- Source repository: https://github.com/comet-ml/opik
- Documentation: https://www.comet.com/docs/opik/
- Source: https://github.com/comet-ml/opik (README: features, self-hosting, SDKs, integrations, install commands; Apache-2.0 LICENSE covering the full platform; not archived)
- Source: https://www.comet.com/site/pricing/ (Open Source $0, Free Cloud 25k spans/month, Pro Cloud $19/month 100k spans, extra spans $5/100k, longer retention $29/100k spans, Enterprise custom)
- Source: https://www.comet.com/docs/opik/mcp-server (MCP server setup (uvx opik mcp configure) and remote URL)
