Governor · the AI control layer

Your AI stack.
Your data.
Always.

Switch between LLMs without losing context. Block every data leak. Cut costs 80%. Prove compliance on demand.

governor — shield
▍
TRUSTED BY TEAMS AT
RazorbankMeridianKoshNorthwindTessellateAnvayaSettlRazorbankMeridianKoshNorthwindTessellateAnvayaSettl
HOW IT WORKS

One line of code. Five layers of protection.

[01]
Wrap

Wrap any client — governor.wrap(openai.client). Context and tools carry across every model.

[02]
Shield

PII is detected and redacted before the prompt ever leaves your codebase. Aadhaar, PAN, UPI, GDPR entities, and more — on by default.

[03]
Route

Each query is complexity-scored. Routine work is auto-routed to a cheaper model — up to 80% off.

GOVERNOR SHIELD · LIVE DEMO

Paste any text. Watch PII disappear.

Runs entirely in your browser — the same engine runs server-side, before any model sees a single token.

INPUT
THE SDK

One import.
Three superpowers.

Drop Governor in front of the SDK you already use. No prompt rewrites, no proxy config, no new mental model.

OpenAI · Anthropic · Gemini · Llama
LangChain · LangGraph · CrewAI

from governor import redact
result = redact(
"Aadhaar 2345 6789 0123 · IBAN GB29NWBK60161331926819 · SSN 123-45-6789"
)
# result.text → '[AADHAAR] · [IBAN] · [SSN_US]'
# result.count → 3
# Zero network — runs locally, no data sent anywhere
WHAT'S INSIDE GOVERNOR
GOVERNOR SHIELD● LIVE

PII redaction before the prompt

Detects Aadhaar, PAN, UPI, IFSC, IBAN, SSN, and 15+ more entity types — and strips them out before data reaches any model. Reversible, deterministic, logged.

prompt — redacted
verify ████ ████ 0123
pan █████1234█ · upi ███@okhdfc
✓ 3 redacted · 0 bytes to model
query router
query→score 0.18
→haiku · cheapvsopus
cost this call −81%
GOVERNOR ROUTER● LIVE

The right model for every query

Routine queries score low and route to cheap models; hard ones escalate. You set the ceiling, Governor spends under it — cutting model cost up to 80%.

GOVERNOR TRACER● LIVE

A tamper-proof record of every decision

Every prompt, redaction, route and response is hashed into an append-only chain. Break a link and the whole trail flags. Export for any auditor.

audit chain
a91f…3c0d…7be2…−f04a…
prev_hash verified · chain intact
network topology · zero egress
your VPCWireGuardenclave
model weights resident · no outbound route
GOVERNOR ENCLAVE○ COMING SOON

Inference that never leaves your perimeter

An encrypted on-premise enclave runs open models inside your own network over a WireGuard tunnel. Zero egress — sensitive data stays put.

GOVERNOR LEDGER○ COMING SOON

Consent, recorded on a shared ledger

A Hyperledger consent chain records who agreed to what, when. Prove lawful basis for every data subject — ready for DPDP grievance officers.

consent ledger
subject_8821granted
subject_8822granted
subject_8823withdrawn
COMPLIANCE COVERAGE

Every regime.
One SDK.

Machine-readable compliance specs — open-sourced and submitted to IndiaAI Mission, EDPB, and HHS OCR.

DPDPIndia
Digital Personal Data Protection Act 2023. Full enforcement May 2027.
MAX PENALTY
₹250 Cr
ENTITIES DETECTED
AADHAARPANUPIIFSCMOBILEGSTBANK_ACCT
19 controls ·dpdp-ai-v1.json ↗
GDPREU / EEA
General Data Protection Regulation. In force May 2018. EU AI Act adds obligations Aug 2026.
MAX PENALTY
€20M · 4%
ENTITIES DETECTED
IBANUK_NINEU_PASSPORTCREDIT_CARDEMAILIPV4
15 controls ·gdpr-ai-v1.json ↗
HIPAAUnited States
Health Insurance Portability and Accountability Act. 2024 HHS OCR guidance covers LLM pipelines.
MAX PENALTY / YEAR
$1.5M
ENTITIES DETECTED
SSN_USMRNNPIUS_PHONEEMAILIPV4
12 controls ·hipaa-ai-v1.json ↗
15+
PII entity types covered
3
Compliance modes India · EU · US
0 bytes
Personal data sent to any LLM API
Governor makes your AI stack audit-ready before regulators come knocking.