Vercel Sandbox Python SDK 1.0 stabilizes its API
Brief
Vercel Sandbox Python SDK 1.0 is now available, with a stable public API and feature parity with the TypeScript SDK.
Capabilities and setup
- Run AI-generated code, test changes, and analyze datasets in isolated sandboxes from Python applications.
- Includes context managers for automatic cleanup and AnyIO-based async support for asyncio and Trio; synchronous code can use vercel.sandbox.sync.
- Install with uv add 'vercel-sandbox>=1.0' and configure authentication.
Upgrading from 0.x
- Review the 1.0 release notes for breaking changes, including the switch to bytes for command input and output.
Generated by AI from the original article. Check the source for full details.