Skip to main content

Token Budget Orchestrator — Active budget governance for multi-agent LLM systems

Project description

TBO Python SDK

Active budget governance for multi-agent LLM systems.

Install

pip install tbo[anthropic]  # or tbo[openai] or tbo[all]

Quick Start

from tbo import TBOClient, BudgetConfig

client = TBOClient(
    provider="anthropic",
    api_key="your-key",
    workspace="my-project",
    agent_id="support-bot",
    budget=BudgetConfig(max_tokens=100_000, period="daily"),
)

response = client.messages.create(
    model="claude-sonnet-4-20250514",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}]
)

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

token_budget_orchestrator-0.1.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

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

token_budget_orchestrator-0.1.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for token_budget_orchestrator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c12978a9d1103969d788b26b50f78a728fbb40bc2b6c6ac956720755a0d8ed55
MD5 2c9719047c9e12c735db9bc3ea5610b1
BLAKE2b-256 1769ab527a8985283252f12c83e4e87961a505e64ff3beb5a866a8a311f4e734

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for token_budget_orchestrator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebfb2971eb26a3372f575cf3f3cc1c77083c94c0ece1aa28e746c9399f053be9
MD5 38c2b1cfef38642361940517712d260e
BLAKE2b-256 00fdd016b9db8d1069a06c8e7a37d683108fc162311d9bfc82448be61d3c7009

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