Specification 5 template launch requires the matching
agent-sandbox-client==0.4.0a6andagent-sandbox-server==0.4.0a6alpha packages used in this guide. The previous 0.3.x packages do not implement this entry point. To validate a source revision, install both distributions from the same checkout as described below.
Use Python 3.10 or newer and a virtual environment:
python -m venv .venv
# Linux or macOS:
source .venv/bin/activate
# Windows PowerShell: .venv\Scripts\Activate.ps1
python -m pip install --index-url https://pypi.org/simple 'agent-sandbox-client==0.4.0a6'
python -m pip checkThis installs the alpha client and its required same-version agent-sandbox-server dependency. The import namespace is agent_sandbox; the unrelated PyPI distribution named agent-sandbox is not this project.
Check the installed pair:
python -c "from importlib.metadata import version; print(version('agent-sandbox-client'), version('agent-sandbox-server'))"Install the abx CLI separately. Named deployment examples in the current guides require the matching current CLI source. Older releases may expose different commands; check their help and configure the selected provider before deployment.
Project configuration uses ABX_SANDBOX_API_KEY, ABX_SANDBOX_BASE_URL and
ABX_SANDBOX_DOMAIN for all project entries, including standard Sandbox /
AsyncSandbox and ProviderSandbox. Public keyword parameters still follow each
entry's documented contract; the standard api_key= parameter remains valid.
python -m pip install --index-url https://pypi.org/simple 'agent-sandbox-client[all]==0.4.0a6'Replace [all] with [mcp], [session] or [fast] for that subset. Template YAML and the declarative decorator belong to the base client; they need no extra. Browser automation requires Playwright installed inside the sandbox image.
python -m pip install --index-url https://pypi.org/simple 'agent-sandbox-server==0.4.0a6'The server runs the application inside an image. Installing it does not create a sandbox. See the server guide to register commands and start the service.
The current checkout makes the local runtime optional. Install only the client
for standard Sandbox / AsyncSandbox, ProviderSandbox, ServerClient, template
YAML and the remote @sandbox(...) decorator:
python -m pip install ./client-sdkFor local @sandbox.register or sandbox.server, install the matching runtime:
python -m pip install ./server-sdk './client-sdk[server]'[all] and [dev] include [server]. The pinned public release above predates
this dependency change; source installation does not publish a new release.
Registration belongs in the application server program and does not upload a
local function. The module-level sandbox.run / sandbox.run_async have been
removed: call an explicitly selected application's ServerClient.commands.run
instead. ProviderSandbox.run and the remote decorator remain available.
From the repository root, install both local distributions together:
git rev-parse HEAD
python -m pip install -e ./server-sdk -e './client-sdk[dev]'
python -m pip checkRecord the commit when reproducing a source installation; both packages come from that same checkout. To reproduce a specific release, check out its tag first. Contributor validation and publication requirements are in CONTRIBUTING.