Metadata-Version: 2.5
Name: accio-are
Version: 0.4.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'
Provides-Extra: harbor-hub
Requires-Dist: harbor==0.22.0; (python_version >= '3.12') and extra == 'harbor-hub'
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]'`.

When upgrading from the previous internal `are` distribution, install `accio-are` in a fresh virtual environment. Both distributions provide the `are` module and entry points.

## 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.4.0",
  "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.

Agent workflows use the [Stable 0.1.2 wheel](https://accio-sg1-file.oss-ap-southeast-1.aliyuncs.com/wheelhouse/are/stable-0.1.2-py3-none-any.whl) in the Agent Server environment. Deployment configuration selects the wheel and installed version. The Agent Server must implement the `session_id` and `artifacts.root` contract.

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).
