Capability 01 of 04 · Infrastructure

Agent Runtime & Sandboxing

Where and how AI agents execute code - isolation, security, and resource management.

5
maturity levels
15
practices
15
guides
L1 · Stage 01Assisted
L2 · Stage 02Delegated
Practices - what it looks like3 guides
Criteria - what to measure
  1. 01Dedicated development environments exist for agent execution (separate from developer's primary workspace)
  2. 02Agents run inside a container, not directly on a developer machine
  3. 03Agent credentials are scoped per project (not a single org-wide key)
  4. 04Container images for agent environments are versioned and reproducible
  5. 05Credential rotation schedule exists for agent-scoped keys
  6. 06Agents never run on a developer's personal access token or a shared long-lived key
  7. 07The sandbox is on by default, required by organisation policy, and fails closed: no agent session starts if its policy cannot be loaded
  8. 08Sandboxed commands still follow the normal permission flow; running inside a sandbox is not treated as approval
L3 · Stage 03Systematic
Criteria - what to measure
  1. 01Isolated agent environments (devbox model) prevent agents from accessing other projects
  2. 02Pre-warmed containers with codebase at HEAD and dependencies installed are available
  3. 03Network isolation prevents agents from reaching production systems
  4. 04Container warm pool size matches team's agent usage patterns
  5. 05Network isolation rules are tested and audited quarterly
  6. 06Credentials are injected at run time from a vault or broker, never stored in prompts, files or evaluation sandboxes
  7. 07The agent never holds credentials directly; a broker or egress proxy attaches them per request
  8. 08Extensions, mods and plugins that run beside the sandbox are inventoried and allowlisted
L4 · Stage 04GovernedMost teams aim here
Criteria - what to measure
  1. 01Ephemeral devboxes spin up fast enough that an agent does not wait on the environment (single-digit seconds)
  2. 02Devboxes come pre-loaded with codebase, dependencies, and MCP tools
  3. 03Kernel-level policy enforcement restricts agent actions (syscall filtering, resource limits)
  4. 04Devbox spin-up P99 latency is under 30 seconds
  5. 05Firecracker microVMs or equivalent provide VM-level isolation with container-level startup speed
  6. 06Each agent runs under its own scoped role, never a shared default execution role
  7. 07The agent harness runs outside the sandbox that executes generated code, and credentials are injected at the boundary by a gateway the agent cannot reach
L5 · Stage 05Self-improving
Criteria - what to measure
  1. 01Dedicated compute infrastructure exists for agent fleet (not shared with developer workstations or production)
  2. 02Agent fleet auto-scales with load (agents scale up during business hours, scale down off-hours)
  3. 03Each agent runs in a fully isolated environment (one machine per agent, or equivalent resource isolation)
  4. 04Cost per agent-hour is tracked and optimized
  5. 05Fleet scaling responds to demand within 60 seconds
  6. 06The monitor runs on a different inference engine instance than the agents it watches, and shared inference caches are salted per tenant

Which level is your team at in Agent Runtime & Sandboxing?

The criteria above are what we check in a facilitated assessment. Run it yourself to place this capability, see which gates you have passed, and compare it against the other 3 in Infrastructure.

Start the assessment →