| Example | Description |
|---|---|
| Mistral Basic | Run a Mistral Small agent with plain and streaming print_response calls. |
| Mistral Image Bytes Input Agent | Analyze raw image bytes with a Ministral 14B agent. |
| Mistral Image Compare Agent | Compare two image URLs with a Ministral 14B agent. |
| Mistral Image File Input Agent | Analyze sample.jpeg with Ministral 14B and search for related news. |
| Mistral Image OCR With Structured Output | Extract receipt data into a structured schema with Ministral 14B. |
| Image Transcribe Document Agent | Transcribe a document image with a Ministral 14B agent. |
| Memory | Use personalized memories and summaries in an agent. |
| Mistral Small | Query Mistral Small with WebSearchTools and stream a news summary. |
| Retry | Review retry settings and why invalid model IDs cannot reliably exercise the retry path. |
| Mistral Structured Output | Produce a structured MovieScript from Mistral Large in both sync and async runs. |
| Mistral Structured Output With Tool Use | Combine web search with a Person output schema on Mistral Medium in a researcher agent. |
| Tool Use | Mistral tool use example with a custom function tool. |
Mistral
Mistral
Run Mistral models with image input, memory, structured output, retries, and tool use.