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.

Scroll to look insideSee how Prizma separates a request

Inside the passage

Nine rays. One Prizma

Request inspection

A request under control. See what reaches the model

An employee writes
The model receives
Replace sensitive data with

Explicit placeholders: [EMAIL_1], [PHONE_1] and others.

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]

MASK

5 fragments hidden. The meaning is kept.

Irina K. · Cursor · profile “Engineering”

Checks

  1. 0Prompt injectionclean
  2. 1Secrets and identifiersfound: 4
  3. 2Personal data in prosein product
  4. 3ML classifiersin product
  5. 4Company patternsfound: 1
  6. 5Topicengineering
  7. 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

…
  1. Access
  2. Data
  3. Budget
  4. → 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

DataSecrets, personal data and proprietary code are inspected before reaching a model.
On-prem models inside, cloud models connected through Prizma.

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.

  1. 1Model resolve
    passed
  2. 2Model access
    passed
  3. 3Kill-switch
    passed
  4. 4Rate limit
    passed
  5. 5Budget
    passed
  6. 6Request DLP
    MASK [CREDIT_CARD_1]
  7. 7Cache lookup
    miss
  8. 8Provider
    200
  9. 9Response DLP
    placeholders restored
  10. 10Cache store
    passed
  11. 11Audit
    4276 •••• 2219
  12. 12Metrics
    passed

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.

  1. 1Code registeredThe fee module is marked as valuable. It holds no secrets.
  2. 2Names changedA developer pastes the same code under other names.
  3. 3Names do not matterPrizma compares structure: every name becomes the same label.
  4. 4Fingerprints matchFingerprints are built from the structure. Matches show up at once.
  5. 5DecisionNothing goes to the cloud. On-prem is allowed and logged.
Decision. Nothing goes to the cloud. On-prem is allowed and logged.
Registered codebilling/settlement.js
export 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;
}
Developer's requestchat · 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;
}
01 / Normalise structure
const b = v * RATES[t];const V = V * V [ V ] ;
02 / Compare fingerprintsregistered / request

Showing 6 of 25.

96%match
Protection threshold 45%

24 of 25 fingerprints match.

Inspect fingerprints
53fb2ef07c3c494b237b4bb53b3435eb13bb45036bfe70c4667d192d7d8d95067dd16c5b170350d452f9ebf316ff1bcf9711

Six-token windows. Names, numbers and strings are normalised.

03 / Choose the routePrizmaCloudOn-prem
Sending stopped

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.

release-bot · run r-2291Risk: medium

Merge MR !129 into main

gitlab.merge_request.merge

Rule “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 −8
  • src/billing/settlement.js+12 −3
  • tests/export.test.ts+5 −1
Waiting for a humanThe decision will be bound to this tool and arguments
  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.

Result for each flow
FromToResult
Anna · Claude CodeClaude cloud200
Ivan · CursorGPT cloud200
Anna · chatQwen on-prem200
release-botQwen on-premstoppedL4
Red teaminternal model200

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.

  1. 0000000010:42:07 anna claude MASK CREDIT_CARD_13b81d446
  2. 3b81d44610:42:31 ivan gpt BLOCK PROMPT_INJECTION05169350
  3. 0516935010:43:02 release-bot merge_request.merge ASK approved:olga8fd31e30
  4. 8fd31e3010:43:15 release-bot merge_request.merge EXECUTED1020620e
  5. 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.

1What to test
2Where to deploy
3How many employees use AI
Add more detailoptional

Add what you already know. Fields appear in the email immediately.