Getting Started

Quickstart

This guide helps you integrate the Opik platform with your existing Agent. The goal of this guide is to help you log your first traces and start tracking your prompts and agent configuration in Opik.

Prerequisites

Before you begin, you’ll need to choose how you want to use Opik:

Logging your first LLM calls

Opik makes it easy to integrate with your existing LLM application, the best way to get started is to use the Opik skill:

The simplest way to integrate with Opik is using the Opik Skills and your favorite coding agent.

1

Install the Opik skill

$npx skills add comet-ml/opik-skills

This skill is compatible with all coding agents including Claude Code, Codex, Cursor, OpenCode and more.

2

Run the integration

Once the skill is installed, you can integrate with Opik using the following prompt:

Instrument my agent with Opik using the /instrument command.

Analyze your traces

After running your application, you will start seeing your traces in Opik and you can use Ollie to analyze them and improve your agent.

If you don’t see traces appearing, reach out to us on Slack or raise an issue on GitHub and we’ll help you troubleshoot.

Next steps

Now that you have logged your first Agent calls to, why not check out:

  1. In depth guide on agent observability: Learn how to customize the data that is logged to Opik and how to log conversations.
  2. Opik Experiments: Opik allows you to automated the evaluation process of your LLM application so that you no longer need to manually review every LLM response.
  3. Opik’s evaluation metrics: Opik provides a suite of evaluation metrics (Hallucination, Answer Relevance, Context Recall, etc.) that you can use to score your LLM responses.