Govern AI coding agents in five layers: identity (SSO and SCIM), a model allow-list kept as code, budget caps per user and group, sandboxed execution with network rules, and review gates plus audit logs. As of November 2026, Copilot, Claude Code, Cursor, Codex and Devin all expose most of these controls. Most still ship with the strictest settings turned off.
Updated 13 November 2026. A year ago, "AI coding governance" mostly meant picking a vendor with a SOC 2 report. Now a typical engineering org runs two or three agents. Each has its own model list, which changes monthly, its own usage-based bill and its own way of opening pull requests. This guide maps the controls that exist today, from each vendor's docs and changelogs, onto a policy you can enforce. For tool selection, see our Cursor vs Claude Code vs Codex vs Devin comparison. For general AI agent governance, see AI agent governance.
It means answering five questions with settings, not slide decks. Who can use which agent? Which models may it call? How much may it spend? What can it touch while it runs? Who approves what it produces? Then you keep evidence of all five. The rest of this post takes the layers one at a time.
| Control | GitHub Copilot | Claude Code | Cursor | OpenAI Codex | Devin |
|---|---|---|---|---|---|
| Model allow-list | Model-policy REST API, 4 levels (GA 19 Oct 2026) | Allow-lists per IdP group via Claude apps gateway; managed settings | Model, repo and MCP access controls (Enterprise) | Admins enable models; GPT-6.1 Sol off by default for Enterprise | Enterprise can restrict available models |
| Budgets | Paid-usage budget, alerts at 75/90/100%; admin limits | Org, group and user limits; pooled group budgets; cost-report API | Granular and group-level spend limits | Workspace credits | Budget hierarchy (30 Oct 2026); daily consumption API |
| Identity | Org SSO requirements apply to agent sessions | SSO (Team); SCIM (Enterprise); gateway SSO | SAML/OIDC SSO (Teams); SCIM (Enterprise) | SAML SSO (Business); SCIM, domain verification (Enterprise) | Self-serve SAML/OIDC; SCIM; RBAC |
| Audit | Session logs and audit log events | Audit logs (Enterprise); gateway audit events; OTLP telemetry | Audit logs, service accounts | Compliance API | Session consumption API; RBAC |
| Data | Per-model retention (e.g. Fable 5.2 retains) | Gateway keeps telemetry in your infra; zero retention options | Privacy mode; custom chat retention | Retention and residency controls; EKM | Single-tenant VPC; customer-managed keys |
Sources are linked in each section below. "Enterprise" means the vendor's top plan. Several controls are missing from lower plans.

Keep one reviewed allow-list in version control and push it to every tool through its admin API or managed settings. Since 19 October 2026, GitHub supports this directly. Its Copilot model-policy endpoints (GET and PATCH) are GA for enterprises, enterprise teams, agent apps and organizations.
Why this needs to be code, not a one-time setting:
In Claude Code, the self-hosted Claude apps gateway maps IdP groups to model allow-lists and rejects requests for models a group was not granted, on the server side. Codex lets Enterprise admins enable models one by one. GPT-6.1 Sol stays off until an admin turns it on. Devin and Cursor Enterprise both offer model restrictions in admin settings. For how to move between models safely once the list changes, see our LLM model migration guide.
Set three limits on every platform: per user, per group or team, and per organization. Then pull daily usage into your own dashboard. Every major vendor now supports at least two of the three, and most added them in the last few months.
Why per-user caps matter: agent usage is highly skewed. A few developers running long autonomous sessions can outspend the rest of the team. Our analysis of the cost to run an AI product explains the pattern.

Require SSO for every agent, SCIM for automatic deprovisioning, and no long-lived personal tokens without approval. All five vendors offer SAML or OIDC SSO on business plans. SCIM is usually Enterprise-only, so price that in.
Two recent changes are worth adopting. Devin now lets admins verify their domain with a DNS record and manage OIDC or SAML connections themselves. Enterprises with no token policy now default to "approval-required" for personal access tokens, and admins can sign a user out of every Devin surface at once. On the Claude apps gateway, deprovisioned users lose access within the session lifetime, one hour by default. Check that the same holds for every tool you run. An ex-employee's agent session is the gap auditors find first.
Enough to reconstruct who asked an agent to do what, with which model, and what it changed, but only if you export them. The logs live in different places for each vendor. Plan to pull them into your SIEM rather than reading them in each admin console.
Log the prompt source too. A task triggered from an issue, a Slack message or a schedule is an input path an attacker can use.
Decide per model, not per vendor, because retention now differs between models from the same vendor. Anthropic's Fable 5.2 has 30-day retention for safety monitoring unless an eligible enterprise adds Enterprise Frontier Safeguards. Most other Claude models in Copilot stay under zero retention.
Check four things for each tool: whether prompts and code are retained and for how long; whether they are used for training; where they are processed (data residency); and who holds the keys. Cursor offers Privacy Mode, which keeps code data out of training, plus custom chat retention on Teams. Codex Enterprise has retention and residency controls plus EKM. Devin offers a customer-dedicated single-tenant VPC, with customer-managed keys under Enterprise Assured. If you handle health or payment data, read our guide to LLM providers that sign BAAs before any of this.
Use the controls you already trust for humans, and close the gaps agents create. Protect branches, require CODEOWNERS, block self-approval by whoever asked the agent, hold CI workflows until a human approves, and deny tool calls rather than prompting in unattended runs.
copilot/ branch. It prevents the requester from approving the PR, and by default does not trigger Actions workflows until someone with write access approves them.permissions.denyInsteadOfPrompting on 6 November, so unattended runs fail closed. blockWritesOutsideWorkingDirectories (30 October) keeps edits inside the repo.Days 1–30: inventory and identity. Days 31–60: policy as code and budgets. Days 61–90: execution controls, review gates and audit export. Start with whichever agents already run in production. Shadow usage is the real risk, not the pilot.
The monthly vendor changes we track in the November 2026 AI coding agent update are your trigger for step 3.
BeevR is a senior, founder-led software and AI studio in Hanoi. We build AI agents for regulated industries, including healthcare, where we sign a BAA as a business associate and can run models inside the client's own AWS account. Our open-source Kite framework treats the model as an untrusted component behind deterministic checks. For engineering organisations rolling out coding agents, we can deliver the 90-day plan above as fixed-scope phases, priced from $10K per phase. That covers allow-lists as code, budget and usage export, sandbox and review gates, and audit pipelines. You get a working demo every Friday and own everything we build from day one.
See how we approach AI agent development, or book a 30-minute call to map your current agent setup.