data-loss. `./opik.sh --clean` stops all containers and removes all Opik data volumes.
Who it is forA developer or company that cannot send traces to a third-party cloud.
The problemMany observability tools only offer self-hosting on an enterprise plan.
The outcomeA local Opik UI at localhost:5173 receiving traces from your apps.
What you need first
- Python with pip; install with `pip install opik`
- An Opik server: Comet.com cloud, or self-hosted with Docker (Kubernetes and Helm for larger setups)
- Optional: uv for `uvx opik mcp configure`
Steps
- Run
git clone https://github.com/comet-ml/opik.gitandcd opik - Start the platform with
./opik.sh(use./opik.sh --verifyto check that all containers are healthy) - Configure the SDK with
opik configurefor the self-hosted address, or call Opik.configure(use_local=True) - Stop with
./opik.sh --stop; only use./opik.sh --cleanwhen you want to remove all data
Prompt for your agent
Self-host comet-ml/opik with `./opik.sh`, verify it with `./opik.sh --verify`, send one test trace from <my script>, and confirm it appears at localhost:5173.
Caveat. Docker Compose is meant for local development and testing; the README points to Helm for production.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for comet-ml/opik and "Self-host Opik on your own machine"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer