Each customer’s AI agents run in a sandbox of their own: a separate container, so one customer’s agents can’t reach another’s. OrgSight staff create the sandboxes in the back office.

Inside the gateway

Key: Container Component. An arrow says what one element does to or asks of the other. Select a box with a page of its own to open it.
The container’s own parts are on Runners.

From a queued run to a finished one

The agent run flow shows what happens to the work itself.

Worth knowing

  • Each sandbox has its own token, worked out from the shared secret and the sandbox’s id. A sandbox never holds the shared secret, so it can’t act as another one.
  • Development and production are kept apart. Each has its own shared secret, SANDBOX_TOKEN_<deployment>, and its own Durable Objects. Connect in the back office sets the secret.
  • Working folders don’t last. They’re on the container’s own disk, so they’re cleared when it sleeps, restarts or is deleted.
  • The code: sandbox/cloudflare/, scripts/agent-runner.ts and convex/sandboxes.ts.
Checked against the code on 4 December 2026.