Skip to navigation
Getting Started

Test Suites and Datasets Tabs on the Experiments Page

The Experiments page now has separate Test suites and Datasets tabs. Each tab lists only its own experiments and only the columns that apply to them: test suite experiments show their version and pass rate, and dataset experiments show their version and feedback scores. Experiments are grouped by test suite or dataset by default, and group rows show the average pass rate of their experiments. The page opens on the last tab you used in each project, so you land straight on the results you care about.

Add and Edit Dataset Records in One Panel

Every Add record button now opens the same side panel, where you can add, rename and remove fields before you save. An empty dataset suggests Input, Expected output and Metadata fields to start from. Editing a record uses the same field rows, keeps the type of every value you leave alone, and removing a field removes it from that record only. When you add traces or spans to a dataset, its existing columns are listed up front, so you can map each one or leave it empty.

Bug Fixes & Improvements

  • Experiments toolbar - The Group button is labeled, an Add filter chip shows when no filter is active, and pass rates below 100% show as at most 99% in the table and on the Compare page.
  • Dataset names per project - Dataset names are unique within a project instead of across the workspace, and datasets and prompts created without a project go to the Default Project.
  • Test suites - Adding traces or spans to a test suite keeps the suite’s pass criteria unless you change them.
  • Experiment items stream - POST /v1/private/datasets/items/experiments/items/stream streams a dataset’s experiment items across all its experiments, up to 2,000 per request.
  • Dashboards - Dashboards can be created and renamed with any name, including one another dashboard already uses. Ollie table widgets have sortable and resizable columns, and the sort and widths are saved with the widget.
  • Online evaluation - LLM-as-a-Judge spans record, and are priced by, the model that answered. Changing a rule’s evaluator type returns a 409 that asks you to create a new rule.
  • OpenTelemetry - gen_ai.usage.cost.currency is accepted on ingest, an OTLP body that can’t be parsed gets a 400, and errors on protobuf requests come back as a protobuf google.rpc.Status, so exporters do not retry them.
  • Experiment comparison - Filtering the comparison by output, a dataset item field or a feedback score returns its stats on installs that use distributed ClickHouse tables.
  • TypeScript SDK - searchTraces, searchSpans and searchThreads accept maxResults above 2000, getExperimentsByName and searchPrompts return every match, Jinja2 prompt values are no longer HTML-escaped, the LangChain handler logs token usage from usage_metadata, and streamed Gemini traces keep their function calls and all their text.
  • Python SDK tracing - Streamed tool calls are kept in Groq, Together and Cerebras traces, LlamaIndex chunking payloads stay intact, DSPy LM spans log usage on dspy 3.5, a tracked generator’s cleanup runs inside its own span, numpy scalars are logged as numbers and booleans, and dict keys that are tuples or frozensets are logged as strings.
  • Python SDK evaluation - ROUGE scores non-Latin text, ChrF scores identical short strings 1.0, non-finite metric scores are marked as failed, distribution metrics raise MetricComputationError on non-string inputs, evaluate_on_dict_items keeps each item’s own id, and a warning shows when a thread has more traces than max_traces_per_thread.
  • Python SDK datasets - Deleting a dataset item keeps content hashes that other items still share, and by-name lookups are scoped to the project.
  • SageMaker - Attachment uploads and downloads work in SageMaker partner app mode.
  • Self-hosting - The Python code executor sandboxes code metrics by default. See the self-host changelog for the settings that turn it off. The Helm chart moves to ZooKeeper 3.9.7, uses a read-only ClickHouse monitoring user, and sets the bundled Redis REDIS_URL only when redis.enabled is on.
  • Documentation - New Claude Managed Agents integration page and Move to Opik Cloud guide, and the self-host sidebar is grouped into Deploy, Configure, Operate and Upgrade and migrate.

Performance Improvements

  • Faster experiment item lookups - Looking up an experiment item by id is faster, including when you stream a dataset’s experiment items.
  • Fewer cold-storage reads - The Logs empty-state check and cost alerts read only the weeks that can hold their spans.

And much more! 👉 See full commit log on GitHub

Open Any LLM Span in the Playground

Spans in the trace details panel now have an Open in Playground button. Click it on any LLM span to load its messages, model and parameters into the Playground, where you can edit the prompt, swap models and rerun it. Debugging a bad response no longer means copying prompts by hand.

Learn more in the Playground docs.

Search Within a Thread

The thread side panel has a search box that finds text across all the messages in a thread and steps through the matches. Long conversations are easier to navigate when you are looking for one phrase.

Bug Fixes & Improvements

  • Filter by comments — Traces and threads can be filtered by whether they have comments, in the UI and with comments is_empty / comments is_not_empty in filter_string.
  • Filter experiments by evaluation method — The experiments filter API accepts the evaluation method as a field.
  • Experiment items across experiments — A new dataset endpoint returns experiment items across all the experiments of a dataset.
  • Span cost breakdowns — Project metrics widgets can break cost down by span fields.
  • Service account auth for custom providers — Custom LLM providers can authenticate with a service account token, and token endpoints that reply in plain text are supported. See the AI providers guide.
  • Bedrock providers — Bedrock providers can call Claude (Anthropic Messages) and Nova (Converse) models.
  • Model settings panel — Gemini and Vertex AI models use the catalog-driven settings panel, and model parameters and output token limits follow what each model supports.
  • Online evaluation — Rules can pick the OpenAI and OpenRouter reasoning effort, and judges run in tool mode on newer OpenAI, Claude and Gemini models.
  • Playground — Duplicate any prompt variant, add a blank variant, load and save Text or Chat prompts, hide columns in the results table, and run with Cmd/Ctrl+Enter.
  • Threads — Long thread messages wrap, attachments scroll with their messages, and thread search returns matching threads with all of their traces.
  • Dashboards — The Ollie widget mode is available on dashboards.
  • Pricing — Prompt-size tiers and one-hour cache writes are priced for every provider, and upper-case model names are priced like lower-case ones.
  • Project deletion — Deleting a project also deletes its traces and spans.
  • Project name limit — Project names are limited to 150 characters.
  • Free plan quota — The span quota is applied to OpenTelemetry trace ingestion.
  • Annotators — Annotator counts are by person rather than by score key.
  • SDK evaluation — evaluate_threads can evaluate more than 1000 threads, scoring_key_mapping reads unmodified inputs, jury consensus rejects failed judge scores, and judge verdicts that drift from the expected format are normalized.
  • SDK tracing — Streamed tool calls are kept in LiteLLM traces, the root ADK agent stays the trace on google-adk 2.13, and run_simulation logs to the given project_name.
  • SDK reliability — Traces dropped at shutdown, on rate limits or on queue overflow are reported, and a blank OPIK_API_KEY is treated as unconfigured.
  • SDK prompts — Prompt() and ChatPrompt() use the default project, and prompt templates render in a sandboxed environment.
  • Integrations — New Pixeltable integration page.
  • Documentation — Custom annotator views and the annotation queues page are documented.

Performance Improvements

  • Faster experiment comparison — Default-sorted experiment item compare pages load faster.
  • Faster thread and trace reads — Thread reads and trace reads are bounded to the weeks they cover, and thread message pages read only their first and last traces.

And much more! 👉 See full commit log on GitHub

New Online Evaluation Rule Editor

Creating an online evaluation rule now happens in a side panel. Click Evaluator, choose LLM-as-a-Judge, Decision model or Code evaluator, and set the name and prompt or code on the left, with the scope, filtering and sampling, scores and cost limit on the right. A new judge or decision model starts from a set of templates that already use the right variable for the scope you picked, or you can click Type your prompt to write your own. The Enabled toggle in the footer lets you create a rule paused and switch it on later.

Cohere Integration

Opik now has a native integration for the Cohere Python SDK. Wrap your client with track_cohere and every chat() and chat_stream() call is logged with its messages, response, model and token usage. The async client is supported too, so Command models show up next to the rest of your traces.

Learn more in the Cohere integration docs.

Bug Fixes & Improvements

  • View an older dataset or test suite version — Open a version from the history to browse its items without restoring it.
  • Playground runs on the server — Running a Playground experiment on a regular dataset and stopping it now happen on the server, and results stay on screen while a run progresses. Runs on an empty dataset or test suite are blocked, and rate limit or rejected-role errors say what to do next.
  • Multiple media parts from one variable — A single Playground variable holding a list now sends one image, video or audio part per entry.
  • OpenTelemetry project routing — Set the opik.project_name attribute on spans to send them to a specific project, which helps when a Collector processor drops the projectName header.
  • Environment filter on threads — The Threads tab can be filtered by environment, and the logging guide explains how threads get theirs.
  • Internal traces in threads — Thread Messages hide internal traces behind a toggle and mark them with an Internal badge.
  • Alert custom fields — Alerts take optional custom fields that are included in the EventBridge event.
  • New models — Claude Haiku 5.5 and Sonnet 5.5 are available in the Playground and online evaluation, and the online evaluation defaults for OpenAI and OpenRouter are GPT 5.5.
  • Model parameters follow each model — Reasoning effort levels, defaults and OpenRouter parameters now match what each model supports, and base64 images, video and audio are sent to Vertex AI as inline data.
  • Clearer project name errors — Creating a project with a name that already exists shows a clear message.
  • Prompt library and Playground — Saving to the prompt library twice by double-clicking creates one version, and unsaved edits to a library prompt are kept when you leave the Playground.
  • Test suites — Runs finish when the assertion judge can’t run, falling back to the next provider.
  • OpenAI Decisions API tracing — The Python and TypeScript OpenAI integrations log Decisions API calls.
  • SDK tracing — Bedrock invoke_model Claude and Nova streams keep their tool calls, thinking and citation blocks, parallel tool calls from streamed TypeScript OpenAI responses stay separate, and Gemini thinking and tool-use prompt tokens are counted in TypeScript usage.
  • SDK evaluation — Aggregates report how many scores they left out, and conversation windows whose assistant reply has no text are not graded.
  • Pricing — OpenTelemetry spans that report the provider as its API host are priced, and workspace metrics include authored feedback scores.
  • Self-hosting — Redis Sentinel is supported, with a setup guide, and the Python SDK is published to PyPI with Trusted Publishing.
  • Dashboards — The Add widget menu makes dashboard editing and Ollie widgets easier to find.
  • Documentation — New judge metric and judge alignment tutorials, a guide to separating dev, staging and prod with environments, and updated guides for test suite assertions, Diagnostics and OpenTelemetry.

Performance Improvements

  • Faster span and trace reads — Span, trace and thread reads, plus project size and feedback score name lookups, are bounded to the project’s span weeks, and large span and trace write payloads are streamed.

And much more! 👉 See full commit log on GitHub

Releases: 2.2.104, 2.2.105, 2.2.106, 2.2.107, 2.2.108, 2.2.109, 2.2.110, 2.2.111, 2.2.112, 2.2.113, 2.2.114, 2.2.115, 2.2.116, 2.2.117, 2.2.118, 2.2.119

Together AI Integration

Opik now has a native integration for the Together AI Python SDK. Wrap your client with track_together and every chat completion, from both together.Together and together.AsyncTogether, is logged with its messages, response, model and token usage. Streaming is supported, and calls nest correctly under @track-decorated functions, so Together models show up alongside the rest of your traces.

Open Spans from the Agent Graph

Nodes in the agent graph are now clickable. Selecting a node opens the matching span in the trace tree, and a node that ran several times opens the next run on each click, with the run number in its tooltip. The node of the selected span gets a highlighted border, and this works in both the side panel and the fullscreen graph view. Graphs from LangGraph map nodes to spans automatically, and the DSPy and Google ADK integrations now record a graph_node_id in span metadata so their nodes map correctly too, including modules that share a name.

Bug Fixes & Improvements

  • Prompt saves don’t duplicate versions — Saving a prompt whose content is unchanged returns the latest version instead of creating an identical one.
  • Playground model pickers list runnable models — Anthropic, Gemini and Vertex AI models that the Playground can’t run are no longer offered.
  • Clearer provider errors — When OpenRouter relays an upstream failure, the message now shows the provider’s own reason. Gemini no longer receives a max output tokens value of 0.
  • Loading prompts with media — Loading a prompt that contains images, video or audio into a system or assistant message keeps its text and shows a toast explaining that media wasn’t loaded.
  • Project metrics default to time-based aggregation — New project metrics widgets with a breakdown start in Time-based mode, and changing the group-by field keeps your chosen mode.
  • Consistent terminology — Experiments and Optimizations pages name the item source as Test suite or Dataset, and say “Item source” where either applies.
  • More accurate span costs — Spans are priced from each provider’s own usage format, and providers in the LiteLLM price file are all priced.
  • Google ADK tracing — Agent spans opened with start_span are tracked on google-adk 2.12.0.
  • Agent Insights first runs — Automatic first runs that stop reporting time out and are retried.
  • Self-hosting — The Helm chart has an opt-in alerts.awsEventBridge block for sending alerts to AWS EventBridge, ClickHouse force-merge settings are opt-in, and docker-compose re-owns root-owned MinIO volumes instead of asking you to delete data.
  • Documentation — First-run snippets, doc examples and screenshots have been corrected and refreshed.

Performance Improvements

  • Faster span reads — Trace-keyed span reads are bounded by the span_weeks index, and span list, stream and stats queries run on the shard directly.
  • Faster prompt lookups — A prompt’s latest version is found via MAX(id), served from the index.

And much more! 👉 See full commit log on GitHub

Ollama Integration

Opik now has a native integration for the Ollama Python SDK. Wrap your client with track_ollama and every chat() call, from both ollama.Client and ollama.AsyncClient, is logged with its messages, response, model and token usage. Streaming is supported, and Ollama’s own counters are mapped to Opik token usage so local model runs show up alongside the rest of your traces.

Bug Fixes & Improvements

  • Logs keep their filters — Filters on the Logs page are restored when you return to it.
  • Anthropic thinking effort is respected — The effort chosen for Claude models is sent to Anthropic as output_config.effort in the Playground, experiment runs and LLM-as-judge rules, and max_tokens is honoured for Anthropic chat completions. claude-opus-5-5 is available as a model.
  • Better model parameter panels — Ollama and Bedrock get their own parameter panels, the max reasoning effort is offered on OpenAI keys set to the Responses API, and sampling parameters that OpenAI reasoning models, Gemini 3 models, and OpenRouter ignore are hidden or no longer sent. Vertex AI’s max output tokens slider is respected.
  • Clearer Playground — The Playground starts with a system and a user message, + Message keeps them alternating, runs with audio a model can’t accept are blocked, the per-prompt Run is hidden when there’s only one prompt, and the output explains why it is greyed out after a prompt edit.
  • Dataset uploads report problems up front — CSV files with duplicate headers and JSON/JSONL files with syntax errors are rejected when uploaded, and a failed import is shown on the dataset items tab.
  • Spans with an unloaded parent show at the trace root — Spans whose parent isn’t loaded are displayed at the top level of the trace instead of being hidden.
  • Easier navigation from evaluation items — “View evaluation item” has a way back to the experiment, and the run toast says “View experiment” when a single experiment ran.
  • Self-hosted Comet API keys resolve to a login — The Python SDK CLI identifies self-hosted Comet users the same way it does on cloud.
  • opik mcp configure for agents — The command accepts --deployment cloud|local|self-hosted with --url and --workspace, so a coding agent can run it without a terminal, and exits with code 1 when the connection check fails.
  • SDK tracing fixes — @track generators that aren’t exhausted, async LangChain callbacks, and OpenAI streams (each now aggregated with its own API’s aggregator) all log correct spans. An explicit update_current_span/update_current_trace output wins over the value @track captures.
  • TypeScript SDK — OpenAI Responses API input/output tokens map to prompt/completion tokens, scores from metrics that fail during evaluate() are kept and reported, and OQL string values accept doubled-quote escapes.
  • OpenTelemetry ingestion — An OTel batch is kept when the Redis trace-id lookup fails.
  • Thread stats — Thread counts and stats are attributed by their traces’ IDs.

Performance Improvements

  • Faster thread and trace search — Trace and thread search read only the weeks of the project being searched, once, and find_thread_by_id reads thread messages for just two traces.
  • Faster charts and workspace metrics — Charts, KPI cards and workspace metrics use ID-based, open-ended time ranges.
  • Faster prompt lookups — A prompt’s latest version is served from the index.

Automatic Annotation Queue Population

Annotation queues can now fill themselves. Turn on Automation when creating or editing a queue and describe what’s worth reviewing as conditions on feedback scores (for example, a low score from an online evaluation rule). Traces and threads logged by your application are added to the queue as soon as they qualify, so reviewers see the problem cases without anyone watching the traces list. Conditions are combined with AND (up to five), you can optionally cap how many items automation adds, and the items table shows how each item arrived under Source. Automation is available out of the box.