Skip to content

Mistral Agents API Documentation - May 2025 Launch Updates

Mistral Agents API Documentation - May 2025 Launch Updates

Section titled “Mistral Agents API Documentation - May 2025 Launch Updates”

Update Date: November 17, 2025 Launch Date: May 27, 2025 Documentation Version: 2.0

The Mistral Agents API documentation has been comprehensively updated to reflect the May 27, 2025 major platform launch. This update includes 3 new comprehensive guides (2,500+ lines of new content), extensive updates to existing documentation, and complete coverage of all new features.

Complete documentation for all 5 connectors launched May 27, 2025:

  • Secure sandboxed Python environment
  • NumPy, Pandas, Matplotlib support
  • Autonomous code generation and execution
  • 30-second timeout, 2GB memory limit
  • Complete examples for data analysis, calculations, visualizations
  • Black Forest Lab FLUX1.1 [pro] Ultra integration
  • High-quality text-to-image generation
  • Up to 2048x2048 pixel resolution
  • Iterative refinement patterns
  • ~10-15 seconds generation time
  • Standard web search
  • Premium sources: AFP (Agence France-Presse), Associated Press
  • Performance improvements:
    • Mistral Large: 23% → 75% on SimpleQA (+52pp)
    • Mistral Medium: 22.08% → 82.32% on SimpleQA (+60.24pp)
  • Real-time information retrieval
  • Source citation and verification
  • Native Mistral Cloud document integration
  • Semantic vector search
  • Multi-document retrieval
  • Automatic citation
  • Hybrid RAG + Web Search patterns
  • Server-side conversation state management
  • Unlimited conversation history
  • Cross-session continuity
  • Conversation branching support
  • ~50ms retrieval latency

Complete multi-agent collaboration framework:

  • Linear agent chains
  • Conditional branching
  • State passing between agents
  • Data processing workflows
  • Fan-out/Fan-in patterns
  • Competitive evaluation
  • Concurrent agent execution
  • Result synthesis
  • Manager-worker patterns
  • Recursive task decomposition
  • Specialized agent delegation
  • Complex coordination
  • Explicit handoff mechanisms
  • Context preservation
  • State management
  • Customer service workflows

Anthropic MCP implementation:

  • Standardized third-party tool connections
  • Tool discovery and invocation
  • JSON-RPC 2.0 protocol
  • HTTP/HTTPS transport
  • FastAPI server implementation
  • Tool exposure patterns
  • Database access
  • API gateway patterns
  • Multi-service orchestration
  • Bearer token authentication
  • API key support
  • OAuth 2.0 integration
  • IP whitelisting
  • Rate limiting
  • Docker containerization
  • Kubernetes deployment
  • Monitoring and metrics
  • Health checks and readiness probes

Size: 850+ lines Sections: 8 major sections Content:

  • Comprehensive guide to all 5 connectors
  • Configuration examples
  • Usage patterns
  • Best practices
  • Security considerations
  • Performance optimization
  • Complete multi-connector example

Key Examples:

  • Mathematical calculations with code execution
  • Image generation with iterative refinement
  • Web search with premium sources
  • Document retrieval with RAG
  • Persistent memory across sessions
  • Hybrid connector combinations

2. mistral_agents_api_orchestration_guide.md

Section titled “2. mistral_agents_api_orchestration_guide.md”

Size: 900+ lines Sections: 9 major sections Content:

  • Orchestration fundamentals
  • Sequential, parallel, hierarchical patterns
  • Agent handoff mechanisms
  • State management strategies
  • Complex workflow patterns
  • Event-driven orchestration
  • Production-grade orchestrator example

Key Patterns:

  • Linear data pipeline (4-agent chain)
  • Conditional routing based on classification
  • Parallel research team (fan-out/fan-in)
  • Competitive evaluation (multiple perspectives)
  • Manager-worker hierarchy
  • Recursive task decomposition
  • Customer service handoffs
  • Event-driven coordination

Size: 750+ lines Sections: 8 major sections Content:

  • MCP architecture and concepts
  • Anthropic MCP implementation details
  • Custom MCP server development
  • Tool exposure patterns
  • Integration best practices
  • Security and authentication
  • Debugging and troubleshooting
  • Production deployment guide

Key Components:

  • Complete FastAPI MCP server (200+ lines)
  • Database query tool with security
  • Notification and ticketing tools
  • Authentication middleware
  • Production deployment (Docker, K8s)
  • Monitoring and metrics
  • Error handling patterns

Updates:

  • ✅ May 27, 2025 launch announcement (prominent header)
  • ✅ Updated guide structure (5 → 8 documents)
  • ✅ New connector descriptions
  • ✅ Performance metrics section (SimpleQA benchmarks)
  • ✅ Supported models table update
  • ✅ “What’s New in May 2025” section
  • ✅ Updated document versions (v2.0)
  • ✅ Table of contents for new guides
  • ✅ Links to 3 new guides

Before: 364 lines After: 468 lines (+104 lines, +28.5%)

Updates:

  • ✅ May 2025 launch banner
  • ✅ Entries for 3 new guides with full section breakdowns
  • ✅ Updated Quick Lookup Table (12 new entries)
  • ✅ Updated statistics (5,500+ total lines, 100+ examples)
  • ✅ Emergency Quick Reference (4 new shortcuts)
  • ✅ Connector, orchestration, MCP sections

Before: 397 lines After: 497 lines (+100 lines, +25.2%)

  • Total Documents: 5
  • Total Lines: ~2,700
  • Code Examples: ~50
  • Coverage: Built-in features, basic patterns
  • Total Documents: 8 (+3 NEW)
  • Total Lines: 5,500+ (+2,800 lines, +103%)
  • Code Examples: 100+ (+50 examples, +100%)
  • Coverage: Full platform including connectors, orchestration, MCP
DocumentLinesExamplesTopics
Connectors Guide850+25+5 connectors, security, optimization
Orchestration Guide900+20+8 patterns, production examples
MCP Guide750+15+MCP architecture, custom servers
Total NEW2,500+60+20+ major topics
  1. ✅ Python Code Execution - Complete guide with sandbox details
  2. ✅ Image Generation - FLUX1.1 [pro] Ultra integration
  3. ✅ Web Search - Standard + Premium (AFP, AP) with metrics
  4. ✅ Document Library/RAG - Mistral Cloud integration
  5. ✅ Persistent Memory - Server-side state management
  1. ✅ Sequential Pipelines - Linear and conditional
  2. ✅ Parallel Execution - Fan-out/Fan-in
  3. ✅ Hierarchical Structures - Manager-worker
  4. ✅ Agent Handoffs - Explicit transfers
  5. ✅ State Management - Shared context
  6. ✅ Recursive Decomposition - Complex task splitting
  7. ✅ Event-Driven - Event handling patterns
  8. ✅ Production Patterns - Complete orchestrator
  1. ✅ Architecture - Protocol details
  2. ✅ Anthropic Implementation - Compatibility
  3. ✅ Custom Servers - FastAPI example
  4. ✅ Tool Patterns - Database, API, multi-service
  5. ✅ Best Practices - Design, errors, versioning
  6. ✅ Security - Authentication, authorization
  7. ✅ Debugging - Troubleshooting guide
  8. ✅ Deployment - Docker, Kubernetes

Documented in README.md:

  • Mistral Large: 23% baseline → 75% with web search (+52 percentage points)
  • Mistral Medium: 22.08% baseline → 82.32% with web search (+60.24 percentage points)

These metrics demonstrate the dramatic accuracy improvements from the Web Search connector, making it a critical feature for knowledge-intensive tasks.

  • Python code execution for calculations, data analysis, visualization
  • Image generation with FLUX1.1 [pro] Ultra
  • Web search with premium sources and citation
  • Document retrieval with RAG patterns
  • Persistent memory across sessions
  • Multi-connector agent combining all 5
  • 4-agent sequential data pipeline
  • Conditional routing classifier
  • Parallel research team (3 agents)
  • Competitive evaluation (3 perspectives)
  • Manager-worker system
  • Recursive task decomposer
  • Customer service handoff system
  • Event-driven orchestrator
  • Production orchestrator (complete)
  • Complete FastAPI MCP server
  • Database query tool with security
  • Notification service tool
  • Ticketing system tool
  • API gateway pattern
  • Multi-service orchestration
  • Docker deployment
  • Kubernetes deployment
  • Authentication middleware
  • Rate limiting implementation
  • ✅ Tool selection strategy
  • ✅ Combining multiple connectors
  • ✅ Error recovery patterns
  • ✅ Performance optimization
  • ✅ Security considerations (per connector)
  • ✅ Agent specialization
  • ✅ State management strategies
  • ✅ Error handling in pipelines
  • ✅ Production patterns
  • ✅ Monitoring and logging
  • ✅ Tool design principles
  • ✅ Error handling
  • ✅ Versioning strategies
  • ✅ Rate limiting
  • ✅ Security implementation
  • ✅ Code execution sandbox details
  • ✅ Web search privacy considerations
  • ✅ Document library access control
  • ✅ Memory data retention policies
  • ✅ Bearer token authentication
  • ✅ API key support
  • ✅ OAuth 2.0 integration
  • ✅ IP whitelisting
  • ✅ Input validation
  • ✅ SQL injection prevention
  • ✅ Read-only database users
  • ✅ Docker containerization (complete Dockerfile)
  • ✅ Kubernetes deployment (complete manifests)
  • ✅ Load balancing
  • ✅ Health checks
  • ✅ Readiness probes
  • ✅ Prometheus metrics
  • ✅ Logging configuration
  • ✅ Request tracing
  • ✅ Error tracking
  • ✅ Performance monitoring
  • ✅ Rate limiting
  • ✅ Timeout configuration
  • ✅ Error recovery
  • ✅ Graceful degradation
  • ✅ Circuit breaker patterns
  • Agent lifecycle
  • Conversation flow
  • Multi-agent orchestration
  • Tool execution workflow
  • Request/response processing
  • Memory persistence
  • Conversation state machine
  • API integration points

New Conceptual Diagrams (In Documentation)

Section titled “New Conceptual Diagrams (In Documentation)”
  • Connector architecture
  • MCP client-server architecture
  • Orchestration patterns (sequential, parallel, hierarchical)
  • State management flows
  • ✅ README → All new guides
  • ✅ GUIDE_INDEX → New guide sections
  • ✅ Connectors Guide → Orchestration, MCP
  • ✅ Orchestration Guide → Connectors, MCP
  • ✅ MCP Guide → Connectors, Orchestration
  • ✅ All guides → Production guide
  • ✅ Mistral AI official docs
  • ✅ Anthropic MCP specification
  • ✅ Black Forest Lab FLUX1.1
  • ✅ AFP, Associated Press
  • Use Python code execution → Connectors Guide
  • Generate images → Connectors Guide
  • Search web (premium) → Connectors Guide
  • Access documents (RAG) → Connectors Guide
  • Maintain conversation memory → Connectors Guide
  • Build sequential pipeline → Orchestration Guide
  • Parallel agent execution → Orchestration Guide
  • Manager-worker pattern → Orchestration Guide
  • Agent handoffs → Orchestration Guide
  • Connect custom tools (MCP) → MCP Guide
  • Third-party integrations → MCP Guide
  • See performance metrics → README
  • …use connectors → Connectors Guide
  • …build multi-agent system → Orchestration Guide
  • …integrate custom tools → MCP Guide
  • …see performance metrics → README

All code examples have been:

  • ✅ Syntax validated
  • ✅ Documented with inline comments
  • ✅ Tested against SDK patterns
  • ✅ Reviewed for security issues
  • ✅ Optimized for clarity
  1. No Breaking Changes: All existing code continues to work
  2. New Features: Opt-in to connectors, orchestration, MCP
  3. Enhanced Capabilities: Existing agents can add connectors
  4. Documentation: All v1.0 patterns still documented
  1. Review README “What’s New in May 2025”
  2. Explore Connectors Guide for new capabilities
  3. Consider Orchestration patterns for complex workflows
  4. Evaluate MCP for custom integrations
  5. Update to SDK v1.9.11+ for full feature support
  • ✅ All 5 connectors fully documented
  • ✅ 8+ orchestration patterns with examples
  • ✅ Complete MCP integration guide
  • ✅ Production deployment coverage
  • ✅ Security best practices
  • ✅ Performance optimization
  • ✅ Copy-paste ready code examples
  • ✅ Clear section organization
  • ✅ Comprehensive table of contents
  • ✅ Quick reference guides
  • ✅ Task-based navigation
  • ✅ Role-based reading paths
  • ✅ Aligned with May 27, 2025 launch
  • ✅ SDK version compatibility (v1.9.11+)
  • ✅ Performance metrics validated
  • ✅ Security practices reviewed
  • ✅ Production patterns tested
  1. mistral_agents_api_connectors_guide.md (850+ lines)
  2. mistral_agents_api_orchestration_guide.md (900+ lines)
  3. mistral_agents_api_mcp_guide.md (750+ lines)
  4. MAY_2025_LAUNCH_UPDATES.md (this file)
  1. README.md (+104 lines, comprehensive May 2025 updates)
  2. GUIDE_INDEX.md (+100 lines, navigation updates)
  • mistral_agents_api_comprehensive_guide.md (diagrams file, maintained)
  • mistral_agents_api_diagrams.md (maintained)
  • mistral_agents_api_production_guide.md (maintained)
  • mistral_agents_api_recipes.md (maintained)
  • mistral_agents_api_advanced_python.md (maintained)
  • mistral_streaming_server_fastapi.md (maintained)
  • +3 comprehensive guides (2,500+ lines of new documentation)
  • +60 code examples (production-ready, copy-paste ready)
  • +20 major topics (connectors, orchestration, MCP)
  • +103% documentation size (2,700 → 5,500+ lines)
  • 5 Built-in Connectors: Complete coverage with examples
  • Agent Orchestration: 8 patterns fully documented
  • MCP Integration: End-to-end implementation guide
  • Performance Metrics: SimpleQA benchmark results
  • Production Deployment: Docker, Kubernetes, monitoring
  • Comprehensive Examples: Every feature has working code
  • Security Best Practices: Documented for all components
  • Production Patterns: Enterprise-ready implementations
  • Cross-References: Seamless navigation between guides
  • Quick Reference: Task-based and role-based lookup
  1. Start with README for overview
  2. Review Connectors Guide to understand capabilities
  3. Try orchestration patterns for multi-agent systems
  4. Explore MCP if custom integrations needed
  1. Review “What’s New in May 2025” in README
  2. Enhance existing agents with connectors
  3. Refactor complex systems using orchestration
  4. Integrate custom tools via MCP
  1. Evaluate connector security implications
  2. Design orchestration architecture
  3. Plan MCP deployment for custom integrations
  4. Review production deployment guides

The Mistral Agents API documentation has been comprehensively updated to reflect the May 27, 2025 launch. With 3 new guides, 2,500+ lines of new content, 60+ new examples, and complete coverage of connectors, orchestration, and MCP, this documentation provides everything needed to build production-grade AI agent systems.

Key Achievements:

  • ✅ 100% feature coverage for May 2025 launch
  • ✅ Production-ready code examples throughout
  • ✅ Comprehensive security and best practices
  • ✅ Enterprise deployment guidance
  • ✅ Seamless navigation and cross-references

Documentation Version: 2.0 (May 2025 Launch Edition) Last Updated: November 17, 2025 Status: Complete and Ready for Use


Happy building with Mistral Agents API! 🚀