BlogHudson Griffith
Govern AI coding agents: the controls and how to get each
A coding agent acts as whoever started it, with everything its machine can reach. Governing one mostly means controlling that machine: who starts it, which credentials and hosts it reaches, what it spends and what you can reconstruct.
On Prized, each agent gets its own Linux VM (a box) in an owner-controlled workspace with roles, scoped and capped API keys, brokered secrets, spend policies and an exportable audit log. There’s no SCIM or egress allowlist; SAML single sign-on and boxes in your own cloud account are on request. The table shows what to pair with each gap.
The controls at a glance
Prized covers itPrized covers part; pair itPair it with another tool
Identity and access
Sign in with Google or GitHub and a verified email, with no account password; idle browser sessions expire after about a week (Security: Identity and access). Once the owner claims your email domain, Auto-join adds anyone on it and Restrict membership blocks outside addresses, invite links included (Workspaces). SAML single sign-on to Okta, Entra ID or another identity provider is on request.
Owners and members reach every box. Contractors reach only boxes they create (always restricted from your credentials) and can’t read the audit log, members list or workspace secrets (Teams: Roles).
Removing a member immediately ends dashboard access, closes their tunnels and revokes their API keys, install links and phone passwords (Remove someone). Active SSH certificates expire within 15 minutes; stored secrets stay with the workspace, so rotate any they knew. Without SCIM, suspending someone in your identity provider won’t remove them from Prized, so include it in offboarding. The audit log records member.add, member.remove and member.role.
Credentials for each agent
Issue a key per agent, bot or script under Dashboard → Settings → API keys (API keys). Keys take full, read only or custom access (Boxes, Secrets and Workspace: none, read or write), expire after 7, 30 or 90 days, or a year, and show last use plus 30 days of requests. Limit a key to up to 50 boxes (others return 404; SSH certificates open only those); total and per-UTC-day spend caps pause its boxes and refuse new ones when hit.
Keys can’t make, rotate or revoke other keys. Agent sign-in keys start with no secrets access, a 90-day life and a $30 cap.
Connect an AWS IAM role once; each box gets a profile trading a one-hour token for temporary credentials (AWS access, early access). CloudTrail logs the box owner’s email as the session, and removing the role ends access on every box.
Secrets
Stored secrets are encrypted at rest, never read back and appear as placeholders in the box environment. The box’s broker swaps in the real value only on HTTPS requests to up to 32 allowlisted hosts (Secrets for agents). Grant secrets to named boxes or members; a revoked box loses access within 15 seconds (Scoped secrets). Per secret and host, Prized counts how often and when each was used, never paths, headers, bodies or values (Usage).
Restricted boxes (for agents you don’t fully trust and mandatory for contractors) receive no secrets, AWS profile, device keys or phone access (Safe for third parties). The broker keeps values out of env files, shell history and logs, but code on the box can still use a mounted secret; mount only what’s needed and prefer revocable keys.
Network egress
Boxes accept no inbound internet traffic except their encrypted tunnel, and SSH works only inside it. Outbound traffic is unfiltered: no domain allowlist, default-deny mode or DNS filter (Machines: Networking).
To route traffic through your own controls, run a full-tunnel VPN on the box: a Tailscale exit node, or WireGuard or OpenVPN to your egress proxy (Boxes). Because the box account has sudo, an agent can undo it; for rules enforced outside the VM, see below.
Isolation
Each box is a VM with its own kernel, encrypted disk and no cloud credentials beyond an AWS role you connect or an infinite storage box’s own file access (Security: On the box). Agents on one box share worktrees, files and mounts, so split trust boundaries across boxes (one per repository or contractor) and restrict untrusted ones.
For one short-lived task per agent, a sandbox runs commands without sudo in a Firecracker microVM; it also has no egress allowlist.
Audit log and reconstructing an incident
Dashboard → Settings → Audit log shows who acted, with which key, on which box and when; owners and members can filter it and download CSV (Teams: Audit log).
prized team log --since 7d --kind exec,prompt --member ana@acme.comPrized observes box lifecycle and settings, keys, secrets and grants, environments, members and roles, policies, shared links and every SSH certificate issued. The CLI and box report prized exec commands, file copies, prompts and desktop starts as claims, not observations; what an agent types in its terminal isn’t recorded. Retention defaults to 90 days (owner sets 7 to 365). For longer storage, the owner can configure hourly scheduled export to an HTTPS endpoint, sending every row signed with HMAC-SHA256 under your secret.
To capture agent actions, export OpenTelemetry events via Claude Code’s OTEL_ variables in an environment for every box made from it. Members see environment variables, so use a rotatable ingestion token.
Data handling and residency
Prized sees box metadata, vitals, listening ports and top processes with shortened command lines. Beyond the audit log and command history (where your workspace has it), it never sees agent sign-ins, file contents, terminal output or prompt bodies (Security).
Boxes run in us-west-2, us-west-1, us-east-1, us-east-2 and eu-central-1 (Frankfurt), keeping disks and snapshots in-region while account data and the control plane stay in us-west-2. Deletion erases disks with a 7-day undo copy; custom-plan zero data retention drops undo copies, keeps metrics 24 hours and strips command, file and prompt audit detail. See Data retention for all windows and Security and trust for sub-processors.
Models, approvals and kill switches
Prized doesn’t choose, proxy or limit models; Claude Code, Codex and others run with your plan or API key. Pin models, deny commands or turn off permission bypass in managed settings (on Linux, Claude Code reads /etc/claude-code/managed-settings.json, written with sudo by an environment setup script). The agent also has sudo, so treat this as a default, not a lock.
Approvals belong to the agent (permission modes) and git host (branch protection and required reviews); Prized handles stopping work:
Spend limits
Under Dashboard → Settings → Policies, the owner sets daily quiet hours (pausing every box) and caps each member’s billing-cycle spend ($1 to $1,000,000), live box count, largest size and idle runtime (Teams: Policies). Policies bind members and contractors, never the owner. Per-key caps sit on top; overage is off by default, so boxes pause when your balance runs out.
Roll it out
- Claim your domain, turn on Restrict membership and give contractors the contractor role.
- Under Policies, set per-member spend, box count, largest size, idle pause floor and audit retention.
- Build a default environment with repos, a setup script for managed settings, telemetry variables and secrets granted only to boxes that need them (used by CLI and API boxes, not the dashboard’s New box page).
- Give each agent a custom-access key scoped to its boxes, with the shortest workable expiry and a spend cap.
- Point scheduled export at your log pipeline and verify the first batch.
- Remove a test member and confirm their key returns
401.
When Prized is not the fit
For SCIM, Cursor (Enterprise) and Ona offer it; Coder syncs OIDC groups on Premium. If code must stay in your own cloud or on premises: Coder is self-hosted; Ona runners, E2B BYOC and Northflank BYOC run in your own cloud account; Devin hosts a single-tenant deployment reaching your network over AWS PrivateLink.
For default-deny egress enforced outside the agent: Daytona sandboxes take domain allowlists, block-all and an upstream proxy; E2B sandboxes take allow and deny lists; Coder’s Agent Firewall filters and logs requests by domain. For a SOC 2 Type II report or BAA now: E2B, Northflank and Capy list SOC 2 Type II; E2B signs BAAs on Enterprise; Replicas offers one.
Common questions
Can coding agents on Prized run in our own VPC or on premises?
Yes in your own cloud account on request; no on premises. Boxes default to Prized’s AWS account; for full self-hosting, use an option above.
Can we stop an agent from reaching the internet?
Not with a Prized setting; outbound traffic is unfiltered. A box VPN can route traffic to your exit node or proxy, though sudo lets an agent turn it off.
Does the audit log show what the agent ran?
Partially: it logs prized exec and API commands, file copies and prompts reported by the CLI or box, plus every SSH certificate issued. Anything typed inside an SSH or tmux session isn’t logged; use the agent’s telemetry.
Does Prized see our code or prompts?
No; files, terminal sessions and prompt bodies stay on the box. Exceptions are the command line, path or first prompt line in reported audit rows, plus prized exec commands and output where your workspace has command history. Zero data retention drops all of it.
How do we cut off an agent in an emergency?
Revoke its key (or Revoke all if you don’t know which leaked), then pause the box. Removing a member revokes all their keys and closes their tunnels.
Sources
Prized facts come from the Prized docs; other vendors’ facts were read on their pages on November 29, 2026:
- Anthropic: The enterprise guide to securing coding agents (the questions to ask), managed settings (Linux path), OpenTelemetry, cloud environments (network access).
- Coder: Agent Firewall (Premium), OIDC, IdP sync (Premium), audit logs (Premium).
- Ona: guardrails (SSO, SCIM, deny lists), runners (your AWS or GCP VPC, Enterprise), audit logs.
- Cursor: identity and access management (SAML, SCIM), compliance and monitoring (audit logs).
- E2B: BYOC, security (SOC 2 Type II, BAA on Enterprise), internet access (allow and deny lists).
- Daytona: network limits.
- Devin: enterprise deployment (single-tenant deployment, PrivateLink).
- Northflank: enterprise (BYOC, SOC 2 Type II, HIPAA).
- Replicas: enterprise (SOC 2 Type I, self-hosted, SCIM, BAA).
- Capy: enterprise (SOC 2 Type II, SAML or OIDC SSO).
If something here is out of date, write to .