Skip to main content

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 /orchestrate
  • HRSMonitor — verdict logging interface
  • HRSVerdict, OrchestrateResult, SwarmResult — types

Metadata

Release files for papa-lang 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for papa-lang 0.2.0
File Size Uploaded
papa_lang-0.2.0.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for papa-lang 0.2.0
File Interpreter ABI Platform
papa_lang-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.0 kB

Release files / papa_lang-0.2.0.tar.gz

Download URL papa_lang-0.2.0.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
213855f3147606a0742b4b0d731abf47b2f82c002e0a03bf9f9a4564dfea2352
BLAKE2b-256 checksum
How to use checksums
d0cff9e4e38cb6bd7c1724a8f55163d2ffd8634e002f20e91cce741778b4bb83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / papa_lang-0.2.0-py3-none-any.whl

Download URL papa_lang-0.2.0-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dff217ec894dc32723c25e0611d5959b9871f6c1038d40943a15504d50abcca5
BLAKE2b-256 checksum
How to use checksums
c04d190323e9cf1007b27ca7055dae96b8a8d0a9b90a20b3bf187cb0c55028a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page