Skip to main content
The TealTiger Playground runs entirely in your browser. No sign-up, no API keys, no installation.

Open the Playground

Go to playground.tealtiger.ai. You’ll see three panels:
  • Left sidebar — Example policies and test scenarios
  • Center — Monaco policy editor
  • Right — Evaluation results

Write Your First Policy

The editor starts empty. You can either:
  1. Load a template — click “Templates” in the sidebar, pick one (e.g., “PII Detection”), click “Use Template”
  2. Write from scratch — type a policy function in the editor
A minimal policy looks like this:

Add Test Scenarios

Click ”+ Add” in the Test Scenarios section. Each scenario needs:
  • Name — descriptive label
  • Prompt — the user input to test
  • Provider — OpenAI, Anthropic, Gemini, or Bedrock
  • Model — e.g., gpt-4
  • Test typepii, injection, or normal (determines mock response content)

Run Evaluation

Click “Run Evaluation”. The playground executes your policy against each scenario and shows:
  • Decision — ALLOW, DENY, or MONITOR
  • Execution time — how long the policy took
  • Cost estimate — estimated LLM cost
  • Token count — estimated tokens used

Export Your Policy

Click “Export” in the header to generate production-ready code: Click “Copy” or “Download” from the preview modal.

Available API Helpers

These functions are available in the playground sandbox:

Keyboard Shortcuts

Self-Hosting

The playground is open source. To run locally:
Opens at http://localhost:5173. No Supabase or API keys needed for the core playground.