Quick Start
Two ways to drive Islo: the SDK from your code, or the CLI from your terminal. Pick whichever fits.
Use the SDK
The fastest way to drive Islo from your code is the official SDK. Grab an API key from the dashboard, then install:
Commands run asynchronously inside the sandbox: exec_in_sandbox returns an exec_id with status: "started", and you poll get_exec_result until the status reaches a terminal value (completed, failed, or timeout).
The synchronous client is the default:
Async client
For asyncio-based code, import AsyncIslo instead — the method surface is identical, but every call is awaitable:
SDKs are also available for TypeScript (npm install @islo-labs/sdk) and Go (go get github.com/islo-labs/go-sdk).
Use the CLI
Prefer driving Islo from your terminal? Install the CLI:
Authenticate
Log in to Islo using your browser:
This command:
- Starts a local server on port 9876
- Opens your browser to the authentication page
- Completes OAuth authentication via Descope
- Stores tokens securely in your OS keychain
Initialize your project
Set up Islo for your project:
This interactive wizard:
- Creates an
islo.yamlconfiguration file (or use--template <name>for a starter). - Detects languages and dependencies in your project (Python, Node, etc.) and proposes
setup_scriptsentries for them.
Use a sandbox
Create and connect to a sandbox with a single command:
This will:
- Create a sandbox if it doesn’t exist
- Open an interactive shell session
Options:
Example with custom image:
Execute commands
Run a command directly in the sandbox:
Output:
Run Python code:
The -- separator tells Islo that everything after it is the command to run.
Cleanup
When you’re done, remove the sandbox:
The -f flag forces removal without confirmation.
Complete CLI example
Next Steps
- Configure your project with
islo.yaml - Learn all CLI commands
- Browse Islo Recipes for copy-paste SDK and agent examples (gateway allowlists, Playwright, S3 mounts, Claude Code in a sandbox, and more)
- Troubleshoot common issues