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.1.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.1.0
File Size Uploaded Provenance Actions
roviers-0.1.0.tar.gz 5.6 kB Without provenance Details for roviers-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 13.0 kB

Release files / roviers-0.1.0.tar.gz

Download URL roviers-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
24b0c2e3bd4fdc3b1a1e0084ac9ad71032de7ca22089698aef3e3e14d9e1bfa1
BLAKE2b-256 checksum
How to use checksums
fbbf98e7a346d1ece10c7b863a5cdfcdb9ba95d62de3eb68df81737f8b8f2f94
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.1.0-py3-none-any.whl

Download URL roviers-0.1.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc7b3301da2ccacfc7fa3c3f3b5ca127208e52733668d7e9dca838de6cfd0559
BLAKE2b-256 checksum
How to use checksums
cb4b5bf9a656453b8ead601043a6662fcb3cd0b2babe60a899c902686ad3af99
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.1.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.1.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