Skip to main content
The TealTiger Playground is a browser-based environment for writing, testing, and exporting AI governance policies. Write policy code in a Monaco editor, run evaluations against test scenarios, and export production-ready code in TypeScript, Python, JSON, or CI/CD formats. Try it at playground.tealtiger.ai.

Features

Policy Editor

Monaco-powered editor with TypeScript syntax highlighting, autocomplete for TealTiger APIs, and keyboard shortcuts.

Live Evaluation

Run policies against test scenarios with real TealTiger API helpers (PII detection, injection detection, cost estimation). See decisions, execution time, and cost estimates.

15+ Templates

Enterprise-ready policy templates for PII detection, cost control, rate limiting, content moderation, data residency, and more. Customizable parameters.

Export to Code

Export tested policies as production-ready TypeScript SDK, Python SDK, JSON config, or GitHub Actions CI/CD workflows. Copy or download.

How It Works

  1. Write a policy in the Monaco editor (or load a template)
  2. Add test scenarios with different prompts, providers, and expected outcomes
  3. Run evaluation — TealTiger executes your policy against each scenario
  4. Review results — see ALLOW/DENY decisions, execution time, cost estimates
  5. Export — generate production-ready code for your project

What Runs in the Playground

The playground executes real TealTiger logic in your browser:
  • detectPII() — scans text for emails, phone numbers, SSNs, credit cards
  • detectInjection() — checks for prompt injection patterns
  • estimateCost() — estimates LLM API costs by provider and model
  • getProviderRegion() — returns the default region for a provider
No data is sent to any server. Everything runs client-side.