

One router for sandboxes and Actions.

ComputeSDK
ComputeSDK is one router for sandboxes and Actions. Run agent code and GitHub workflows across compute providers through one integration. Let ComputeSDK route, choose a provider, or set a fallback order. Use the CLI from your terminal and the TypeScript SDK from your application or agent.
- Run commands and work with files in cloud sandboxes from your terminal or TypeScript application.
- Sync local projects to a sandbox for remote development and execution.
- Route compute centrally using managed compute, your organization's provider keys, or both.
- Manage your organization through one dashboard for credentials, credits and sandbox activity.
Open the dashboard · Read the docs
Start on a provider
Create a sandbox on a specific provider through ComputeSDK:
npm create modal
# Or: npm create e2b
These starters install or upgrade the ComputeSDK CLI when needed, sign you in and create a sandbox pinned to that provider. They use your organization's managed-compute or BYOK routing. See sandbox providers for setup and cleanup.
Start with the CLI
npm install -g @computesdk/cli
compute login
compute sandboxes route
compute new
compute exec echo hello
compute destroy
Other installation options include macOS/Linux and Windows installers. Creation requires available credit or a configured BYOK route. Sandboxes keep running and billing until destroyed or their lifetime expires.
Build with the TypeScript SDK
import { compute } from 'computesdk';
const sandbox = await compute.instances.create({ size: 'small' });
try {
const result = await sandbox.runCommand('echo hello');
console.log(result.stdout);
} finally {
await sandbox.destroy();
}
npm install computesdk
export COMPUTE_API_KEY="your_org_api_key"
Follow the complete runnable SDK quickstart to create an API key and run this from Node.js. See routing and BYOK to choose account modes and understand billing.
Go further
Open-source SDK and contributing
For direct vendor integrations, provider development and repository contribution instructions, see the open-source SDK guide. Individual adapters are documented in their GitHub packages.
Community and support
GitHub Discussions · GitHub Issues
License
MIT