Opik is Comet's open-source platform for logging traces, evaluating and monitoring LLM apps and agents. It is Apache-2.0 licensed, and the full platform can be self-hosted for free.
It traces LLM calls, multi-step agent runs and tool calls, and lets you build datasets and run experiments with LLM-as-a-judge and heuristic metrics. It also has prompt management, a prompt playground, production dashboards, online evaluation rules, and a PyTest integration so evals can run in CI/CD.
Run pip install opik and opik configure, then wrap functions with the @track decorator. To self-host, use Docker Compose via ./opik.sh or Kubernetes with Helm. A hosted version is available at Comet.com.