Where the controls sit
One enterprise AI request, drawn end to end. The trust boundaries, and the point where each control can see it or stop it.
One request, end to end
A person types a prompt. Somewhere a model answers. Between those two moments there are only a few places where a control can look at the request, and fewer where it can change it. This page draws them.
These are public patterns. Nothing here describes how any one company has set its tools up.
The front door and the engine room
The front door is what the person types into. The engine room is where the model runs. They are often different companies. Which legs of the request you can see depends on which of the two you control.
When someone uses a public chat product directly, you only ever see their traffic to the front door. When your own app calls a hosted model, there is no chat window at all, only an API call you can put a gateway in front of.
Three questions decide which of the control points you get.
- Client side or server side. A client-side control runs on the person's device, in the browser or the app, and reads the text before it is encrypted. A server-side control runs where the request lands: a proxy, a gateway, or the application's own back end. It reads only what reaches it.
- First-party or third-party hosted. When the company that makes the model also runs it, one vendor holds the prompt. When the application is one company and the model is hosted by another, the prompt crosses a second boundary, and the second company's terms on retention and training apply as well.
- Local or cloud. A model that runs on a laptop or on your own servers never sends the prompt out, so a proxy on the way to the internet sees nothing. The control has to sit on the device or in the application. A cloud model has a network leg, which is where a proxy or a gateway can sit.
What each point can see, change and miss
| Control point | Sees | Can change it | Misses |
|---|---|---|---|
| Hook on the device | The text before it is encrypted, in the browser or the app. | Yes. It can warn, redact or block before anything is sent. | Any device without the software. You own the install on every machine. |
| Proxy in the traffic path | The request as it leaves, once the encrypted connection is opened for inspection. | Yes. Allow, redact or block, in one place for everyone. | Traffic that does not go through it, and apps that refuse an inspected connection. |
| Gateway or SDK call | Calls from apps you build to the model, with full context. | Yes. It can check, log, route and limit each call. | Everything people type into tools you did not build. |
| Review after the fact | Logs and vendor records, later. | No. It can find a problem. It cannot stop one. | Whatever was never logged. |
No single point covers everything. So the question is which gap you are choosing to live with, and whether anyone wrote that down.
Fail open or fail closed
Every control in the path can break. When it does, requests either pass unchecked or stop.
- Fail open keeps people working and removes the protection without telling anyone.
- Fail closed keeps the protection and stops the work.
Neither is correct in general. It is a business decision, and it should be made before the outage, by someone who owns the outcome.
Limitations
- This is a general pattern. Real deployments chain these points and each product behaves differently.
- It covers a person and an app calling a model. Agents that call tools on their own add more paths than this drawing shows.
- Seeing a request is not the same as understanding it. Classification has its own misses and false alarms.
No one is coming. Keep building.
Request my resume