Govern AI coding agents without handing out provider keys
Point every coding tool and agent at one OpenAI-compatible gateway. Each gets its own gateway key with a budget, rate limits and model access, and every request lands in the audit log. Provider keys stay in your secrets manager.
# Before: a provider key on every laptop
OPENAI_API_KEY=<provider key>
# After: one gateway, one key per team
OPENAI_BASE_URL=https://ai-gateway.example.internal/v1
OPENAI_API_KEY=<gateway key for team-platform>
Provider keys on laptops and in agent kits.
Coding agents need model access, so provider keys end up in shell profiles, tool settings and agent configs. Anyone or anything that can read that config can copy the key. Docker Sandboxes CVE-2026-136998, fixed on 30 Nov 2026, showed a subtler path: an approved agent kit could be updated to send the real key to a different server, with no new prompt. See agent credential approvals.
Gateway keys that are capped, scoped and logged.
Developers and agents hold gateway keys. If one leaks, it carries its own budget and rate limits, reaches only its team's models, and every call it makes is in the audit log. The provider key it would have exposed never left your secrets manager.
Point coding tools at an OpenAI-compatible gateway endpoint.
The ManyLayers Gateway exposes an OpenAI-compatible base URL. A coding tool or agent that lets you set a custom base URL and key can use it without code changes, and the gateway routes each request to the provider and model behind the alias.
The pattern is becoming standard. AWS's Amazon Bedrock Gateway, in gated preview since 1 Dec 2026, also asks teams to point "applications and coding tools" at a gateway. The difference is where the gateway runs; see Bedrock Gateway vs a self-hosted gateway.
What each coding tool gets instead of a provider key.
Provider keys stay central
Provider credentials live in your secrets manager and are used only by the gateway. Developers and agents never hold them.
Per-key budgets
Monthly spend budgets per key and per team. Hard limits stop requests when the budget runs out; soft limits alert before it does.
TPM and RPM limits
Token-per-minute and request-per-minute limits per key or team, so one runaway agent loop can't use up a team's capacity.
Model aliases per team
Map aliases to specific provider-model pairs and assign them to teams, so each key reaches only the models its team was given.
SSO and RBAC
SAML 2.0 and OIDC single sign-on, SCIM provisioning, and admin, team lead and user roles for who can manage providers, view the audit log and set budgets.
Audit log
Every request logged with provider, model, latency, token counts and cost against the team that sent it. Append-only, exportable to your SIEM.
See platform security for SSO, RBAC and audit log details.
Five steps from provider keys to gateway keys.
Frequently asked questions.
Why not give developers provider API keys directly?
A provider key on a laptop or in an agent config can be copied or redirected, as CVE-2026-136998 showed. A gateway key can be budgeted, rate-limited and limited to the models its team needs, without exposing the provider key.
Do developers need to change their tools?
For tools that let you set an OpenAI-compatible base URL, usually only the endpoint and key settings change, because the ManyLayers Gateway exposes an OpenAI-compatible API.
Which coding tools work with the gateway?
Any tool or agent that can send requests to a custom OpenAI-compatible endpoint. Talk to us about the specific tools your teams use.