codestralmodel is good for code generation and editing.mistral-large-latestmodel is good for most use-cases.open-mistral-nemois a free model that is good for most use-cases.ministral-14b-2512supports vision tasks such as OCR, document transcription, and image comparison.
Installation
mistralai>=2.0.0; the v1 compatibility layer was removed, and the agno[mistral] extra pins the floor. With a 1.x SDK installed, the import fails with the generic `mistralai` not installed message — upgrade the package rather than reinstalling it.
Authentication
Set yourMISTRAL_API_KEY environment variable. Get your key from here.
Example
UseMistralChat with your Agent:
View more examples here.
Params
MistralChat is a subclass of the Model class and has access to the same params.