Skip to main content

Secure sandboxes for AI agents and LLMs.

Project description

SandboxAI

Unleash your AI agents ... in a box!

SandboxAI is an open source runtime for executing AI-generated Python code and shell commands inside dynamic containers.

  • Flexible control
    • Full-agency - Set the agent loose within the container
    • Limited-agency - Give the agent access to specific commands
  • Container based
    • You define the environment
    • Integrate with existing tooling
  • Pluggable backends
    • Run on your local machine or a remote VM
    • Run on your Kubernetes cluster (coming soon)
  • Open REST API
    • Use the official Python or Go client
    • Generate your own client from the API spec

Where does it fit?

SandboxAI was designed to fit nicely into your AI software stack.

overview

Quickstart

Make sure you have docker installed.

TIP: Free alternatives to docker desktop...
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')"))
    print(box.run_shell_command("ls /"))

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sandboxai_client-0.0.1.tar.gz (87.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sandboxai_client-0.0.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

sandboxai_client-0.0.1-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sandboxai_client-0.0.1-pp310-pypy310_pp73-macosx_11_0_x86_64.whl (3.5 MB view details)

Uploaded PyPymacOS 11.0+ x86-64

sandboxai_client-0.0.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded PyPymacOS 11.0+ ARM64

sandboxai_client-0.0.1-cp313-cp313-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

sandboxai_client-0.0.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sandboxai_client-0.0.1-cp313-cp313-macosx_11_0_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

sandboxai_client-0.0.1-cp313-cp313-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

sandboxai_client-0.0.1-cp312-cp312-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

sandboxai_client-0.0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sandboxai_client-0.0.1-cp312-cp312-macosx_11_0_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

sandboxai_client-0.0.1-cp312-cp312-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

sandboxai_client-0.0.1-cp311-cp311-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

sandboxai_client-0.0.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sandboxai_client-0.0.1-cp311-cp311-macosx_11_0_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

sandboxai_client-0.0.1-cp311-cp311-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

sandboxai_client-0.0.1-cp310-cp310-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

sandboxai_client-0.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

sandboxai_client-0.0.1-cp310-cp310-macosx_11_0_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

sandboxai_client-0.0.1-cp310-cp310-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file sandboxai_client-0.0.1.tar.gz.

File metadata

  • Download URL: sandboxai_client-0.0.1.tar.gz
  • Upload date:
  • Size: 87.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for sandboxai_client-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e2bb9f6ff113ea4d3f67530338f405d2d0d23bedfc59c2a223f074610bc213e0
MD5 3bb1c0a07c319e9c1a6b010ce8c0be00
BLAKE2b-256 e654754d4bdffdd12826f69cf7b0c6b5294b9ceda6bcc0bcc0a55ecaeb9d3541

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab93b7abd57db6e214c974ee531b42f936c4b1ee5575cba889e343e3869a08a0
MD5 a8fca11be8f6f2931b62f018910b8254
BLAKE2b-256 a15482a2cf485f40b5563544309b9afeaa488932f62b89837a65cd86d1b0b3ec

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7569b69c0d5ba6cdca1dab73664248704e32b32a4fb9043cb50e7cb0d480809
MD5 1c00916c29d3616e5434e2944b3f092f
BLAKE2b-256 508b9c2ec3faa10c66ff5da7b23747fcbbb30ca061eee4e4115bd32f05096aee

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-pp310-pypy310_pp73-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-pp310-pypy310_pp73-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 4506c1e50bc0b9c78b078f18b1e1498d7aa3f6a22600b18e156643b296aa4920
MD5 260aa02b9560be973de74a9d20fcbd6e
BLAKE2b-256 fe7f27d9b0648dc53161d0e7f3f2362a2404197fa349d6b5c951baac1fe75ab1

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 99da6ece2af3b7810af29fb82eebe3a03d90156f2973716c4ac42f4bff412e91
MD5 ff386918a9df581def864442972556de
BLAKE2b-256 168819c89596b0203e317016374d4f63c37f3ccd8216de7f004f43517de2c31a

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5cffbd5e73ba3c188532e412fb57b8dc62d14144e146254c40e3cb71086f0266
MD5 c8a50376c5c5c1815525a3f4b73360a1
BLAKE2b-256 ccdb238be9479092f407583fd519563c441a67effb89d78c4aadc52fd80c6f24

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d48e6d384af9b8bc70e96e779969b965e2a99fb286d30a0c5b495994b837b418
MD5 d2aa17808114c13da6732abceef62b0f
BLAKE2b-256 eec4c5d6fe41ae9ce3f6bb72f967819ce8ee6559b744fa822c5f3e89c1b7c785

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7a5725342446753ceaec7f23d2a0d0d27628af301ac6dc97634fd2c9ecdd3f8a
MD5 06b0a8b9201b2408173166b6095ef09b
BLAKE2b-256 b6088e38fa31215f8eea13e42135a4cfcdbc005588e3e18f6f199d0e072c4cf0

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8659b5e37fbcae0ee27ac58645368dc2e4539f0a76d6b7193738300d845d6b2f
MD5 66d5ee3204392026ebc08b11ca1bad52
BLAKE2b-256 8ce8d458d5bf3b46b75993959fd61c881cf5edeb315d345ac68b7cbcd3d60b55

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 191fc9d2fa6ae5e51e986b32609b44de9ce0751f94d69f1bd8d909ab7893b787
MD5 ba1b6c468e0fb9739c696a38f186621a
BLAKE2b-256 0881ad856921ab0ed0f08ce0f3dd3a8b5bdaa690fb2174f453852c3c9860fb8e

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 68c85c22f29fcfbeeb95a6dd9defa1a810cfa8ed47be064543dfd9d630a363e1
MD5 b6234f1b1063743738d16760ae0c110d
BLAKE2b-256 0b63148b2a68eb84ead6fbc52ea16e8220082e5ab42a79d8b52c1ee4e4357cd9

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 8fb5bb2594c23132142778ebfab6a78b16716852e82bf9b2bc63d2344c72f1fd
MD5 40b008357fd3f29d10ccff9701a21fa4
BLAKE2b-256 3fecf9e7d339e612a7553046215983f433ec63f13ea4a30471303e60449a35ed

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5da55616d9ed6b2290cc8269c670bf557a20d44d5ac4fe1ecfd635de98c67f41
MD5 7602b56bc0bafc222c72e0f7879df5c5
BLAKE2b-256 94e632e549fc2fd2b29662abfab625413b76661d4fc130b028cce9b5e91470cf

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 09064ade2b00942988bbcb43305598f00d7cc2bead2449d761bb1d5ee2e23856
MD5 77965aeee872f63625707827d422cfa1
BLAKE2b-256 fd546a08f55f5f10216813d6d1d77284bf5e4f23584cb7e69c13914d199f1e90

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e012cb004ac8daa04c4622333fe4c828b82569045c53cdaa202a79ddec23d3ae
MD5 20400481d7f7eb898f803621be381773
BLAKE2b-256 e7e0b7324cdedbaef45c6706c508860e9e7d021907901f54ca57fdbadb809144

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 fe7c24a5d8579a061e2321c810988dedde4700a7f83c456b87a2b873e1ae2e7b
MD5 0e81538279511c2458e4b70cef84a446
BLAKE2b-256 207f605b1deb4476a720195625265dcef87a5bc3602b47e285ac5caad01f74c5

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3bbb95dc17aafc3308b01b29a723afeedbef5957283964f339ee9ab12c32622e
MD5 ce295460b51aa3ebd7de14bee30a5b7f
BLAKE2b-256 bdd40f65862a92cb10219314902c2c9c2a4452b3438fb93fecf8d2c744b08c59

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 56bbfcd49c2fe4899d39efac1d658574e635fae2a28c5066d9d1ce74145d70ff
MD5 f4bc19d6ab411e25f52cb961232cd975
BLAKE2b-256 a6182ce7ec92963c78fa3c987549a87f0309143a0902da2f9d14851784b5e2a7

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6db67077d62e2ca367b7b9046fa8d0262e041807cbe8b2360d65968e52189107
MD5 eec27a50ca48f9cac59a1e10f4417222
BLAKE2b-256 81654c5d6d0f1c9316d282c2cba26ff4d6dca8140887e2a582df18d29e3cd0e5

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 2d19b7e327509ba216fe3a617ff4f40838994f30afad85ba2c278b26b9bd742f
MD5 2dad2c22882ee5ae6c74b33c78994e24
BLAKE2b-256 010ff269782df4ea41405fe989269f819c88ccb086fdd06a274bdbca04a3a8cb

See more details on using hashes here.

File details

Details for the file sandboxai_client-0.0.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sandboxai_client-0.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 896bc78161f71be848982eb22f6d7b1327a71bc2d7ac8cce3f8db8c6688ca483
MD5 69b7be66eac5d15ba35f951aff98daf6
BLAKE2b-256 eecd3fa7251ddd710a44d728134a6633b1ef204fea85d9cf48e626e4927e9104

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page