Python SDK for the Sail sandbox platform
Actively maintained. Last release 3 days ago. A safe choice.
pip install sailSail SDK
Python client library for Sail, the most cost-efficient infrastructure provider for long-horizon agents.
Documentation
- Sail documentation: quickstarts, guides, and examples.
- Sailbox Python guide and Python API reference.
- Other languages: TypeScript, Rust.
Installation
Install the package with pip:
pip install sail
Or with uv:
uv add sail
Installing the SDK also puts the sail CLI on your PATH. To install the CLI on
its own, without the Python SDK, use the standalone installer:
curl -fsSL https://cli.sailresearch.com/install.sh | sh
For Python SDK scripts, CI, and headless agents, set an API key explicitly:
export SAIL_API_KEY=sk_...
What's inside
The SDK provides hosted inference (sail.inference) and Sailboxes
(sail.Sailbox) for running code and agent workloads. See the
Sail documentation for quickstarts and API
guides.
Support
Questions or issues? Join the Sail Research Slack.