Skip to main content

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

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

papa_lang-0.2.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

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

Hashes for papa_lang-0.2.0.tar.gz
Algorithm Hash digest
SHA256 213855f3147606a0742b4b0d731abf47b2f82c002e0a03bf9f9a4564dfea2352
MD5 ce492b48c14cad2ddec21ae779a5f0ee
BLAKE2b-256 d0cff9e4e38cb6bd7c1724a8f55163d2ffd8634e002f20e91cce741778b4bb83

See more details on using hashes here.

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

Hashes for papa_lang-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dff217ec894dc32723c25e0611d5959b9871f6c1038d40943a15504d50abcca5
MD5 e0abab915323d2825e01909e2d12a2ed
BLAKE2b-256 c04d190323e9cf1007b27ca7055dae96b8a8d0a9b90a20b3bf187cb0c55028a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page