Metadata-Version: 2.4
Name: a2al
Version: 0.1.2
Summary: Python client for a2al: spawn a2ald and call its REST API
Author: A2AL Authors
License: MPL-2.0
Project-URL: Homepage, https://github.com/a2al/a2al
Project-URL: Repository, https://github.com/a2al/a2al
Project-URL: Bug Tracker, https://github.com/a2al/a2al/issues
Keywords: a2al,a2a,agent,ai,sidecar
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# a2al (Python)

Python client for [a2al](https://github.com/a2al/a2al): spawns a local `a2ald` daemon and exposes a typed REST client for its API.

## Installation

```sh
pip install a2al
```

Pre-built `a2ald` binaries are bundled inside platform wheels for:

| Platform | Architecture |
|----------|-------------|
| Linux    | x86_64, arm64 |
| macOS    | x86_64, arm64 |
| Windows  | x86_64 |

On unsupported platforms, install `a2ald` manually and ensure it is on `PATH`, or set `A2ALD_PATH` to the executable path.

## Usage

```python
from a2al import Daemon, Client

with Daemon() as d:
    c = Client(d.api_base, token=d.api_token)
    print(c.health())
```

## Environment Variables

| Variable | Description |
|----------|-------------|
| `A2ALD_PATH` | Override path to the `a2ald` executable |
| `A2AL_API_TOKEN` | Bearer token when the daemon enforces auth |

## Requirements

- Python 3.10+
- No third-party dependencies (standard library only)
