Metadata-Version: 2.4
Name: lar1semantic
Version: 0.3.0
Summary: Reference Python implementation of LAR-1 semantic overlay
Project-URL: Homepage, https://github.com/carlsonchik/larone
Project-URL: Repository, https://github.com/carlsonchik/larone
Project-URL: Documentation, https://github.com/carlsonchik/larone/blob/main/SPEC.md
Author: LAR-1 contributors
License-Expression: MIT
Keywords: a2a,agent,lar-1,mcp,semantic-overlay
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Provides-Extra: dev
Requires-Dist: langchain-core>=0.3.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Description-Content-Type: text/markdown

# lar-1 (Python)

Reference Python implementation of **LAR-1** v0.2 semantic overlay.

## Install

```bash
pip install lar-1
# or from monorepo:
cd packages/lar1-python && pip install -e ".[dev]"
```

## API

```python
from lar1 import parse, validate, compact, serialize, deserialize_fields

data = parse("LAR:T=now,C=obs,L=0.9,V=verified_tool")
validate(data)  # True
compact(data)   # canonical LAR: string
serialize(data)  # application/lar+json
```

## CLI

```bash
lar1 validate 'LAR:C=obs,L=0.9'
lar1 compact message.json
lar1 json 'LAR:T=now,C=inf,L=0.7'
```

## Tests

```bash
pytest
```

Runs the same 74+ conformance fixtures as `@lar-1/core`.

## License

MIT
