SandboxAI
Unleash your AI agents ... in a sandbox!
SandboxAI is an open source runtime for securely executing AI-generated Python code and shell commands in isolated sandboxes.
- Self-host
- Docker based single host backend
- Kubernetes based multi-node backend (coming soon)
- Simple SDK
pip install sandboxai-clientis all you need- Go SDK included
- Container based
- You define the environment
- Integrate with existing tooling
- Flexible control
- Full-agency - Set the agent loose within the container
- Limited-agency - Give the agent access to specific commands
- Open API
- Simple RESTful interface
- Generate your own client from the API spec
Architecture
SandboxAI was designed to fit nicely into your AI software stack.
Quickstart (Single-host)
Make sure you have docker installed.
TIP: Free alternatives to docker desktop...
- On a mac? Checkout colima.
- On linux? Use docker engine.
docker ps
Install the python client.
pip install sandboxai-client
Run a sandbox on your local machine.
from sandboxai import Sandbox
with Sandbox(embedded=True) as box:
print(box.run_ipython_cell("print('hi')").output)
print(box.run_shell_command("ls /").output)
Contributing
We welcome contributions to SandboxAI. See the contributing doc for more information.
Contact
Let us know about features you are interested in seeing or reach out with questions. Visit our Discord channel to join the discussion!
Or just reach out on LinkedIn if you want to connect:
Metadata
Release files for sandboxai-client 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sandboxai_client-0.0.2.tar.gz | 88.1 kB | Details |
Built distributions (wheels)
Total release size: 64.2 MB
Release files / sandboxai_client-0.0.2.tar.gz
| Download URL | sandboxai_client-0.0.2.tar.gz |
|---|---|
| Size | 88.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bf3343d207c9f6ce7be559e394a571e4877a00a95b4bd310a91ff838f948871
|
|
BLAKE2b-256 checksum How to use checksums |
9136a6b258aad47b1188c9837af43be0cca0f86a149f32003567215ba6f91795
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-py3-none-any.whl
| Download URL | sandboxai_client-0.0.2-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f38533c884555842c1ba124d25d198f073f76400c58028c6068f88c04c6c3149
|
|
BLAKE2b-256 checksum How to use checksums |
9e7a11ec2478bc75cc8de6ef035a0529e48c908779a263adae068409c08c7764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | sandboxai_client-0.0.2-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 PyPy 3.10 PyPy 3.10 7.3 |
|
SHA-256 checksum How to use checksums |
17e739080d828dd0613c2f70bf140e6631c67e606aa3e7f1bc15052e9e071cb8
|
|
BLAKE2b-256 checksum How to use checksums |
69743f8fa1c1854112ecec31a4d4d745c1ae084bdcdbfe5dd932e850a7ead9ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-pp310-pypy310_pp73-macosx_11_0_x86_64.whl
| Download URL | sandboxai_client-0.0.2-pp310-pypy310_pp73-macosx_11_0_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | PyPy 3.10 PyPy 3.10 7.3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
41c355e9809dfe05c5798c5e30bc66832bb1df5e51c225f2b9a47c5bfc234f3f
|
|
BLAKE2b-256 checksum How to use checksums |
ecd83cf3972f9f5f134f03dd9e750cd00296259e4278f083feab4ecadcc0948c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl
| Download URL | sandboxai_client-0.0.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | PyPy 3.10 PyPy 3.10 7.3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
24e85e792a34b08da4b9c843c1ff97a8c121fcd454418dd984bd9ed5e7f6f967
|
|
BLAKE2b-256 checksum How to use checksums |
0d0410c62e7c8a33b3cf304592c5b65e0563f1c35adbaf131ee403a67108b117
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
43e19ea98fb47b0161799c0197b269992e43c4b0ab3bebcf597b897f2c79647b
|
|
BLAKE2b-256 checksum How to use checksums |
4b717b4282c22a3102868d8395cf32b6f9e2c21fd20ccd683da7da700b37be50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
9c14ebd90f803add04b4cda55502ec0ec40559474af91d45b086bea8277edaa5
|
|
BLAKE2b-256 checksum How to use checksums |
471a83cf383f0330f218d43bdb08fa39b91ff3a64701a0e8f00ae848a37e7fe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp313-cp313-macosx_11_0_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp313-cp313-macosx_11_0_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.13 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
7b995aa8bfb93f3b0aa81df917228751c23d4368dd04c40c147b958b7cec835d
|
|
BLAKE2b-256 checksum How to use checksums |
47c0acbd80627dcfbd874f6cfa4a255aa8312ca1a44eaaf530a6664cebe5d30a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | sandboxai_client-0.0.2-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
aa0dfbd3866370a4bd9b63fa82676499d3645239e362bb34ea3382c00c176652
|
|
BLAKE2b-256 checksum How to use checksums |
94dce05ad1e5b2ca37cb5185fe3aacecb0e72d73c8d5b14960b08cb8b3751c45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
1a2e67cf65e3a35591ba65104b66e07d1eef585eeb331b4ae561696413e44e54
|
|
BLAKE2b-256 checksum How to use checksums |
e4d3d1d3d467bdbbb2a22dcf6ce3b060626a1164495ba5684094e1a989a59ff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
77aa6b6ae86c39fe2443498b51e799eba92d6fe5e52774fcc45db2b98f749e71
|
|
BLAKE2b-256 checksum How to use checksums |
669e10a1b11fffa9265492690e26f67215d3dbed2f8afa61e13b600d3d9e0fe4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp312-cp312-macosx_11_0_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp312-cp312-macosx_11_0_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.12 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
9b5f13cffc91980cf0746d3e5b30221c5257079e50f8bfa5b0b71b61e5bad942
|
|
BLAKE2b-256 checksum How to use checksums |
f293805d9077178af6de77cbe745a74a88d799b3d33cdcded5ce4de5b42e41a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | sandboxai_client-0.0.2-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
441f9a2f0efe2a3dc2a5f4afae41c856e0444f7afa990c08bdd3bb79406cb791
|
|
BLAKE2b-256 checksum How to use checksums |
1ad7080ec84aa734de9dfd61d75879740636336edab845425dcf1598dfd412f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
5b26f7a0d253565e0042cfb3bcce5ea61d84cc6e4b5d013e9a2a1353b734183e
|
|
BLAKE2b-256 checksum How to use checksums |
9ba18722da8b0ae918dac4becced9282e8bbfff9fdaeeee8078dd06f4d0a5917
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
fc82943c74df0fcab6f9090e34cdaf19b8c8707b99da08334374cd3a2aca7e2b
|
|
BLAKE2b-256 checksum How to use checksums |
062bc80d072077775288b01e460dfc06a04b0ff5d1e172e77c6177917160f81a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp311-cp311-macosx_11_0_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp311-cp311-macosx_11_0_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.11 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
41704cd67c9d0ff1d956b88e4093d8e74f95ef863e21e676257cbe6cac43bee3
|
|
BLAKE2b-256 checksum How to use checksums |
5aebca46ec87efc1014757cc2f347dc1f30a9478e8c477424d7ded8c62afa8fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | sandboxai_client-0.0.2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ba19d4439bdec9ac78eb5a94a509e01e921f25fea1c518a52c0e21c070df033c
|
|
BLAKE2b-256 checksum How to use checksums |
169a32ff36bf46090a8e9330e224a132dd01448e5b63f8f4d7eb1b2328a18907
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
18f41a077a1314bc305508f4acc85590fd82dd2938871547e7a5d80833fbc46d
|
|
BLAKE2b-256 checksum How to use checksums |
6ecc2da81be5f9ba97029e135eaa4682a7807b32acd292e654426461440f8642
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
8c3a56988d27b35119a5e1f9957d2256d06b985a8af93386192eb516cb3dfcfb
|
|
BLAKE2b-256 checksum How to use checksums |
64feb9b4a1f9e95a44a9948e83065df96064eefbc02ed682a158e09c88d508cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp310-cp310-macosx_11_0_x86_64.whl
| Download URL | sandboxai_client-0.0.2-cp310-cp310-macosx_11_0_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.10 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
da2f32ce67dc933562dde0641c965d871006a39a1fca29cf4d03b1e9df9bd42b
|
|
BLAKE2b-256 checksum How to use checksums |
9712ac92733fc8881976a4b3affcdbcb9d4138607cd9d658ae4a69581a37de95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / sandboxai_client-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | sandboxai_client-0.0.2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
be37332646c2641e5c1e37818da21a147c5bcb1081678f45aef62d255357db91
|
|
BLAKE2b-256 checksum How to use checksums |
ba9392918f1f33c5931507f9b2314f9eef7efc1ce3203306e59944448177b95d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|