Skip to main content

Web AI Agents SDK

Project description

Robutler Python SDK

PyPI version Python 3.10+ License

The official Python client for the Robutler Platform provides comprehensive access to all backend services using a modern object-oriented design with hierarchical resources and typed model objects.

Installation

pip install robutler

Quick Start

from robutler.api.client import RobutlerClient, RobutlerAPIError

# Modern object-oriented usage
async with RobutlerClient() as client:
    try:
        # Get user information - returns UserProfile object
        user = await client.user.get()
        print(f"Welcome {user.name} ({user.email})!")
        print(f"Plan: {user.plan_name}")
        print(f"Available credits: {user.available_credits}")
        
        # List agents - returns List[Agent]
        agents = await client.agents.list()
        for agent in agents:
            print(f"Agent: {agent.name} (Model: {agent.model})")
        
        # Get content files - returns List[ContentFile]
        content_files = await client.content.list()
        for file in content_files:
            print(f"File: {file.name} ({file.size_formatted})")
        
    except RobutlerAPIError as e:
        print(f"API Error: {e} (Status: {e.status_code})")

Environment Configuration

Set your API key:

# Required: Your Robutler Webagents API key
export WEBAGENTS_API_KEY="your-api-key"

Get your WEBAGENTS_API_KEY at https://robutler.ai/developer

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

robutler-0.2.0.tar.gz (679.8 kB view details)

Uploaded Source

Built Distribution

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

robutler-0.2.0-py3-none-any.whl (171.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for robutler-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b6c4b29efc9a907ed1142a4c12c1ae8ec49630710de758cd45ae89621f233582
MD5 66ed95b84385d13cbf13a90947bb7147
BLAKE2b-256 c1be9c0286fb529b3198cb559fb5519e219580319acf42c53f112bf612bd6a86

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for robutler-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e982fa8a7a03946f30d142bceaba320494f900058eedfca8e52354081ceacf0b
MD5 b84f715422009ff7a5945b83949a9880
BLAKE2b-256 9047be1ba25184bd72bdad3a50cc9797a7d4441ec9dc4912b04212454f2e65e0

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