Metadata-Version: 2.4
Name: papa-lang
Version: 0.1.0
Summary: The AI-native language: swarm agents + HRS anti-hallucination
License: MIT
Project-URL: Homepage, https://github.com/papa-ecosystem/papa-lang
Project-URL: Repository, https://github.com/papa-ecosystem/papa-lang
Keywords: ai,llm,swarm,hallucination,orchestrator,hrs
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: papa-guard>=0.1.0
Requires-Dist: pydantic>=2.0
Requires-Dist: httpx>=0.25

# papa-lang

> The AI-native language: swarm agents + HRS anti-hallucination.

## Install

```bash
pip install papa-lang
```

Requires `papa-guard` (installed automatically).

## Quick Start

```python
import asyncio
from papa_lang import Orchestrator

async def main():
    orch = Orchestrator(base_url="http://localhost:8000", api_key="your-token")
    result = await orch.orchestrate("What is the capital of France?")
    print(result["response"])
    print(f"HRS: {result['hrs']}% — {result['verdict']}")

asyncio.run(main())
```

## Exports

- `Orchestrator` — client for papa-app /orchestrate
- `HRSMonitor` — verdict logging interface
- `HRSVerdict`, `OrchestrateResult`, `SwarmResult` — types
