Define LLM configurations that agents and teams use for inference.
- Anthropic (Claude)
- OpenAI (GPT)
Dependencies
Depends on: Nothing directly, butapi_key typically uses a FieldReference to a pragma/secret resource.
Depended on by:
agno/agent— as the required modelagno/team— as the optional team lead modelagno/memory/manager— as the optional classification model
Notes
- Both model types are stateless — they wrap configuration without making API calls during creation.
- The
api_keyfield supports FieldReferences for injecting secrets from apragma/secretresource. - The
base_urlfield on the OpenAI model allows you to use OpenAI-compatible APIs (e.g., Azure OpenAI, local models).