A self-hosted enterprise AI gateway
Let AI know exactly as much as it needs
Prizma sits between your people, agents and models. Secrets are hidden before sending, valuable code stays in, risky agent actions wait for a human.
Inside the passage
Nine rays. One Prizma
Request inspection
A request under control. See what reaches the model
Original request: Why does the payment export fail? AWS_ACCESS_KEY_ID=AKIA4HKQ7XG2LMNBV3TQ DB_HOST=pg-billing.corp.internal:5432 Customer mira.orlova@example.com Phone +1 415 555 0134 Card 4276 1609 3348 2219
The model receives: Why does the payment export fail? AWS_ACCESS_KEY_ID=[AWS_KEY_1] DB_HOST=[INTERNAL_HOST_1] Customer [EMAIL_1] Phone [PHONE_1] Card [CREDIT_CARD_1]
5 fragments hidden. The meaning is kept.
Irina K. · Cursor · profile “Engineering”
Checks
- 0Prompt injectionclean
- 1Secrets and identifiersfound: 4
- 2Personal data in prosein product
- 3ML classifiersin product
- 4Company patternsfound: 1
- 5Topicengineering
- 6–7Answer checkspassed
This demo runs local rules. NER and ML models are not run here.
Example answer
ClaudeKey AKIA4HKQ7XG2LMNBV3TQ has no access to pg-billing.corp.internal:5432, so the export fails on authorisation. Reissue the key and let mira.orlova@example.com know at +1 415 555 0134 that the payment on card 4276 1609 3348 2219 is delayed.
The model answers with placeholders. Prizma restores real values for the employee only.
Audit log
- Record
54d34042ddae- Who
- irina.k · Cursor
- Where
- Claude · cloud
- Decision
- MASK
- Found
- AWS key, Internal host, Email, Phone, Card number
- SIEM
- example event
Values are stored partially; the record joins the signed chain.
Deployment
Prizma inside your perimeter
Apps, Prizma and on-prem models run in your infrastructure. Only allowed requests reach cloud models.
Your company perimeter
People and agents
Apps, IDEs, CLIs and MCP
…- Access
- Data
- Budget
- → cloud
Corporate services
- Corporate sign-inPeople and permissions
- Data and knowledgeYour stores and sources
- Audit and SIEMRetention by your rules
On-prem models
On your own compute
…External providers
Cloud models
- OpenAI
- Claude
- Gemini
- DeepSeek
- Qwen
- Mistral
- YandexGPT
- GigaChat
- and more
Only allowed requests
Compatibility
With the tools you already use
Agents and apps connect through an OpenAI- or Anthropic-compatible API. Models and providers are available as destinations. We verify your versions during the pilot.
What happens to a request
Control before and after the model
Access, limits and DLP are checked before sending. The answer gets its own checks. The decision is logged even when the request stops before the model.
- 1Model resolvepassed
- 2Model accesspassed
- 3Kill-switchpassed
- 4Rate limitpassed
- 5Budgetpassed
- 6Request DLPMASK [CREDIT_CARD_1]
- 7Cache lookupmiss
- 8Provider200
- 9Response DLPplaceholders restored
- 10Cache storepassed
- 11Audit4276 •••• 2219
- 12Metricspassed
Proprietary code
Valuable code is recognised under any name
Register the modules that hold your advantage. Prizma compares requests with their fingerprints and keeps matches away from cloud models, even when the code holds no secret at all.
- 1Code registeredThe fee module is marked as valuable. It holds no secrets.
- 2Names changedA developer pastes the same code under other names.
- 3Names do not matterPrizma compares structure: every name becomes the same label.
- 4Fingerprints matchFingerprints are built from the structure. Matches show up at once.
- 5DecisionNothing goes to the cloud. On-prem is allowed and logged.
billing/settlement.jsexport function settlementFee(volume, risk, tier) { const base = volume * RATES[tier]; const adjusted = base * (1 - risk ** 2); if (adjusted < MIN_FEE[tier]) return MIN_FEE[tier]; return Math.round(adjusted * 100) / 100; }
chat · Cursor// make this faster function calc(v, r, t) { const b = v * RATES[t]; const a = b * (1 - r ** 2); if (a < MIN_FEE[t]) return MIN_FEE[t]; return Math.round(a * 100) / 100; }
const b = v * RATES[t];const V = V * V [ V ] ;53fb· · ·2ef02ef07c3c7c3c494b494b237b237b4bb54bb5Showing 6 of 25.
24 of 25 fingerprints match.
Inspect fingerprints
Six-token windows. Names, numbers and strings are normalised.
Match exceeds the threshold. Protected code stays inside the company.
Agent actions
Approval covers one exact action
Every tool call gets a policy decision: allow, ask a human or deny. Approval is bound to the tool and its arguments, and is consumed once.
Action queue · release-bot
Every tool call goes through Central Action Policy: allow, ask a human or deny.
Merge MR !129 into main
gitlab.merge_request.mergeRule “Changes to main and release”: a merge needs a human decision. The agent asked; someone else decides.
3 files +48 −12
src/billing/export.ts+31 −8src/billing/settlement.js+12 −3tests/export.test.ts+5 −1
- Requested by agent release-bot
Emergency stop
Stop one agent, not the whole company
Seven levels, from a single user to the whole platform. Each is switched on its own, and every activation and resume is logged.
| From | To | Result |
|---|---|---|
| Anna · Claude Code | Claude cloud | 200 |
| Ivan · Cursor | GPT cloud | 200 |
| Anna · chat | Qwen on-prem | 200 |
| release-bot | Qwen on-prem | stoppedL4 |
| Red team | internal model | 200 |
Audit log
No record can be quietly rewritten
Records form a chain: each stores the fingerprint of the previous one. An edit shows up at once, down to the exact record.
- 0000000010:42:07 anna claude MASK CREDIT_CARD_13b81d446
- 3b81d44610:42:31 ivan gpt BLOCK PROMPT_INJECTION05169350
- 0516935010:43:02 release-bot merge_request.merge ASK approved:olga8fd31e30
- 8fd31e3010:43:15 release-bot merge_request.merge EXECUTED1020620e
- 1020620e10:44:40 admin kill-switch L4 release-bot7333a664
Chain intact. Each record references the previous one.
Simplified model. In the product the chain is HMAC-signed and events flow to your SIEM.
Pilot
Put together a pilot request
The pilot runs in your perimeter on your test data. We agree on success criteria before installing.
Add more detailoptional
Add what you already know. Fields appear in the email immediately.