Skip to main content

Roviers Python SDK 🤖

Broker & Agent Asynchronous Task & Claim-Check Vault Client for AI Agents, LLM Orchestrators (LangGraph, CrewAI, AutoGen), and distributed microservices.

Installation

pip install ./clients/python
# Or in editable mode:
pip install -e ./clients/python

Quick Start

import asyncio
from roviers import RoviersBrokerClient

async def main():
    # 1. Connect to Roviers Broker
    broker = RoviersBrokerClient(base_url="http://127.0.0.1:8080")

    # 2. Issue or load Agent Token
    await broker.issue_agent_token(
        agent_id="AGENT-RESEARCH-01",
        agent_name="Autonomous Research Agent",
        save_path="agent_token.json"
    )

    # 3. Submit heavy asynchronous request (returns in ~2ms with Receipt Token)
    receipt = await broker.submit(
        service_name="service.finance.risk_model",
        payload={"portfolio_id": "port_9921", "simulations": 10000}
    )
    print(f"Receipt received: #{receipt.receipt_id} (Status: {receipt.status})")

    # 4. Wait for real-time SSE signal and redeem outcome from Broker Vault
    outcome = await broker.wait_for_outcome(receipt.receipt_id)
    print("Vault Outcome:", outcome.result)

if __name__ == "__main__":
    asyncio.run(main())

LangGraph / CrewAI Agent Tool Integration

from roviers import RoviersBrokerClient, RoviersTool

broker = RoviersBrokerClient(base_url="http://127.0.0.1:8080", token="agent_token.json")

# Expose as a non-blocking agent tool
deep_research_tool = RoviersTool(
    broker=broker,
    service_name="service.ai.deep_research",
    name="deep_research",
    description="Runs deep multi-source research asynchronously without blocking agent loops"
)

Metadata

Release files for roviers 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 roviers 0.2.0
File Size Uploaded Provenance Actions
roviers-0.2.0.tar.gz 7.2 kB Without provenance Details for roviers-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 16.2 kB

Release files / roviers-0.2.0.tar.gz

Download URL roviers-0.2.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e779b15e6a1ec7a80a86cff3d296fda8f82b12094967c86acca5d4e471dba83d
BLAKE2b-256 checksum
How to use checksums
875177cd0d0e6357717c78da5839742c7b1b5d03dae00ad6936f27a1be55d097
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL roviers-0.2.0-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
875df6cbb2e35db0ab43130dfb9a52b91396be48372091e8c176231df1dae6a6
BLAKE2b-256 checksum
How to use checksums
ed5c13e5e983881d053c9ab64ba1be2d9b64301c13e18b44fd7ad1459122d966
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for roviers 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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