Skip to main content
Production-ready examples for common AI security and governance scenarios. Each recipe includes complete code, policy configurations, and expected outcomes.

OpenAI Governance Quick Start

PII detection, injection blocking, cost tracking, budget enforcement, and audit evidence with the OpenAI API

HIPAA Medical Bot

Build a HIPAA-compliant medical chatbot with automatic PHI redaction and role-based access controls

Prevent Hallucinated Refunds

Stop AI agents from issuing unauthorized refunds using policy enforcement and approval workflows

Stop Budget Runaway

Prevent infinite loops and budget overruns with cost limits and token clamping

Microservices Architecture

Integrate TealTiger into a microservices-based AI agent architecture with distributed tracing

What you’ll find in each recipe

Every cookbook recipe includes:
  • The problem - Real-world security or governance challenge
  • Complete code - Production-ready TypeScript and Python examples
  • Policy configuration - Exact policies to copy and adapt
  • Expected outcomes - Sample decisions and audit logs
  • Best practices - Tips for production deployment
  • Cost analysis - ROI and savings calculations where applicable

How to use these recipes

  1. Find your use case - Browse recipes to find one that matches your challenge
  2. Copy the code - All examples are complete and runnable
  3. Adapt policies - Customize policies for your specific requirements
  4. Test in MONITOR mode - Measure impact before enforcing
  5. Deploy incrementally - Roll out to production with confidence
All recipes use current TealTiger APIs and are production-ready. Code examples are available in both TypeScript and Python.

By use case

Getting Started

OpenAI Governance Quick Start

End-to-end capability walkthrough with OpenAI

Security & Compliance

HIPAA Medical Bot

Healthcare compliance with PHI redaction

Prevent Hallucinated Refunds

Financial controls and approval workflows

Cost & Reliability

Stop Budget Runaway

Cost controls and token limits

Microservices Architecture

Distributed systems and tracing

Coming soon

We’re working on more recipes:
  • PCI-DSS Payment Bot - Handle credit card data securely
  • SOC 2 Compliance - Audit logging and access controls
  • Multi-tenant SaaS - Tenant isolation and data segregation
  • Rate limiting - Prevent abuse and DDoS attacks
Want a specific recipe? Let us know

Need help?

Can’t find a recipe for your use case?