Platform / Sandboxed execution
Let agents run code without trusting the code
When an agent writes and runs code, it runs in an isolated sandbox with no ambient credentials, a restricted network and hard resource limits. When the task ends, the sandbox is destroyed.
$ pnpm test --filter payments
✓ refunds/create.test.ts (14)
✓ webhooks/signature.test.ts (9)
✕ egress blocked telemetry.vendor.example
Tests 96 passed · exit 0- Isolated for each run
- Network egress allowlists
- CPU, memory and time limits
What you get
Sandboxed execution, built for production
Isolation per run
Each execution gets its own short-lived sandbox with a separate filesystem and process space.
No ambient access
Sandboxes start with no credentials and no network. Access is granted explicitly, for each task.
Egress control
Allow outbound traffic only to the hosts a task needs. Everything else is blocked and logged.
Resource limits
Set CPU, memory, disk and time limits. Runaway processes are stopped automatically.
Reproducible environments
Define images with the runtimes and packages your agents need, pinned by digest.
Full capture
Commands, output, file changes and network attempts are recorded in the run trace.
01
Assume the code is hostile
Model-written code can be wrong, and it can be steered by a malicious input. The sandbox is designed so that neither can reach anything that matters.
- No credentials unless a task grants them
- Network denied by default
- Destroyed when the task ends
02
Give agents real tools
Data analysis, test suites and document processing need a real runtime, not a restricted expression evaluator.
- Images with the packages you choose
- Mount files in and collect artifacts out
- Reuse a warm sandbox within a run
03
Everything is on the record
What ran, what it printed and what it tried to reach are part of the trace, next to the model call that asked for it.
- Command and output for each execution
- Blocked network attempts listed
- Resource usage for each sandbox
name: node-ciimage: node:22-ci@sha256:9b07d1f3 # pinned by digest resources: cpu: 4 memory: 8Gi disk: 16Gi timeout: 20m network: egress: deny # default allow: - registry.npmjs.org credentials: none # nothing is mounted unless a task grants iton_exit: destroyA sandbox template with a pinned image, limits and an egress allowlist.
Preview of the configuration format. Details may change before general availability.
The rest of the platform
Works with every other building block
Each capability is useful on its own. Together they give every agent the same foundations.
Orchestration
Durable workflows, triggers and approvals for agent fleets.
Learn moreMemory
Scoped, governed context that persists across runs.
Learn moreMCP integrations
Connect any MCP server with per-tool control.
Learn morePermissions
Least-privilege policies checked on every action.
Learn moreAudit logs
A tamper-evident record of every decision and call.
Learn more
FAQ
Sandboxed execution questions
Put your agents into production with guardrails
AgentOS is in private early access. Tell us what you want to build and we'll set up a workspace for your team.