Platform · Agents

KERNSTACK Agent sandboxes

Agent Sandboxes are where coding agents work on KERNSTACK: each sandbox is an agent/<id> branch in hosted git, deployed to its own agent-<id> environment that runs the branch’s full stack. The project’s @agent builds demos there from conversation mentions; external harnesses (Cursor, Claude Code, Codex, Pi) produce the same branch-shaped work. Main is never the sandbox’s business.

Why teams replace assembled cloud services with KERNSTACK Agent sandboxes

Teams otherwise hand an agent a laptop checkout and production credentials, then review prose about what it did. On KERNSTACK the agent’s work is a running environment and a readable plan, and its blast radius is a branch that can be discarded whole.

How a sandbox runs

Enable Agents under Settings (code mode needs hosted git), then mention @agent in a project conversation: it builds on a fresh agent branch, deploys the agent- environment, and replies with the link. Anyone can open the demo, check out the branch locally (kernstack git checkout agent/), and read kernstack plan for the platform-level summary of what the change would do.

Boundaries that are enforced, not requested

Deploying an agent branch outside its own environment demands confirmation. Production deploys can require review-approved source through the stack’s deploy gate. Destructive plan entries refuse without a human’s --confirm-destructive. Promoting sandbox work is a deliberate branch move (feature/, offered at the switch); discarding retires branch and environment together.

  • Sandbox environments carry their own seeded data — agents never practise on production rows
  • Sandbox compute spends from the project balance, visibly, and idles at storage cost
  • Every harness produces the same artifacts: branch, environment, plan — one review culture for all agents

SDKs & Language Integration

Every KERNSTACK environment vendors typed SDK packages into .kernstack/ so both engineers and coding agents in Agent Sandboxes can call Agent sandboxes without external credentials:

  • Go SDK: kernstack CLI and console (no SDK client)
  • Node.js SDK: kernstack-sdk
  • Python SDK: kernstack_sdk
  • PHP SDK: kernstack/sdk (Composer)

Frequently asked questions

The project’s @agent and any external coding harness that works in a repository — Cursor, Claude Code, Codex, Pi. The sandbox is a branch-and-environment contract, not a model integration, so new harnesses qualify by producing branches.

Its environment is its own target with its own tables, buckets, and keys, seeded from the repository. Reaching production would require deploying there, which is exactly the gated, confirmed step the sandbox exists to separate from experimentation.

Its environment’s storage (0.04 credits per GB-hour) plus compute while it runs or is clicked. Idle sandboxes trend to pocket change, and discarding one ends the meter with the environment.

Ship your stack on the Software Lifecycle Cloud.

Closed preview on dedicated European infrastructure. Bring a repository or start from a blueprint.