Why Async?
Most sandbox automations spin up more than one environment. The async client lets you fan out creates, waits, commands, and teardown without juggling threads. Want to explore every helper? Peek atsrc/prime_cli/api/sandbox.py
for the complete API.
Launch a Fleet
bulk_wait_for_creation
polls via the list endpoint, backing off automatically if the API throttles you.
Run Commands & Collect Logs
Move Data In and Out
sandboxes.clear_auth_cache()
if you rotate credentials or hit 401s.
Clean Exit
prime-cli/examples/sandbox_async_demo.py
, which covers create → wait → run → logs → delete.