Metadata-Version: 2.3
Name: agentbox-python-sdk
Version: 0.0.1
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: 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: 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.cloud/
Project-URL: Repository, https://github.com/agentbox/python-sdk
Description-Content-Type: text/markdown

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

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

```py
from agentbox import Sandbox

with Sandbox() as sandbox:
    sandbox.run_code("x = 1")
    execution = sandbox.run_code("x+=1; x")
    print(execution.text)  # outputs 2
```

### 4. Check docs
Visit [AgentBox documentation](https://agentbox.cloud/docs).

