Svitch · 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.

svitch — shield
TRUSTED BY TEAMS AT
RazorbankMeridianKoshNorthwindTessellateAnvayaSettlRazorbankMeridianKoshNorthwindTessellateAnvayaSettl
HOW IT WORKS

One line of code. Five layers of protection.

[01]
Wrap

Wrap any client — svitch.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.

SVITCH 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 Svitch 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 svitch 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 SVITCH
SVITCH 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
queryscore 0.18
haiku · cheapvsopus
cost this call −81%
SVITCH ROUTER● LIVE

The right model for every query

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

SVITCH 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
SVITCH 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.

SVITCH 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
15+
PII entity types covered
3
Compliance modes India · EU · US
0 bytes
Personal data sent to any LLM API
Svitch makes your AI stack audit-ready before regulators come knocking.