Python providers
Providers contracts and source references for Python.
Use the LanguageModel interface and the provider registry from forge.core. Concrete model objects are separate from the string provider reference in AgentConfig. Async generation and streaming run in the application event loop; keep cancellation and cleanup within that loop.
Python reference
Each reference records the source path, hash and declaration inventory for this language. Start at the import boundary before using a symbol found in a deeper implementation file.
Endpoint and model configuration
Read the provider's current catalog and select a model ID available to your account. Adapters may have configurable default endpoints. No model name in a source fixture is a promise of current provider availability. Test streaming, structured output, tool calls and cancellation separately for the selected provider.