Metadata-Version: 2.4
Name: arp-standard-model
Version: 0.2.1
Summary: Pydantic models for the ARP Standard (v1).
Author: Agent Runtime Protocol
License-Expression: MIT
Project-URL: Repository, https://github.com/AgentRuntimeProtocol/ARP_Standard
Project-URL: Issues, https://github.com/AgentRuntimeProtocol/ARP_Standard/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.6.0
Provides-Extra: dev
Requires-Dist: pyright>=1.1.0; extra == "dev"
Dynamic: license-file

# ARP Standard Python Models (`arp-standard-model`)

Generated Pydantic models for the ARP Standard (v1).

## Install

```bash
python3 -m pip install arp-standard-model
```

## Usage

```python
from arp_standard_model import (
    RunRequestBody,
    RunStatus,
    RuntimeGetRunStatusParams,
    RuntimeGetRunStatusRequest,
)

req = RuntimeGetRunStatusRequest(params=RuntimeGetRunStatusParams(run_id="run_123"))
```

## Request model conventions

- `*RequestBody` aliases point to JSON body models (e.g., `RunRequestBody`).
- `*Params` models represent path/query parameters.
- `*Request` models wrap `params` and/or `body` and are used by the client facade.
- Request and params models are service-prefixed to avoid collisions (e.g., `RuntimeGetRunStatusRequest`).

## Wire format

Models use the exact JSON field names from the spec (no aliasing). When serializing manually, use `model_dump(exclude_none=True)`.

## Spec reference

`arp_standard_model.SPEC_REF` exposes the spec tag (for example, `spec/v1@v0.2.1`) used to generate the package.

## See also

- Spec (normative): [`spec/v1/`](../../spec/v1/README.md)
- Python client: [`clients/python/README.md`](../../clients/python/README.md)
