# Agent37 sandbox

> Agent37 sandbox is an open-source agent skill for developer tools. Run code in persistent Linux sandboxes on Agent37 via ComputeSDK. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/computesdk/computesdk/tree/main/skills/agent37-sandbox
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** agent37-sandbox
- **Collection:** https://github.com/computesdk/computesdk
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill teaches an agent how to use Agent37 as a sandbox provider within the ComputeSDK ecosystem. It covers two routes: selecting Agent37 through the hosted Sandbox Router with the compute CLI or the TypeScript instances API, and a direct SDK integration that installs the Agent37 adapter package and creates, uses and destroys a sandbox in code.

The workflow centers on creating a sandbox, running commands inside it and tearing it down when finished. The guidance points to the sandbox-router and computesdk companion skills for fuller examples, and to the adapter README for credentials, provider setup and limitations. Sandboxes are described as persistent Linux environments that expose per-port preview URLs.

Expected inputs are an Agent37 API key for direct use, or a connected provider key in a ComputeSDK organization for router use. The examples are written in TypeScript and Node.js.

## When your agent uses it

> Agent37 sandbox adapter for ComputeSDK. Run code in persistent Linux sandboxes with per-port preview URLs. Use for Agent37 on the ComputeSDK Sandbox Router or @computesdk/agent37 in a direct SDK integration.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/computesdk/computesdk/tree/HEAD/skills/agent37-sandbox)
- [License: MIT](https://github.com/computesdk/computesdk/tree/HEAD/skills/agent37-sandbox)

## Features

- **Hosted router selection:** Choose Agent37 through the ComputeSDK Sandbox Router using the compute CLI or the providerOrder option.
- **Direct SDK integration:** Install the Agent37 adapter package and wire it into ComputeSDK with a provider factory.
- **Persistent Linux sandboxes:** Run commands in long-lived Linux environments rather than one-off containers.
- **Per-port preview URLs:** Expose services running in a sandbox through a preview URL for each port.
- **Sandbox lifecycle steps:** Create a sandbox, run the workload and destroy the instance once the task completes.

## Good for

- Run a quick command in a remote Linux sandbox and discard it afterwards
- Execute a TypeScript script in an isolated sandbox created through ComputeSDK
- Start a web service in a sandbox and open it through a preview URL
- Check which runtimes like Node.js and Python are available in a sandbox

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/agent37-sandbox` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/agent37-sandbox &&
cp -R "$tmp/skills/agent37-sandbox" ~/.claude/skills/agent37-sandbox &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/agent37-sandbox` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/agent37-sandbox` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/agent37-sandbox &&
cp -R "$tmp/skills/agent37-sandbox" ~/.agents/skills/agent37-sandbox &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/agent37-sandbox` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/agent37-sandbox` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/agent37-sandbox &&
cp -R "$tmp/skills/agent37-sandbox" ~/.cursor/skills/agent37-sandbox &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/agent37-sandbox` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/computesdk/computesdk.git --path skills/agent37-sandbox
```

Or copy the folder to `~/.gemini/skills/agent37-sandbox` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/agent37-sandbox`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/agent37-sandbox &&
cp -R "$tmp/skills/agent37-sandbox" ~/.copilot/skills/agent37-sandbox &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/agent37-sandbox` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/computesdk/computesdk.git
```

Then copy `computesdk/skills/agent37-sandbox` into your agent's skills folder as `agent37-sandbox`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I set up Agent37 for a direct SDK integration?

Install computesdk and @computesdk/agent37 with npm, then follow the adapter README for prerequisites, credentials and the provider factory. The example passes an AGENT37_API_KEY environment variable to the agent37 factory.

### Can I use Agent37 without managing my own API key?

Yes, through the hosted Sandbox Router, where you can use a key connected to your organization by passing providerOrder with agent37. The skill also mentions --managed and --byok flags to require a specific account mode.

### Which skill covers the full TypeScript example?

The sandbox-router skill holds the full TypeScript, REST and MCP example for the hosted route, and the computesdk skill covers the common direct SDK workflow.

### How do I install Agent37 sandbox in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/agent37-sandbox to use it in all your projects, or to .claude/skills/agent37-sandbox in one project.

### Does Agent37 sandbox run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Agent37 sandbox?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Agent37 sandbox?

The closest alternatives to Agent37 sandbox are Codesandbox sandbox, Sandbox0 sandbox, Computesdk, Createos sandbox and Opencomputer sandbox.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Codesandbox sandbox](https://ai-powered.com/skills/codesandbox-sandbox): Codesandbox sandbox is an open-source agent skill for cloud and infrastructure.
- [Sandbox0 sandbox](https://ai-powered.com/skills/sandbox0-sandbox): Sandbox0 sandbox is an open-source agent skill for cloud and infrastructure.
- [Computesdk](https://ai-powered.com/skills/computesdk): Computesdk is an open-source agent skill for developer tools.
- [Createos sandbox](https://ai-powered.com/skills/createos-sandbox): Createos sandbox is an open-source agent skill for developer tools.
- [Opencomputer sandbox](https://ai-powered.com/skills/opencomputer-sandbox): Opencomputer sandbox is an open-source agent skill for developer tools.
- [Runloop sandbox](https://ai-powered.com/skills/runloop-sandbox): Runloop sandbox is an open-source agent skill for developer tools.
- [Tensorlake sandbox](https://ai-powered.com/skills/tensorlake-sandbox): Tensorlake sandbox is an open-source agent skill for developer tools.
- [Sandbox router](https://ai-powered.com/skills/sandbox-router): Sandbox router is an open-source agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/agent37-sandbox
