The AI-native language: swarm agents + HRS anti-hallucination
Project description
papa-lang
The AI-native language: swarm agents + HRS anti-hallucination.
Install
pip install papa-lang
Requires papa-guard (installed automatically).
Quick Start
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 /orchestrateHRSMonitor— verdict logging interfaceHRSVerdict,OrchestrateResult,SwarmResult— types
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
papa_lang-0.2.0.tar.gz
(10.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
papa_lang-0.2.0-py3-none-any.whl
(13.2 kB
view details)
File details
Details for the file papa_lang-0.2.0.tar.gz.
File metadata
- Download URL: papa_lang-0.2.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
213855f3147606a0742b4b0d731abf47b2f82c002e0a03bf9f9a4564dfea2352
|
|
| MD5 |
ce492b48c14cad2ddec21ae779a5f0ee
|
|
| BLAKE2b-256 |
d0cff9e4e38cb6bd7c1724a8f55163d2ffd8634e002f20e91cce741778b4bb83
|
File details
Details for the file papa_lang-0.2.0-py3-none-any.whl.
File metadata
- Download URL: papa_lang-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dff217ec894dc32723c25e0611d5959b9871f6c1038d40943a15504d50abcca5
|
|
| MD5 |
e0abab915323d2825e01909e2d12a2ed
|
|
| BLAKE2b-256 |
c04d190323e9cf1007b27ca7055dae96b8a8d0a9b90a20b3bf187cb0c55028a8
|