A ready-to-run example is available here!Use the LLM registry to manage multiple LLM providers and dynamically switch between models.
Using the Registry
You can add LLMs to the registry using the.add method and retrieve them later using the .get() method.
Ready-to-run Example
This example is available on GitHub: examples/01_standalone_sdk/05_use_llm_registry.py
examples/01_standalone_sdk/05_use_llm_registry.py
The model name should follow the LiteLLM convention:
provider/model_name (e.g., anthropic/claude-sonnet-4-5-20250929, openai/gpt-4o).
The LLM_API_KEY should be the API key for your chosen provider.Next Steps
- LLM Routing - Automatically route to different models
- LLM Metrics - Track token usage and costs

