🎉 ai-infra v1.0 is here — Production-ready AI/LLM infrastructure
What's new
nfrax logonfrax

Infrastructure that just works. Ship products, not boilerplate.

Frameworks

  • svc-infra
  • ai-infra
  • fin-infra
  • robo-infra

Resources

  • Getting Started
  • What's New
  • Contributing

Community

  • GitHub

© 2026 nfrax. All rights reserved.

nfrax logonfrax
Start HereWhat's New
GitHub
ai-infra / API Reference

ProviderRegistry

from ai_infra.providers import ProviderRegistry
View source
ai_infra.providers

Central registry for all AI provider configurations. This class maintains a registry of all available providers and their capabilities. Provider modules register themselves when imported. The registry is lazily initialized - provider configs are only loaded when first accessed. Class Attributes: _providers: Dict mapping provider name to ProviderConfig. _initialized: Whether provider modules have been imported.

Methods

On This Page

getclassmethodget_api_keyclassmethodget_capability_configclassmethodget_default_for_capabilityclassmethodget_default_modelclassmethodget_default_voiceclassmethodget_env_varclassmethodget_modelsclassmethodget_voicesclassmethodis_configuredclassmethodlist_allclassmethodlist_configuredclassmethodlist_configured_for_capabilityclassmethodlist_for_capabilityclassmethodregisterclassmethodresetclassmethod