Metadata-Version: 2.3
Name: agentbox-python-sdk
Version: 0.1.3
Summary: AgentBox Python SDK that give agents cloud environments
License: MIT
Author: agentbox
Author-email: agentbox@agentbox.cloud
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: adbutils (>=2.9.3,<3.0.0)
Requires-Dist: attrs (>=23.2.0)
Requires-Dist: httpcore (>=1.0.5,<2.0.0)
Requires-Dist: httpx (>=0.27.0,<1.0.0)
Requires-Dist: packaging (>=24.1)
Requires-Dist: paramiko (>=3.5.1,<4.0.0)
Requires-Dist: protobuf (>=5.29.4,<6.0.0)
Requires-Dist: python-dateutil (>=2.8.2)
Requires-Dist: typing-extensions (>=4.1.0)
Project-URL: Bug Tracker, https://github.com/agentbox/issues
Project-URL: Homepage, https://agentbox.lingyiwanwu.net/
Project-URL: Repository, https://github.com/agentbox/python-sdk
Description-Content-Type: text/markdown

## What is AgentBox?
[AgentBox](https://agentbox.lingyiwanwu.net/) 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](https://agentbox.lingyiwanwu.net).
2. Get your API key [here](https://agentbox.lingyiwanwu.net/dashboard?tab=keys).
3. Set environment variable with your API key 

### 3. Execute code with code interpreter inside Sandbox

```py
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](https://agentbox.lingyiwanwu.net/docs).

