Install & Compatibility
Where this runs
tested against v0.0.30 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 461.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 28.8s · import 0.000s · 461MB
491MB installed
● package 491MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Action
✓ from agent_sandbox import Action
✗ from agent_sandbox import SandboxClient
ActionData
✓ from agent_sandbox import ActionData
ActionResponse
✓ from agent_sandbox import ActionResponse
Create a client using the API key from environment variable and execute Python code.
import os
from agent_sandbox import SandboxClient
client = SandboxClient(api_key=os.environ.get('SANDBOX_API_KEY', ''))
result = client.code_exec(code='print("Hello, world!")')
print(result.text)
Upgrade
Version history
0.0.30latest on PyPI · released Mar 24, 2026
Audit
Dependencies
httpxrequiredHTTP client for API calls
pydanticrequiredData validation and settings management