Metadata-Version: 2.5
Name: accio-are
Version: 0.3.1
Summary: Composable Agent Rollout & Evaluation for experiments, training trajectories, and data generation
License-Expression: Apache-2.0
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: httpx<1,>=0.27
Requires-Dist: python-dotenv<2,>=1.0
Provides-Extra: e2b
Requires-Dist: e2b==2.28.0; extra == 'e2b'
Description-Content-Type: text/markdown

# ARE — Agent Rollout & Evaluation

ARE is a lightweight Python orchestrator for agent experiments, evaluations, training trajectories, and data generation. It composes tasks, agents, models, sandbox environments, and evaluators into explicit execution plans while preserving the behavior of the integrated systems.

## Install

Requires Python 3.11 or later.

```sh
python -m pip install accio-are
are --help
```

The distribution is named `accio-are`; the Python import and command are `are`. E2B integration is available with `python -m pip install 'accio-are[e2b]'`.

## Run a local task

Save the following as `spec.json`. This example runs on the Controller and requires no model, agent server, or sandbox credentials.

```json
{
  "schema_version": "are.execution-spec/v0.3.1",
  "configuration_name": "hello",
  "task": {"id": "hello", "type": "greeting", "data": {}},
  "steps": [
    {
      "id": "hello",
      "op": "exec",
      "params": {
        "environment": "controller",
        "command": "printf '%s' 'hello ARE'",
        "timeout": 10
      }
    }
  ],
  "outputs": {"greeting": {"$ref": "/steps/hello/stdout"}}
}
```

```sh
are spec validate spec.json
are execute spec.json --output ./outputs
```

ARE writes execution records and results under the output directory. Batch scheduling and a Python API support repeated runs and integration with external schedulers.

## Agent and sandbox integrations

Agent workflows can use Stable Agent Server, while environments can use local Docker, Accio Sandbox, or E2B-compatible services. Deployments supply the required services, network access, images, credentials, and task dependencies.

The public PyPI distribution name for Stable is `accio-stable`. Install a compatible published version in the environment that runs the Agent Server; ARE's base installation does not install Stable. For example, once version `0.0.1` is published:

```sh
python -m pip install --index-url https://pypi.org/simple/ 'accio-stable==0.0.1'
```

Repository documentation, examples, recipes, Inspector, and internal CI assets are not included in the ARE distribution.

## License

Licensed under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
