Metadata-Version: 2.4
Name: abox-sdk
Version: 0.1.0
Summary: AgentBox SDK for secure cloud sandboxes
Author: RetailDriver LLC
License-Expression: MIT
License-File: LICENSE
License-File: NOTICE
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: wcmatch>=10.1,<12
Requires-Dist: protobuf-py>=0.1.1,<0.2
Requires-Dist: httpx>=0.27.0,<1.0.0
Requires-Dist: h2>=4.4.1,<5
Requires-Dist: attrs>=23.2.0
Requires-Dist: packaging>=24.1
Requires-Dist: typing-extensions>=4.10.0
Requires-Dist: dockerfile-parse>=2.0.1,<3
Requires-Dist: rich>=14.0.0
Requires-Dist: connectrpc>=0.11.1,<0.12
Requires-Dist: pyqwest>=0.10.0,<0.11
Requires-Python: >=3.10
Project-URL: Homepage, https://docs.agentbox.ru/en/sdk/
Project-URL: Documentation, https://docs.agentbox.ru/en/sdk/api-reference/python/
Project-URL: Repository, https://github.com/abox-dev/sdk/tree/main/packages/python-sdk
Project-URL: Bug Tracker, https://github.com/abox-dev/sdk/issues
Description-Content-Type: text/markdown

<p align="center"><img src="https://raw.githubusercontent.com/abox-dev/sdk/main/readme-assets/agentbox-logo-email.png" alt="AgentBox" width="240"></p>

# `abox-sdk`

The official Python SDK for AgentBox sandboxes and templates. The distribution is named `abox-sdk`; the Python package is `agentbox`.

```bash
pip install abox-sdk
```

Create an API key using the [API key guide](https://docs.agentbox.ru/en/quickstart/api-key/) and set `AGENTBOX_API_KEY`.

```python
from agentbox import Sandbox

with Sandbox.create() as sandbox:
    result = sandbox.commands.run('echo "Hello from AgentBox"')
    print(result.stdout)
```

Async and explicitly configured clients are supported:

```python
from agentbox import AgentBox

client = AgentBox(api_key="ab_...")
sandbox = await client.AsyncSandbox.create()
```

Documentation: [core SDK](https://docs.agentbox.ru/en/sdk/), [sandboxes](https://docs.agentbox.ru/en/sdk/sandboxes/), [commands](https://docs.agentbox.ru/en/sdk/commands/), [files](https://docs.agentbox.ru/en/sdk/files/), [templates](https://docs.agentbox.ru/en/sdk/templates/), and [API reference](https://docs.agentbox.ru/en/sdk/api-reference/python/).
