Secure sandboxes for AI agents and LLMs.
Project description
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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sandboxai_client-0.0.2.tar.gz.
File metadata
- Download URL: sandboxai_client-0.0.2.tar.gz
- Upload date:
- Size: 88.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bf3343d207c9f6ce7be559e394a571e4877a00a95b4bd310a91ff838f948871
|
|
| MD5 |
6f1c84bcc8f51a8b4ea563c47ad06299
|
|
| BLAKE2b-256 |
9136a6b258aad47b1188c9837af43be0cca0f86a149f32003567215ba6f91795
|
File details
Details for the file sandboxai_client-0.0.2-py3-none-any.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f38533c884555842c1ba124d25d198f073f76400c58028c6068f88c04c6c3149
|
|
| MD5 |
50d029e44fa3611ee2d32c0e99540676
|
|
| BLAKE2b-256 |
9e7a11ec2478bc75cc8de6ef035a0529e48c908779a263adae068409c08c7764
|
File details
Details for the file 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.
File metadata
- 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
- Upload date:
- Size: 3.4 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17e739080d828dd0613c2f70bf140e6631c67e606aa3e7f1bc15052e9e071cb8
|
|
| MD5 |
c860e7b9ab2a9406a3382fc9858ed61f
|
|
| BLAKE2b-256 |
69743f8fa1c1854112ecec31a4d4d745c1ae084bdcdbfe5dd932e850a7ead9ab
|
File details
Details for the file sandboxai_client-0.0.2-pp310-pypy310_pp73-macosx_11_0_x86_64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-pp310-pypy310_pp73-macosx_11_0_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: PyPy, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41c355e9809dfe05c5798c5e30bc66832bb1df5e51c225f2b9a47c5bfc234f3f
|
|
| MD5 |
04d69f3b479a5e085b371bd8f286c857
|
|
| BLAKE2b-256 |
ecd83cf3972f9f5f134f03dd9e750cd00296259e4278f083feab4ecadcc0948c
|
File details
Details for the file sandboxai_client-0.0.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.2 MB
- Tags: PyPy, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24e85e792a34b08da4b9c843c1ff97a8c121fcd454418dd984bd9ed5e7f6f967
|
|
| MD5 |
89784965c375406416a3adaa6d699e3e
|
|
| BLAKE2b-256 |
0d0410c62e7c8a33b3cf304592c5b65e0563f1c35adbaf131ee403a67108b117
|
File details
Details for the file sandboxai_client-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43e19ea98fb47b0161799c0197b269992e43c4b0ab3bebcf597b897f2c79647b
|
|
| MD5 |
fbf9cd6015d2ef9d6bbf0724b48f8293
|
|
| BLAKE2b-256 |
4b717b4282c22a3102868d8395cf32b6f9e2c21fd20ccd683da7da700b37be50
|
File details
Details for the file sandboxai_client-0.0.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- 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
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c14ebd90f803add04b4cda55502ec0ec40559474af91d45b086bea8277edaa5
|
|
| MD5 |
7a0f58a9e6eba6bb28fa8f283caa51a0
|
|
| BLAKE2b-256 |
471a83cf383f0330f218d43bdb08fa39b91ff3a64701a0e8f00ae848a37e7fe9
|
File details
Details for the file sandboxai_client-0.0.2-cp313-cp313-macosx_11_0_x86_64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp313-cp313-macosx_11_0_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.13, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b995aa8bfb93f3b0aa81df917228751c23d4368dd04c40c147b958b7cec835d
|
|
| MD5 |
547546ab17f2b8016c35a6edb518fddc
|
|
| BLAKE2b-256 |
47c0acbd80627dcfbd874f6cfa4a255aa8312ca1a44eaaf530a6664cebe5d30a
|
File details
Details for the file sandboxai_client-0.0.2-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa0dfbd3866370a4bd9b63fa82676499d3645239e362bb34ea3382c00c176652
|
|
| MD5 |
58f3fd93365d1837f4fc14b5798500d9
|
|
| BLAKE2b-256 |
94dce05ad1e5b2ca37cb5185fe3aacecb0e72d73c8d5b14960b08cb8b3751c45
|
File details
Details for the file sandboxai_client-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a2e67cf65e3a35591ba65104b66e07d1eef585eeb331b4ae561696413e44e54
|
|
| MD5 |
e6c1881ee3e22174170ffe7a5e16d0e2
|
|
| BLAKE2b-256 |
e4d3d1d3d467bdbbb2a22dcf6ce3b060626a1164495ba5684094e1a989a59ff9
|
File details
Details for the file sandboxai_client-0.0.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- 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
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77aa6b6ae86c39fe2443498b51e799eba92d6fe5e52774fcc45db2b98f749e71
|
|
| MD5 |
07956d58f465f3b8607c090701ae15d6
|
|
| BLAKE2b-256 |
669e10a1b11fffa9265492690e26f67215d3dbed2f8afa61e13b600d3d9e0fe4
|
File details
Details for the file sandboxai_client-0.0.2-cp312-cp312-macosx_11_0_x86_64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp312-cp312-macosx_11_0_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.12, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b5f13cffc91980cf0746d3e5b30221c5257079e50f8bfa5b0b71b61e5bad942
|
|
| MD5 |
9b435285399e1956471da43dc31a35e1
|
|
| BLAKE2b-256 |
f293805d9077178af6de77cbe745a74a88d799b3d33cdcded5ce4de5b42e41a6
|
File details
Details for the file sandboxai_client-0.0.2-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
441f9a2f0efe2a3dc2a5f4afae41c856e0444f7afa990c08bdd3bb79406cb791
|
|
| MD5 |
5a048c92854cb2eb2262f5e5bfeb07ef
|
|
| BLAKE2b-256 |
1ad7080ec84aa734de9dfd61d75879740636336edab845425dcf1598dfd412f4
|
File details
Details for the file sandboxai_client-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b26f7a0d253565e0042cfb3bcce5ea61d84cc6e4b5d013e9a2a1353b734183e
|
|
| MD5 |
b583bbe5908348635729bb3be277c786
|
|
| BLAKE2b-256 |
9ba18722da8b0ae918dac4becced9282e8bbfff9fdaeeee8078dd06f4d0a5917
|
File details
Details for the file sandboxai_client-0.0.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- 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
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc82943c74df0fcab6f9090e34cdaf19b8c8707b99da08334374cd3a2aca7e2b
|
|
| MD5 |
f8ef53048a37765c5562e9b3193c945c
|
|
| BLAKE2b-256 |
062bc80d072077775288b01e460dfc06a04b0ff5d1e172e77c6177917160f81a
|
File details
Details for the file sandboxai_client-0.0.2-cp311-cp311-macosx_11_0_x86_64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp311-cp311-macosx_11_0_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.11, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41704cd67c9d0ff1d956b88e4093d8e74f95ef863e21e676257cbe6cac43bee3
|
|
| MD5 |
051caf0158c96b06496a5e6b6b6fa57d
|
|
| BLAKE2b-256 |
5aebca46ec87efc1014757cc2f347dc1f30a9478e8c477424d7ded8c62afa8fa
|
File details
Details for the file sandboxai_client-0.0.2-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba19d4439bdec9ac78eb5a94a509e01e921f25fea1c518a52c0e21c070df033c
|
|
| MD5 |
43541888bd0dba05f1797b1cc2a76a59
|
|
| BLAKE2b-256 |
169a32ff36bf46090a8e9330e224a132dd01448e5b63f8f4d7eb1b2328a18907
|
File details
Details for the file sandboxai_client-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18f41a077a1314bc305508f4acc85590fd82dd2938871547e7a5d80833fbc46d
|
|
| MD5 |
68423699a686a856fe0492f4763f25b4
|
|
| BLAKE2b-256 |
6ecc2da81be5f9ba97029e135eaa4682a7807b32acd292e654426461440f8642
|
File details
Details for the file sandboxai_client-0.0.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- 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
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c3a56988d27b35119a5e1f9957d2256d06b985a8af93386192eb516cb3dfcfb
|
|
| MD5 |
11db1bdebcfd4ffa47b9c3961ad911bc
|
|
| BLAKE2b-256 |
64feb9b4a1f9e95a44a9948e83065df96064eefbc02ed682a158e09c88d508cf
|
File details
Details for the file sandboxai_client-0.0.2-cp310-cp310-macosx_11_0_x86_64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp310-cp310-macosx_11_0_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.10, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da2f32ce67dc933562dde0641c965d871006a39a1fca29cf4d03b1e9df9bd42b
|
|
| MD5 |
ea80bdb961d85828d33ed7d331d0919f
|
|
| BLAKE2b-256 |
9712ac92733fc8881976a4b3affcdbcb9d4138607cd9d658ae4a69581a37de95
|
File details
Details for the file sandboxai_client-0.0.2-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: sandboxai_client-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be37332646c2641e5c1e37818da21a147c5bcb1081678f45aef62d255357db91
|
|
| MD5 |
d3ddcf2932fceb5a4fda18b9f3bd5426
|
|
| BLAKE2b-256 |
ba9392918f1f33c5931507f9b2314f9eef7efc1ce3203306e59944448177b95d
|