Skip to main content
Reuse one Agent and assign a new model to agent.model between turns. Agno reformats stored messages and tool-call IDs for supported providers before sending the history to the next model.

Provider Support

Install dependencies:
Set the API keys required by each provider before running the example. See Environment variables.

Switch Models

Learn More