AI Agent Guardrails & Runtime Policies
Enforce pre-dispatch prompt injection detection, client-side PII scrubbing, spend caps, and runtime execution policies for production AI applications.
Privacy Controls vs. Runtime Policy Enforcement
Observyze clearly separates client-side data minimization from active gateway policy enforcement:
Privacy & Data Minimization
- Client-side PII regex scrubbing for emails, keys, and phone numbers.
- Configurable
captureContent: falseto omit prompt text completely. - Redaction occurs in-memory before payloads leave your application.
Runtime Policy Enforcement
- Pre-dispatch prompt injection heuristics and jailbreak detection.
- Hard execution budgets (max dollars and max steps per session).
- Distributed circuit breakers to halt runaway retry cascades.
Enforce Telemetry & Policy Rules
Configure privacy redaction flags in your SDK client options or enforce runtime policies through project guardrail settings.
import { ObservyzeClient } from "@observyze/sdk";
const observyze = new ObservyzeClient({
apiKey: process.env.OBSERVYZE_API_KEY!,
projectId: process.env.OBSERVYZE_PROJECT_ID!,
// Privacy & Data Minimization
privacy: {
maskPii: true, // Redact emails, SSNs, credit cards
captureContent: true, // Set false to omit raw text
},
// Runtime Execution Budget
executionBudget: {
maxCostUsd: 0.50, // Stop trace if spend exceeds $0.50
maxSteps: 8, // Stop loop if turns exceed 8
},
});Frequently Asked Questions
Technical details, integration patterns, and operational controls.
Client-side PII redaction is a privacy and data-minimization technique that scrubs sensitive values (like emails, phone numbers, and API tokens) from payloads in your application before telemetry is dispatched. Runtime guardrails are active policy checks that evaluate incoming prompts or active sessions for malicious injection patterns, spend limits, or execution thresholds.
Explore Related Solutions
Runtime Architecture & Tooling
AI Agent Circuit Breakers
Halt failing agent loops with automated distributed circuit breakers.
AI Agent Cost Monitoring
Track multi-step agent token spend and attribute costs across models.
AI Agent Observability
Full-lifecycle tracing, tool inspection, and latency tracking for production agents.
Want to test without installing anything?
Explore 6 pre-configured production scenarios in our interactive Demo Mode.