CUSTOS
AI gateway with verifiable records

Control what your organisation sends to AI models, and keep a record of every request.

Custos sits between your applications and the AI models they use. It checks requests and responses against rules your organisation approves, stops sensitive information from leaving, and keeps a signed record of every request and decision that your auditors can check themselves.

Real output from the verifier on a sample bundle, shortened. A check the bundle can't support is shown as not checked, never as a pass.

The problem

AI use is hard to see and hard to control.

Staff and applications send documents, code, customer data and internal plans to AI models every day. Once it is sent, that information is outside your control. Most organisations can't say what was sent, by whom, which rules applied or what came back, and the logs they do have can be edited by anyone with access.

What Custos does

One gateway for every AI request.

Applications send their AI requests through Custos instead of straight to the model provider. Nothing else in the application changes.

01 · Data protection

Stops sensitive information before it leaves.

Each request is checked against your rules and blocked before it reaches a model if it contains:

  • passages from documents you register as confidential
  • project code names and names from your customer list
  • credentials, access keys and other secrets
  • card numbers, bank account numbers and national identity numbers
  • health identifiers such as NHS numbers and Medicare beneficiary IDs

Numbers are confirmed by their structure before they count: the Luhn checksum and issuer ranges for card numbers, check digits for bank account numbers (IBAN), and the format rules for identity numbers. That keeps false matches down.

02 · Response checks

Checks what comes back.

  • Responses are inspected as they stream, in a mode you choose per route: hold everything until checked, hold only what could still match, or release immediately and record any finding.
  • Tool calls a model makes are checked against the tools each caller is allowed to use.
  • Links that would carry data out, or point outside the sites you allow, are stopped.
  • The record says whether anything reached the user.
03 · Policy control

Rules your organisation approves.

  • Rules are written as short, readable conditions your risk and security teams can review.
  • A policy takes effect only when signed by the people you name, for example two of your risk and security leads.
  • Publishing a policy needs two approvers, and every published policy is logged, so one site can't be given different rules unnoticed.
04 · Safe rollout

New rules prove themselves before they block.

  • A new rule starts by only counting what it would have done, then warns, then enforces. Each step needs evidence from real traffic.
  • A candidate policy can be tested against recorded traffic before it goes live.
  • If an enforcing rule suddenly starts firing far more than it did when approved, Custos stops enforcing it and records why.
05 · Conversations

Catches what a single request misses.

  • Findings are added up across a conversation, so information sent a little at a time is noticed, and the rest of that conversation is inspected more strictly. Only counts are kept, never the text of the conversation.
  • If a request was answered before inspection finished, it is checked in full afterwards, and the rest of the conversation is held if a rule would have stopped it.
  • An optional model review samples traffic and proposes new rules. People decide; a proposal never enforces anything.
06 · Records

A signed record of every request.

  • Each request, the rules that applied, the decision and the response are recorded and signed as they happen.
  • Each record says which checks ran and which did not, and why.
  • Quiet periods, outages and lost records are recorded too, so gaps can be explained.
  • Retention periods and legal holds are built in, and a past decision can be replayed against the policy that was in force.
07 · Verification

Evidence your auditors can check themselves.

  • Records go into a log that shows any later change, with copies in write-once storage.
  • Independent witnesses and a public timestamp service confirm the log's state over time.
  • Auditors verify a bundle of records offline, with software whose source they can read, against keys your organisation gives them.
  • The record format is a published specification with test vectors.
08 · Deployment

Fits your infrastructure.

  • Works with OpenAI-compatible APIs, including streaming.
  • Runs in your own cloud account, data centre or an isolated network. Prompts go only to the model providers you choose; nothing is sent to Acciptra.
  • Kubernetes, Envoy or a plain Linux server. Every service can use TLS.
  • Policies can be distributed through your own container registry.
  • Requests don't depend on the control plane. If it is unreachable, traffic continues under the last approved policy, and the gateway records that it is doing so.
Getting started

Change one line in your application.

Custos accepts the OpenAI-compatible API, so existing code keeps working, including streaming and tool calls. Point the client at Custos instead of the provider. Every response carries the ID of its record.

client.py
from openai import OpenAI

client = OpenAI(
    base_url="https://custos.internal/v1",   # was the provider's address
    api_key=API_KEY,
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=messages,
    stream=True,
)

# Every response carries an x-custos-attestation-id header:
# the ID of the signed record for this request.
Measured overhead

What inspection and recording cost.

Latency Custos adds to a request, at the 99th percentile, measured end to end with warm connections. It grows with the size of the request, so it is stated per size.

Request sizeAdded latency (p99)
8 KB2.6 ms
32 KB10.2 ms
200 KB35.9 ms

Streamed responses: in the default mode, Custos holds back only what could still form a match, which adds about 60 ms to the first byte. For comparison, a large model usually takes hundreds of milliseconds or more to produce its first token.

Under your control

Your rules, your keys, your network.

Custos runs under your control, and the records it keeps can't be changed afterwards without it showing, whoever has access to the system.

Your people approve the rules.

Rules take effect only when signed by named people in your organisation. Acciptra can't change what your gateway enforces.

Every site gets the same rules.

Every policy publication is logged, and the gateway refuses rules it can't find in that log.

Your data stays with you.

Custos runs in your cloud account or data centre. Prompts go to the model provider you choose and nowhere else.

Who it's for

For organisations that use AI with sensitive information.

Technology and manufacturing

Keep designs, code and product plans you register as confidential out of AI tools.

Financial services

Keep customer and account data out of models, with records for AI-assisted decisions.

Healthcare

Keep identifiers such as NHS numbers and Medicare beneficiary IDs out of models, and show which data went where.

Government and defense

Self-hosted and able to run in an isolated network, with records verifiable offline.

Insurance

Records for AI used in underwriting and claims.

Legal

Protect client confidentiality, with legal hold built in.

IntegrationDrop-in for OpenAI-compatible APIs, including streaming
LatencyAbout 60 ms added to first byte in the default mode
VerificationPublished specification; verifier source for customers and auditors on request
DeploymentRuns on AWS, Kubernetes or a plain Linux server, with Azure in preview*

* On Azure, write-once evidence storage currently needs an S3-compatible store with Object Lock, and Azure OpenAI hasn't yet been tested as a model provider.

Early access

Custos is available to a small number of early customers.

If your organisation wants to use AI with sensitive information and keep control of it, we'd like to talk. Early customers get direct support from our engineers and a say in what we build next.