Skip to content

Sandboxing — For Developers

Edition D — operators & integrators who run agentteams. How-to + Reference: which knob do I turn, and what does it cost. Runnable commands, file:line pointers, Core→Full on the controls you operate. For the complete mechanism, follow the links into the Reference edition.

The 60-second version

  1. Confinement is emitted by default but inert until wired: as of 2026-W39 the default privilege_profile is confined, which emits an OS write-confinement boundary (a settings/config example you must merge); the deny-hook still stays fail-open unless you set an explicit confined/exclusive. Set cooperative to emit no sandbox at all.
  2. agentteams decides whether it can emit a boundary for your framework × OS, and emits an artifact — but that artifact is inert until you wire it.
  3. On Linux you must wrap your agent: sandbox/confine-run.sh --scratch DIR --egress deny -- <your agent cmd>. Nothing is confined until you do.

Contents

Diagrams in this edition: G1 (pipeline, Part I), G2 (decision, Part III), G3 (mechanisms, Part IV), G4 (hook, Part V).