Playground

Test, iterate, and compare prompt variants interactively.

We recommend installing the Respan MCP so your AI coding tool can work with your prompts, logs, and traces directly. Authenticate with your Respan API key from the API keys page:

$claude mcp add \
> --transport http \
> --header "Authorization: Bearer YOUR_RESPAN_API_KEY" \
> respan \
> https://mcp.respan.ai/mcp

See the MCP docs for OAuth setup and other clients.

Test and iterate on prompts in the Prompt Playground.

From the prompt editor

Enter variable values and click Playground in the top bar to test. Click Commit to save changes back to your prompt library.

Bring prompt to playground

From production logs

Debug production logs by clicking Open in Playground on any log entry.

Debug from logs

Compare variants

Set the number of variants in the side panel to generate multiple responses and compare them in the Variants tab.

Set variants