Skip to main content

Zero-Config Quickstart

Go from zero to full-stack governance visibility in under a minute. No policies, no config files, no external services.

3-Line Quickstart

TypeScript

Python

That’s it. client is now a governed client with:
  • ✅ Automatic cost tracking per request, session, and agent
  • ✅ Full audit trail of every call, response, and error
  • ✅ PII detection (report-only — logs findings, never blocks)
  • ✅ Behavioral baseline (built automatically from first 100 requests)
  • ✅ Emergency kill switch (freeze() / unfreeze())
Use client exactly like you’d use the unwrapped OpenAI client. Same methods, same parameters, same responses.

Cost Tracking

Every request is automatically costed using provider pricing data:

TypeScript

Python


Audit Log

Every request, response, error, and tool call is automatically logged:
Audit events are written using TealAudit with HASH redaction by default — input/output content is hashed, not stored in plaintext.

Behavioral Baseline

The proxy automatically collects metrics to build a “what’s normal” profile:

TypeScript

Python

The baseline includes p50, p95, and p99 for: latency, input tokens, output tokens, cost, and tool call count.

Kill Switch: freeze() / unfreeze()

Emergency stop — no policies required:

TypeScript

Python


Progressive Path to Explicit Policies

When you’re ready to graduate from observe-only to enforcement:

Step 1: Start with observe (you are here)

Step 2: Add multi-stage defense

Step 3: Add post-execution scanning

Step 4: Add role-based policies

Step 5: Add FREEZE rules (immutable safety)

Each step builds on the previous. You never have to rewrite — just add.

With Agent ID and Session ID


Supported Providers

observe() works with all 14 supported providers:
See the full provider list for all 14 supported clients.