Skip to main content

sandrpod-cli

Command-line client for SandrPod — open-source, self-hosted execution infrastructure (sandboxes) for AI agents. Run sandboxes on your own substrate (8 clouds incl. Aliyun/Tencent, plain Docker, or a bare machine), drive them over the native REST API, and stay E2B-compatible.

Install

pip install sandrpod-cli
pip install "sandrpod-cli[shell]"   # + interactive PTY shell (websocket-client)

Configure

export SANDRPOD_API_URL=http://your-server:8080
export SANDRPOD_API_TOKEN=your-token          # only if the server runs with auth
# or pass per-command:  sandrpod-cli --api-url http://your-server:8080 <cmd>

Quickstart

sandrpod-cli create mybox --provider local           # create a sandbox
sandrpod-cli execute mybox "echo hi; python3 -V"     # one-shot exec
sandrpod-cli run mybox "import numpy; print(1)"      # stateful code interpreter (Jupyter-style)
sandrpod-cli fs write mybox /workspace/a.txt hello   # filesystem ops
sandrpod-cli fs ls mybox
sandrpod-cli stream mybox "for i in 1 2 3; do echo \$i; sleep 1; done"   # real-time output
sandrpod-cli shell mybox                             # interactive PTY (needs the [shell] extra)
sandrpod-cli preview mybox 8000                      # proxy a web port inside the sandbox
sandrpod-cli stats mybox                             # CPU / memory / disk
sandrpod-cli delete mybox

Charts: sandrpod-cli run captures matplotlib figures, saving the rendered PNG plus structured chart data (E2B-style).

Full command list (cloud providers, snapshots, tokens, contexts, directory watch, …) is in the SandrPod repository.

License

Apache-2.0

Metadata

Release files for sandrpod-cli 0.5.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sandrpod-cli 0.5.7
File Size Uploaded
sandrpod_cli-0.5.7.tar.gz 22.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sandrpod-cli 0.5.7
File Interpreter ABI Platform
sandrpod_cli-0.5.7-py3-none-any.whl Python 3 none any Details

Total release size: 44.8 kB

Release files / sandrpod_cli-0.5.7.tar.gz

Download URL sandrpod_cli-0.5.7.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ad7fa2ede9330d036fd5ef9d0cf4e43a9795a3d6d59b8e8bf2957075078925c2
BLAKE2b-256 checksum
How to use checksums
ff4dd4f650c1128c036c39d9af2ab439c25c4b47dd66fcd1f853b42f9cbb1d91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / sandrpod_cli-0.5.7-py3-none-any.whl

Download URL sandrpod_cli-0.5.7-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2f812f1efde4b055270817691157833aa93202b8ea2fa77acec85179bde5bde
BLAKE2b-256 checksum
How to use checksums
5b168f7cdd5b893d1b52c3ce6085f16ee5b2da920f0113aa615620a1a2a3985a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

0.5.10

2 release files

0.5.9

2 release files

This release

0.5.7 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page