Skip to main content

AgentBox Python SDK that give agents cloud environments

Project description

What is AgentBox?

AgentBox is an infrastructure that allows you to run AI-generated code in secure isolated android sandboxes in the cloud.

Run your first Sandbox

1. Install SDK

pip install agentbox-python-sdk

2. Get your AgentBox API key

  1. Sign up to AgentBox here.
  2. Get your API key here.
  3. Set environment variable with your API key

3. Execute code with code interpreter inside Sandbox

from agentbox import Sandbox

sbx = Sandbox(api_key="e2b_xxx_xxx_xxx",
              template="tpl_xxx_xxx_xxx",
              timeout=120)
sbx.commands.run(cmd="ls /")

4. Check docs

Visit AgentBox documentation.

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

agentbox_python_sdk-0.2.6.tar.gz (13.6 MB view details)

Uploaded Source

Built Distribution

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

agentbox_python_sdk-0.2.6-py3-none-any.whl (13.7 MB view details)

Uploaded Python 3

File details

Details for the file agentbox_python_sdk-0.2.6.tar.gz.

File metadata

  • Download URL: agentbox_python_sdk-0.2.6.tar.gz
  • Upload date:
  • Size: 13.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.8 Darwin/23.2.0

File hashes

Hashes for agentbox_python_sdk-0.2.6.tar.gz
Algorithm Hash digest
SHA256 6e3c26a10a7e7d46e7f60153f8fad2d80871171bd66d9485f3c0b06d798c96b2
MD5 54224c2a4cc82d7b843b31f23d40bf04
BLAKE2b-256 6eb4ff819efe5fe56fd6ae8000ad5a4b3d319e72df6d2b259d2f3c2aeaddf8e3

See more details on using hashes here.

File details

Details for the file agentbox_python_sdk-0.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for agentbox_python_sdk-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fc5736eec126fc2c54db5886681a73802b3a790774c48fcf5f44cef347dc6fb6
MD5 0740d8f1071aaeed0a3bfad4cdfe6ce6
BLAKE2b-256 883bdc82227d8cc85fcab0807da60d3172db0db6cd3362c6cc8ce430b07be9b1

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