Use Cases

Governance for every AI deployment

From regulated fintech to internal ops — governance-sdk adapts to your risk profile with the same in-process, zero-dependency enforcement engine.

Fintech
Payment Agent Governance
Regulated
Challenge

AI payment agents can authorize wire transfers, bulk exports, and credential reads — any of which can cause irreversible financial damage.

Solution

Block high-risk tools by default. Require L3+ score for any payment action. Gate wire transfers behind human approval. Enforce time windows.

blockTools(['wire_transfer', 'bulk_export'])requireLevel(3)requireApproval(['payment'])timeWindow(9, 17)
ts
Healthcare
Clinical Data Agent
HIPAA
Challenge

Agents accessing patient records must comply with HIPAA, log every decision, and never exfiltrate PHI — even in error cases.

Solution

Append-only HMAC audit trail. Token budget controls to prevent bulk record reads. Injection detection on all user inputs. EU AI Act alignment.

tokenBudget(10000)detectInjection()requireAuditLogging()blockTools(['bulk_export', 'fs_write'])
ts
DevOps Automation
Infrastructure Agent
Critical Infra
Challenge

DevOps agents run shell commands, write config files, and manage cloud resources. A single policy mistake can take down production.

Solution

Block destructive shell patterns. Require verified-identity for infra changes. Sequence checks: plan before apply. Kill switch for runaway agents.

blockTools(['shell_exec', 'db_drop'])requireSequence('tf_apply', ['tf_plan'])requireLevel(4)killSwitch(priority=999)
ts
Customer Support
Support Bot Fleet
High Volume
Challenge

Support agents handle thousands of tickets per hour. Prompt injection attacks, off-script responses, and data leaks are constant risks.

Solution

64+-pattern injection detection. Rate limits per agent. Block CRM writes from injected payloads. Score agents and auto-demote bad actors.

detectInjection()rateLimit(100, 3600000)blockTools(['crm_delete', 'bulk_export'])requireLevel(2)
ts
SaaS Platform
Multi-Tenant AI Features
Enterprise
Challenge

SaaS platforms ship AI features to hundreds of customers. Each tenant needs isolated policies, separate audit logs, and custom governance rules.

Solution

Enterprise multi-tenancy with namespace isolation. Per-tenant policy overrides. Org-level analytics. RBAC so tenant admins can't escape their sandbox.

namespace(tenantId)rbac(['admin', 'operator', 'viewer'])policyTemplates.saasfleetReport()
ts
Internal Ops
Internal Agent Fleet
EU AI Act
Challenge

Internal agents have access to everything: Slack, calendars, databases, email. Without governance, one compromised agent can exfiltrate the whole org.

Solution

EU AI Act Article 9 risk management. Time-window enforcement for business hours. Approval gates on external sends. Full audit trail exportable for legal.

assessCompliance()timeWindow(9, 18)requireApproval(['message_send'])auditExport()
ts

Ready to govern your agents?

One SDK. Every use case. Zero runtime dependencies.

npm install governance-sdkRead the docs →