Skip to main content
When an Agent is created without a model, Agno sets OpenAIResponses(id="gpt-5.4") as the default. You’ll see this log line on the first run:
The default requires the openai package and the OPENAI_API_KEY environment variable. If the package is missing you’ll get an ImportError, and if the key is missing the run fails.

Set a Model Explicitly

Pass any model class to the model parameter:
Set the model explicitly in production. The default exists for quick experiments, and relying on it means your agent’s behavior changes when Agno updates the default ID.

Next Steps