A coding agent sees a lot more than the line you're editing. It reads files across the repo, config, environment variables, terminal output. All of that goes to whatever model endpoint the agent is pointed at, and on a normal API it is readable there by the provider's systems, by whoever operates the GPUs, and by anyone who gets into either.
For a lot of teams that's fine. For teams under NDA, in regulated industries, or simply sitting on code that is the business, it's the reason the agent never got switched on.
Here is how we run coding agents against open models where the endpoint can't read the traffic, and where you check that before the first request goes out.
The pieces
- Confidential Router: an OpenAI-compatible API to open models, served from GPUs in confidential mode. Prompts, files and completions are decrypted only inside the hardware-sealed environment. Neither the GPU operator nor we can read them.
- Gatekeeper: a small verifier that runs on your machine. It checks the router's evidence (certificate chain, signature freshness, TLS binding) and only then forwards your tool's requests. It re-verifies every five minutes and fails closed: if the evidence changes, traffic stops.
Your editor talks to Gatekeeper on localhost. Gatekeeper talks to the sealed endpoint.
Setup in three steps
1. Get a key. Request access, then create a key in the console. Keys start with sk-tee-v1-.
2. Install Gatekeeper and verify.
gatekeeper verify router
You'll see the deployment you're about to talk to; approve it.
3. Point your tool at it. Base URL http://127.0.0.1:8787/v1, your key, a model ID.
VS Code
Open the chat model picker, click the gear, then Add Models → Custom Endpoint, and paste the JSON from the console into chatLanguageModels.json. The lines that matter:
"vendor": "customendpoint",
"url": "http://127.0.0.1:8787/v1/chat/completions",
"toolCalling": true,
"apiKey": "${input:routerKey}"
OpenCode
opencode run "Find the bug" -m confidential-router/<id>
Anything else OpenAI-compatible
Same base URL, same key. Tools that insist on https can call https://api.router.superprotocol.com/v1 directly. That works, but it skips Gatekeeper's check, so you're back to trusting the endpoint rather than verifying it.
What this doesn't cover
The sealed environment protects the traffic and the inference. It does nothing about what your own machine logs, what the agent writes to disk, or prompt injection in files the agent reads. Agent traces with live credentials in them are still a problem you have to solve on your side; we wrote about how that played out in the Cursor incident.
Links
- Setup guide for IDEs and agents: docs.router.superprotocol.com/api/ides-and-agents
- Install Gatekeeper: docs.router.superprotocol.com/gatekeeper/install
- Models and per-token prices (confidential mode included): superprotocol.com/developers/models
- Startups: $5,000 in confidential compute credits, no equity: superprotocol.com/developers/startups
Which agent setup would you want a guide for next: Cursor, Cline, Continue, something else?
Top comments (0)