Policy engine
Guardrails as code
Policies compile to the runtime gateway and evaluate inline on every prompt, tool call and completion. Turning a policy off is itself a logged, attributable governance event.
Policies published
23
5 knowledge base policies
Currently enforcing
21
2 disabled
Evaluations / 30d
2.61M
mean added latency 54 ms p99
Policy triggers / 30d
31,110
blocks, masks and escalations
POL-001 · All egress
No customer PII outside India
When
- payload matches PAN / Aadhaar / account recognisers
- destination region ≠ ap-south-1
Then
- block request
- raise critical finding
- notify DPO
POL-002 · Servicing agents
No account closure without approval
When
- tool = accounts.close
- actor is agent
Then
- park for human approval
- log to ledger
POL-003 · Credit agents
No loan rejection without explanation
When
- decision = decline
- reason codes missing
Then
- block response
- return adverse-action template
POL-004 · All models
No customer data sent to public LLM
When
- endpoint not in sanctioned registry
Then
- block
- revoke session token
POL-005 · Payments & treasury
High-value transaction requires human approval
When
- amount > ₹10,00,000
- initiated by agent
Then
- escalate to approver
- SLA 30 min
POL-006 · All prompts & logs
PII masking required
When
- recogniser hit on stored payload
Then
- mask in transit
- mask in ledger
POL-007 · All channels
Sensitive prompts blocked
When
- prompt classified restricted-topic
Then
- block
- coach user
POL-008 · Retrieval + tools
Prompt injection protection
When
- injection classifier score > 0.72
Then
- strip untrusted segment
- block on repeat
POL-009 · Customer-facing
Toxicity detection
When
- toxicity > 0.4 on output
Then
- rewrite
- warn agent
POL-010 · All channels
Jailbreak detection
When
- known jailbreak signature
- role-play override attempt
Then
- block
- open security case
POL-011 · AML agents
Narrative grounding required
When
- citation coverage < 80%
Then
- warn
- attach source list
POL-012 · Wealth copilots
Suitability disclosure on advice
When
- output contains product recommendation
Then
- append disclosure
- log consent
POL-013 · Screening agents
Sanctions match cannot auto-clear
When
- match probability > 0.75
Then
- park for sanctions desk
- freeze payment
POL-014 · All model calls
Restricted payloads stay in-region
When
- data class = Restricted
- endpoint region ≠ India
Then
- reroute to in-VPC model
- log deviation
POL-015 · Vendor endpoints
Model version pinning required
When
- provider version differs from approved pin
Then
- hold traffic
- notify model owner
POL-016 · Marketing & advisory
Consent withdrawal must suppress outreach
When
- customer consent = withdrawn
- output contains recommendation
Then
- suppress output
- record suppression
POL-017 · All agents
Max agent turns per session
When
- turns in session > 12
Then
- terminate loop
- raise cost anomaly
POL-018 · Audit ledger
Evidence hash anchoring on every decision
When
- decision record written
Then
- append hash chain
- RFC-3161 timestamp
KBP-001 · Knowledge base · retail-credit
Retail credit knowledge base must cite approved policy manual
When
- retrieval collection = kb/retail-credit
- citation coverage < 90%
Then
- block response
- return the approved manual excerpt
- notify knowledge owner
KBP-002 · Knowledge base · all collections
No customer documents in the general knowledge base
When
- ingested document contains PAN / Aadhaar / account number
- collection ≠ kb/case-files
Then
- quarantine document
- raise critical finding
- notify DPO
KBP-003 · Knowledge base · regulatory
Stale regulatory circulars cannot ground answers
When
- source document age > 180 days
- document type = circular
Then
- exclude from retrieval
- flag for knowledge refresh
- warn requester
KBP-004 · Knowledge base · wealth
Wealth knowledge base restricted to licensed advisers
When
- collection = kb/wealth-products
- requester lacks adviser entitlement
Then
- deny retrieval
- log entitlement gap
KBP-005 · Knowledge base · ingestion
Knowledge base ingestion requires owner approval
When
- new source registered
- approval record absent
Then
- park ingestion for approval
- write ledger entry