Their sandbox. Your data.
Claude Managed Agents and the OpenAI Agents API run your agent in a sandbox they host. Its calls still reach your APIs. Make hoop the one host that sandbox can reach, and each request gets checked: it runs, gets masked, waits for approval, or gets blocked.
vendor’s cloud sandbox → hoop, in your network → your API
Masked
support-agent
GET /customers/4821Email and phone masked in the response.
Blocked
support-agent
PATCH /customers/4821A read-only rule refused the write.
Held
billing-agent
POST /refunds {"amount": 900}The agent got an approval id and moved on.
Ran
billing-agent
GET /invoices?status=open7 invoices. On the record.
Their sandbox, your rules. Every request on the record.
You can’t see inside their sandbox.
At 09:40 a support agent on Claude Managed Agents works a ticket. It calls GET /customers/4821 on your API, and every control on the way says yes.
- Network (The vendor’s allowed hosts): Can the sandbox reach this host? Pass.
- Secrets (The vendor’s vault): Is the token kept out of the sandbox? Pass.
- API auth (Your API’s token check): Is the token valid? Pass.
- Gateway (Your API gateway): Is it under the rate limit? Pass.
- API (Your system of record): Returns the whole record. Returned.
- Without hoop: every control says yes, and the sandbox gets the whole record back, email and phone included.
- With hoop: the sandbox’s allowed_hosts lists only hoop’s host, at the edge of your network. The request goes through hoop to your API, and the answer comes back through hoop with the email as [REDACTED:EMAIL_ADDRESS] and the phone as [REDACTED:PHONE_NUMBER].
Your API sees a valid request. It can’t tell an agent sent it, or where the answer goes next. hoop decides what goes back into the sandbox.
Now send it through hoop.
The same support agent works the same ticket, with hoop as the one host its sandbox can reach. Pick a job and see what comes back.
cloud sandbox → hoop sidecar → your API
> Summarize ticket #4821
* GET /customers/4821
{"id": 4821, "plan": "pro", "email": "[REDACTED:EMAIL_ADDRESS]",
"phone": "[REDACTED:PHONE_NUMBER]", "status": "past_due"}
Email and phone masked. The agent still has the plan.
Masked on the way back.
The API returns the whole customer record. hoop rewrites the email and phone number before the response leaves your network for the vendor’s sandbox.
Agent platforms change. Your APIs don’t.
Hosted agent platforms ship something new every quarter. HTTP has been around since 1991. hoop enforces on the requests your API already speaks, so your rules outlast the next platform you try.
Specs
listeners:
- name: customer-api
protocol: http
listen: 0.0.0.0:8443
upstream: https://customers.internal
downstream_tls:
cert_file: /etc/tls/tls.crt
key_file: /etc/tls/tls.key
caller_token:
file: /etc/hoop-inspect/caller-tokens
name: support-agent
guardrails:
rules:
- name: read-only
type: operation
operations: [post, put, patch, delete,
connect, trace, other]
message: this agent reads only
mask:
rules:
- name: emails-and-phones
entities: [EMAIL_ADDRESS, PHONE_NUMBER]
strategy: redactTrusted by engineering and security teams.
Start with one API.
Run it with no rules for a week. hoop lets every request through and records each one. Then write the rules the record shows you need.
The open-source sidecar is free and runs standalone, with one rule of each kind. Enterprise adds the Control Plane, unlimited rules, the full AI Analyzer and approvals.
$ brew tap hoophq/brew https://github.com/hoophq/brew.git
$ brew install hoop
$ hoop start sidecar --config config.yaml
sidecar running
$ curl -H "X-Hoop-Token: $HOOP_CALLER_TOKEN" https://hoop.yourcompany.com:8443/customers/4821
{"plan": "pro", "email": "[REDACTED:EMAIL_ADDRESS]",
"phone": "[REDACTED:PHONE_NUMBER]"}
masked by hoop