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
- Write a policy in the Monaco editor (or load a template)
- Add test scenarios with different prompts, providers, and expected outcomes
- Run evaluation — TealTiger executes your policy against each scenario
- Review results — see ALLOW/DENY decisions, execution time, cost estimates
- 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 cardsdetectInjection()— checks for prompt injection patternsestimateCost()— estimates LLM API costs by provider and modelgetProviderRegion()— returns the default region for a provider
Quick Links
- Getting Started — Open the playground and run your first evaluation
- Policy Templates — Browse and customize 15+ templates
- Troubleshooting — Common issues and solutions

