Skip to main content

ROAR Protocol — Python SDK. Standalone implementation of the 5-layer agent communication standard.

Project description

roar-sdk

ROAR Protocol — standalone Python SDK. 5-layer agent communication standard.

Design by @kdairatchiProwlrBot/roar-protocol

Install

git clone https://github.com/ProwlrBot/roar-protocol.git
pip install -e ./python          # types + client + server (pydantic only)
pip install -e './python[http]'  # + httpx for HTTP transport
pip install -e './python[server]'  # + fastapi + uvicorn for serving

Quick Start

from roar_sdk import AgentIdentity, ROARMessage, MessageIntent, ROARClient, ROARServer

# Layer 1: identity
agent = AgentIdentity(display_name="my-agent", capabilities=["code"])

# Layer 4: message
msg = ROARMessage(
    **{"from": agent, "to": other},
    intent=MessageIntent.DELEGATE,
    payload={"task": "review"},
)
msg.sign("shared-secret")

See examples/python/ for runnable server + client. See ROAR-SPEC.md for the full protocol specification.

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

roar_sdk-0.2.0.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

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

roar_sdk-0.2.0-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

Details for the file roar_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: roar_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for roar_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8e75ff70374814c756233c9020c3ef06a4e8f8410a3c44b1a0ccae50ab848b3e
MD5 c5b5b93cdf7b7efa3601ce9e1794458b
BLAKE2b-256 75ff731cfaac090b5126a70800ab8dba5aaf7da9174424f0405a14dbfdff48f4

See more details on using hashes here.

File details

Details for the file roar_sdk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: roar_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 42.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for roar_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a3d412feca9786259e57e52d82c9c0332a02dea3b4149b0f83875eb1655b77a
MD5 52e30e1ceae8395679c453678784fbeb
BLAKE2b-256 a69fbf7333247d9728886c71cf57d935be8f0a20a8de06391bab17817d3dfe6a

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