Run your first sandbox
Choose W&B if you don’t have a CoreWeave console account or prefer W&B billing. Choose CoreWeave to use your CoreWeave account.- W&B
- CoreWeave
Get your W&B API key. If you don’t have an account, sign up through the same link. Then set the key in your terminal:These examples use a key from wandb.ai.
- Python
- TypeScript
With Run it with Python 3.11 and the sandbox client. The command installs them if needed:
uv installed, save this as hello.py:hello.py
Output
resources to choose its CPU and memory.
For concurrent quotas, rate limits on create requests, and quota errors, see Limits and quotas.
CoreWeave Serverless sandboxes are in public preview.
Next steps
Continue with the guide for your workload:- Use your own compute: enable a runner on your cluster and run a sandbox there.
- Sandbox placement and spillover: compare serverless and CKS capacity and configure fallback.
- Run coding agents: connect a coding agent to a sandbox.
- GPU sandboxes: request GPU access and run a GPU workload.
- Python client: execute commands, work with files, and configure sandboxes.