Loading…
Loading…
Tag
3 posts with this tag.
·9 min read
Copy-paste TypeScript patterns for AI agent logging and audit trails: structured span logging with OpenTelemetry, PII-safe trace storage, compliance-ready audit records, token usage tracking, and decision trail for human review. Working code.
·9 min read
Copy-paste TypeScript patterns for AI agent output validation: Zod schema enforcement, PII redaction, content policy filtering, JSON repair, hallucination guardrails, and cost circuit breakers. Working code.
·14 min read
6 drop-in TypeScript patterns for AI agent tool authorization: allowlist, scoped API tokens, RBAC, per-user rate limiter, structured audit log, and human-in-the-loop gate. Tested with Express and Next.js. Paste into any agent framework.