orchestrata_ultimate.providers

Reference › orchestrata_ultimate › providers

Provider Manager — unified LLM provider abstraction.

The providers package (specification 011) hides the operational reality of LLM backends behind one class, ProviderManager. APIs rate-limit, fail and cost money, so the manager picks a healthy, affordable and capable backend for each request and falls back when one fails. The LLM client (llm) is its caller. The hand-written story is providers.

Parts by role:

A request enters ProviderManager.execute; the router filters out providers with open breakers or exhausted rate limits and ranks the rest; the manager checks the budget, calls the adapter, records cost, health and breaker state, and on failure moves down the router's fallback chain. Start reading at provider_manager, then router.

Curated narrative

The hand-written story of this package: orchestrata_ultimate.providers.

16 modules, 2,722 lines of code.

Subpackages

Package Modules LOC
adapters 8 1,091

Modules

Module Summary LOC
__init__ Provider Manager — unified LLM provider abstraction. 10
circuit_breaker Per-provider circuit breaker. 198
cost_tracker Cost tracking and budget enforcement. 241
health_monitor Passive provider health monitoring. 103
provider_manager Provider Manager — unified LLM provider abstraction. 584
rate_limiter Per-provider rate limit tracking. 160
registry Provider registry. 110
router Request routing engine. 225

Dependency diagram

Package dependency diagram orchestrata_ultimate.providers