mistralM

Docs

sideBar

Cookbooks

Hands-on notebooks and guides for building with the Mistral API.
search
Concept Deep Dive: TokenizationTokenization
Financial Analyst with MistralAI Agents API and MCPAgents
Build NutriSense - An AI-powered food diet companionAgents
Github Automation with Mistral AI AgentsAgentsGithub
Podcast research briefing agent with SpotifyAgents
PRD Generator & Linear Ticket Creator with MistralAI Agents API and MCPAgents
Travel Assistant
Match experts to project roles from their profiles with Mistral Apps
Modernize legacy Python code using GLM and the GitHub connectorAgents
Generate a playable HTML5 mini game using the GLM model via the Mistral APIAgents
Build a Slack investigation agent with the Agents SDK and Workflows
Parallel Subtask Agent WorkflowAgentsWorkflow
Serial Chain Agent Workflow - Content RepurposingAgentsWorkflow
Multi-Agent Earnings Call Analysis System (MAECAS)Agents
HubSpot Dynamic Multi-Agent System with Magistral ReasoningAgentsReasoning
IndustrialKnowledgeAgent: The Smart Industrial Equipment Knowledge AgentAgents
Multi Agent Workflow For RecruitmentAgents
Call Transcript-to-PRD-to-Ticket Agent: Converting Meeting Transcripts to Linear Tickets using Mistral AI LLMsAgents
Triage Slack messages into Intercom and a feature tracker with Mistral Apps
Build a real-time audio fact-checking agentAudioAgentsEmbeddings
Build a Database Advisor Agent with the DeepWiki Connector (Python)ConnectorsAgents
Build a Quickstart Generator with Connectors and Web SearchConnectorsAgents
Using Connectors in ConversationsConnectors
Connectors Tool CallingConnectors
Human-in-the-Loop Tool ConfirmationConnectors
Using Connectors in Chat CompletionsConnectors
Multiple Authentication MethodsConnectors
Connectors in WorkflowsConnectors
Build a Database Advisor Agent with the DeepWiki Connector (TypeScript)ConnectorsAgents
Build a Quickstart Generator with Connectors and Web Search (TypeScript)ConnectorsAgents
Data Generation: Refining News ArticlesData generation
Mistral Code Embedding and Retrieval EvaluationCode embedding
Embeddings Quantization & Dequantization CookbookDequantization
Mistral EmbeddingsEmbeddings
Basics of Function CallingFunction calling
Batch API Basics with Mistral AIVisionImage understandingBatch
BBox and Object Detection with MistralVision
Image Description Extraction using Mistral's Vision ModelsVisionImage understandingData Extraction
Efficient Multimodality with Function CallingVisionImage understandingFunction calling
Build a custom MCP server tic-tac-toe game for VibeMCP
Explore and learn about Mistral's Moderation serviceModeration
Policy-based content moderation with ShieldstralModeration
Implementing System-Level Guardrails with Mistral APIModerationGuardrails
Build an evaluation dataset and run a first evaluation
Evaluate and optimize a prompt with the Evaluation SDK
Score production traffic with online evaluations
OCR via Mistral's Batch API - Convert Images into Text at ScaleOCRBatch
Extract Data from Documents via AnnotationsOCRData ExtractionStructured outputs
Chat with your Documents with built-in Document QnAOCRDocumentsRAG
Mistral OCR / Document AI - PDF ChunkingOCR
Document ChunkingOCR
Enterprise Document AI with Mistral: Healthcare Document ProcessingOCR
Product Datasheet Analysis using Document AIOCR
Document Comprehension with Any Model via Tool Usage and OCROCRFunction calling
Prefix Use Cases: Language Adherence, Saving Tokens, Roleplay, Anti-JailbreakingPrompt EngineeringPrefix
Prompting Capabilities with Mistral AIPrompt EngineeringClassificationSummarizationPersonalizationEvaluation
00 — Concepts: a visual tour of the Mistral Search ToolkitRAG
RAG Basics with Mistral AIRAG
Web Search with ReferencesRAGReference
RAG with Multiple Databases via Function CallingRAGFunction calling
Exploring Mistral Reasoning Modes
Release cargo after dangerous goods and customs checks with a workflow
Modernize a legacy Python codebase with a workflow
Triage an insurance claim with vision
Summarize a week of Linear activity with a workflow
Create a Mathematical Preference Dataset with `distilabel`DPOSynthetic dataArgillaDistilabel
RAG with Mistral AI, Azure AI Search and Azure AI StudioSearchRAGAzure
🐫 Using CAMEL to Do Graph RAG with Mistral ModelsGraph RAGRAGCamel
🐫 CAMEL Role-Playing **Scraper** for **Report** & **Knowledge Graph** GenerationRoleplayCamel
Build a Chainlit App with Mistral AIReasoningChainlit
E2b JS AI Code Execution with Mistral's CodestralCodestralCode interpreterJavascriptE2B
Codestral with code interpreting and analyzing datasetPython code interpreterCodestralE2B
E2B Python AI Code Execution with Mistral's CodestralCodestralCode interpreterPythonE2B
Chat with Your PDF using Mistral and Gradio
Building Gradio app with Mistral OCR to extract text and images from PDFsOCRGradio
Using Mistral AI with HaystackDocumentsRAGHaystack
PDF Entity Extraction with Indexify and MistralPDFSummarizationIndexify
PDF Summarization with Indexify and MistralPDFSummarizationIndexify
Use Mistral with Kong AI Gateway
Adaptive RAG with LangchainAdaptive RAGRAGLangchain
Codestral with self-correctionCode assistantLangchainLanggraph
Feedback
Feedback
RAG Observability with Mistral AI and Langtrace
Adaptive RAG with LlamaIndexAdaptive RAGRAGLlamaindex
Using Mistral AI with LlamaIndexAgentsRAGLlamaindex
Building an LLM Agent to Find Relevant Research Papers from ArxivAgentsRAGObservabilityLlamaindex
Building an LLM Agent to Find Relevant Research Papers from ArxivAgentsRAGLlamaindex
Multi-Modal LLM using Mistral Pixtral-12B model for image reasoningMultimodalVisionLlamaindex
Fine Tuning MistralAI models using Finetuning API and LlamaIndexFinetuningLlamaindex
RAG Pipeline with Ollama, Mistral and LlamaIndex
Custom Retriever in PropertyGraphProperty graphCustom retrieveLlamaindex
Extractors and Retrievers in Property GraphProperty graphLlamaindex
PropertyGraph using Neo4jProperty graphNeo4j
Property Graph with Pre-defined SchemasProperty graphLlamaindex
PropertyGraph Index with Mistral AI and LlamaIndexProperty graphLlamaindex
RAG Pipeline with LlamaIndexRAGLlamaindex
Router Query Engine with Mistral AI and LlamaIndexQuery EngineLlamaindex
Sub-Question Query Engine with Mistral AI and LlamaIndexAgentsRAGLlamaindex
Feedback
Chat with Your PDF using Mistral and Mesop
Automated Prompt OptimizationPrompt EngineeringMetaGPT
Foundry Large-3 Doc Ai
Foundry Large-3 Eval Incomplete
Foundry Medium-3-5 Doc Ai Copy
Foundry Mistral Large-3 Tool Calling
Foundry Mistral Small Qna
Microsoft Agent Framework Demo
Foundry Agent Tool Calling with MCP
OCR-RAG Agentic Workflow
🏥 Invoice OCR Analyzer
Mistral-medium-3-5
Language Support OCR: Handwriting & Signature
Language Support OCR: Persian Handwriting to English
Mistral Document AI Basics
Mistral OCR-4 — Nvidia 10-Q Form Analysis
Mistral OCR-4 Comprehensive Feature Showcase
Sparse Table OCR — Net Income Analysis
Document Processing Pipeline: Mistral OCR 4 and Medium 3.5 on Azure Foundry
Build a RAG application with Milvus Lite, Mistral and Llama-indexRAGMilvus
Observability with Mistral AI and MLflowEvaluationRAGMlflow
RAG with Mistral AI and MongoDB
Microsoft AutoGen & Mistral Large 2407 - Retrieve information from a Postgresql DatabaseFunction callingAutogenPostgreSQLDistilabel
RAG on Neo4j databaseRAGNeo4j
Building a Text-to-SQL conversion system with Mistral AI, Neon, and LangChainSQLDatabaseNeon
Function Calling Rest API with Mistral7Bv3 using OllamaFunction callingLocalOllamaDistilabel
Sending Traces and metrics to OpenLIT
Chat with your PDF using Mistral and Panel
Simulate usage of our applicationEvaluationRAGPhoenixArize
Arize Phoenix TracingTracingPhoenixArize
Phospho
RAG with Mistral AI and PineconeRAGPinecone
Incremental Prompt Engineering and Model Comparison with Mistral using PixeltablePrompt EngineeringPixeltable
Build a bank support agent with Pydantic AI and Mistral AIAgentsPydantic AI
Monitor a Mistral support agent with Sentry
Chat with Your PDF using Mistral and Solara
Chat with Your PDF using Mistral and Streamlit
01 Prepare Data
Mistral and Weights & Biases: Finetune an LLM judge so detect hallucinationFinetuningEvaluationWandb
X-cmd