Skip to main content
Playground is an interactive sandbox to experiment with prompts, models, and tools—either from scratch or directly from traced spans.

What You Can Do

  • Prompt experimentation: Test prompt variations and inputs with instant results.
  • Open from spans: Reproduce exact configurations from any LLM span with Experiment in playground.
  • Tool integration: Configure and test custom tools that models can call.
  • Session history: Review and replay past runs with full context.
Laminar Playground Interface
To access the playground:
  1. In the Laminar dashboard, open playgrounds and click Playground.
  2. Pick a profile and model, then start experimenting, or open directly from a span.

Models come from LLM profiles

The model picker is built from your workspace’s LLM profiles: one submenu per profile, listing the models that profile exposes. There is no built-in catalog, so a model is available here when a profile lists it and holds credentials for it. A workspace with no profiles shows No LLM profiles configured in place of the picker, with a link to workspace settings.

Start from Scratch

  • Create a new playground to iterate quickly.
  • Send requests, view responses, and compare outputs side by side.
  • Save versions to revisit later.

Start from a Span

Open the actions menu next to the span name on any LLM span and click Experiment in playground. The playground inherits:
  • Model settings (model, temperature, token limits, thinking tokens)
  • Images and input formatting
  • Tools and tool configuration
  • System prompts and message history
This removes the need to recreate complex requests—tweak and rerun immediately.
Playground opened from a traced span

Tools

Add tools so models can call functions during a session. Tools are defined as JSON with function names, descriptions, and parameter schemas; choose when tools are allowed (none, auto, required, or a specific function).
Laminar Playground Tools
Example tool config
Learn more about tool choice options in the AI SDK documentation.

History

Every playground run is saved. The History tab shows:
  • Full conversations (prompts and responses)
  • Model configurations (model, temperature, tokens, etc.)
  • Tool calls with inputs/outputs
  • Performance metrics (latency, tokens, cost)
  • Timestamps for each run
Laminar Playground History
Open any past run to review, compare, or duplicate it for new experiments.