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.1.2.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.1.2-py3-none-any.whl (13.7 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentbox_python_sdk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4d5866389dee020d2df99bdc147b46959382a411a9d3cb8278f19d5bf888c444
MD5 1328f761cec51d4e0d28830a1544a701
BLAKE2b-256 7798d00cc5a634d5f31308358ef56312900824730089b4e544e38290cdb06db9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentbox_python_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b2311a1fa5168421da34756f9ed22e66ebb7668cf471be6ed03610a29bd5426
MD5 c1722bef39b70a34c35bf70c0cad5932
BLAKE2b-256 76fc2597664705229c8367f8beeec0139d6cff6474df3c17dd9d1bbea1a22b9c

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