#3411·opik

[FR]: Replay OpenAI LLM Spans in the playground

Author: jverreCreated Sep 25, 2025Updated Sep 30, 2026
LabelsFeature_Requestgood-first-issue

Context: When working on an LLM agent, you sometimes want to make a small change to a prompt and quickly understand it's impact. Given that Opik already includes a Prompt Playground, it would be great if we could open an LLM span in the playground.

Feature implementation:

The goal of this feature is to add an icon next to these three icons in the traces sidebar:

Image

When a user clicks on the icon, they will be redirected to the playground and the messages in the span input will be already loaded. This will then allow the user to change the messages and see the response.

Implementation considerations:

  • Before we display the button we will need to check that the LLM span input follows the OpenAI format or at least contains a message array of the right format