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.1.0.tar.gz (3.5 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.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file papa_lang-0.1.0.tar.gz.

File metadata

  • Download URL: papa_lang-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 f50b4da4f22af375ced66e511ebd83bb8524fc49cf5c27b5e5208c29a2eac542
MD5 52b459e5dff850837775e797213ccc1d
BLAKE2b-256 90a623514f0be914a0f7187aff6b75418c00b7a02ae5d58337f3841ddee444fd

See more details on using hashes here.

File details

Details for the file papa_lang-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: papa_lang-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00148bc850491b478f428ea930cbf1ca1e25dbdb1fd9786667d4ed25d68e173b
MD5 d35f24d842fbeed23fd925434913be3f
BLAKE2b-256 cb3a6e46b87225e2af2c62258ea41c0467aa0dd478bb4518efeef13eb209b5a8

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