Mistral Agents API
1. 介绍
1.1. 平台定位
Mistral Agents API 是法国模型厂商 Mistral AI 推出的服务端 Agent 运行时:构建于 Chat Completions 之上,把「智能体」从客户端拼装的多轮调用,升级为服务端托管的有状态运行时。官方将其定位为「企业级智能体平台的主干(the backbone of enterprise-grade agentic platforms)」。
它的差异化来自三件事的组合:其一,内置连接器(代码执行、Web 搜索、图像生成、文档库 RAG)开箱即用;其二,模型开放权重(Apache 2.0)可自托管,API 与权重双轨;其三,EU 数据驻留与 EU AI Act 合规——在欧洲市场,这是美国厂商难以复制的护城河。
首发日期口径说明:国际通行口径为 2025-05-27(testingcatalog、iThome、Kingy AI 等多方一致,Mistral 官方推文同日);另有个别第三方目录给出 2026-04/05 的口径(callsphere、agentquadrant),与主流证据冲突。本文以 2025-05-27 为主口径,冲突口径并列保留,标 。
1.2. 基本信息卡
| 项目 | 内容 | 置信度 |
|---|---|---|
| 开发商 | Mistral AI(法国巴黎) | 高(官方) |
| 发布时间 | 2025-05-27(国际通行口径);另有 2026-04/05 冲突口径 | 中高 |
| 形态 | 构建于 Chat Completions 之上的服务端 Agent 运行时(API) | 高(官方发布页) |
| 开源 / 闭源 | API 服务闭源;模型开放权重 Apache 2.0 | 高 |
| 定价 | Medium 3:$0.40 / $2.00 每百万 tokens(输入 / 输出);连接器按调用计费:Web 搜索与代码执行 $30 / 1,000 次、图像生成 $100 / 1,000 次;EU 端点加收 10% | 中高 |
| 模型 | mistral-medium-latest、mistral-large-latest;后续 Medium 3.5(驱动 Mistral Vibe 远程代理) | 中高 |
| 部署 | La Plateforme(托管)/ Azure AI Foundry / AWS Bedrock(开源权重)/ On-prem 容器 | 高 |
| 商业背景 | $2B 融资轮;微软合作加深;EU AI Act 合规档案 2026-04 公开 | 中 |
1.3. 发展时间线
| 时间 | 事件 | 来源等级 |
|---|---|---|
| 2025-05-27 | Agents API 首发:内置连接器 + 持久记忆 + 多 Agent 编排 + 流式输出 | 高(官方发布 + 多方一致) |
| 2025 年内 | Medium 3 发布:$0.40/$2.00 每百万 tokens,约为主流旗舰 1/8 价 | 中 |
| 2026-04 | EU AI Act 合规档案公开;$2B 融资轮报道 | 中 |
| 2026-05-22 | 程序化 MCP 连接器 API/SDK:带人工审批门(human-in-the-loop approval gates) | 中 |
| 2026-06-23/24 | 连接器治理升级:可配置 Guardrails(按 Agent 或按请求)、per-workspace 管理控制、scoped API key、Connectors Debugger | 中 |
| 2026 年内 | 驱动 Mistral Vibe(Le Chat 更名)的远程代理(remote agents),运行于 Medium 3.5 | 中 |
1.4. 在 AI Harness 体系中的位置
按参数卡边界定义,Mistral Agents API 是 模型厂商的托管 Agent 运行时——与 OpenAI Responses API / Agents API、Anthropic 的 Agent 能力同属「模型厂把 Harness 做进服务端」的路线。三重坐标:
- 与 OpenAI Agents API(详见
21-openai-agents-api.md)对照:二者都是「单次调用创建 Agent」的托管形态,但 Mistral 的记忆与编排语义更偏「有状态会话 + 动态 handoffs」,且以开放权重自托管作为兜底选项; - 与既有
02-openai-agents-sdk.md的 SDK 路线对照:SDK 是客户端库,Agents API 是服务端运行时——Mistral 只做了后者,没有发布对等的编排框架; - 合规坐标:EU 数据驻留 + 开放权重 + on-prem 容器,是本组中「数据主权」维度最强的托管型产品。
2. 名词解释
| 术语 | 英文/缩写 | 释义 |
|---|---|---|
| Agents API | Agents API | Mistral 的服务端 Agent 运行时,构建于 Chat Completions 之上 |
| 连接器 | Connectors | 部署就绪、Agent 可按需调用的内置工具:代码执行、Web 搜索、图像生成、文档库 |
| 代码执行 | Code Execution | 在安全沙箱中执行 Python 代码的托管连接器 |
| Web 搜索 | Web Search | 结合模型与实时网络信息的搜索连接器 |
| 图像生成 | Image Generation | 基于 FLUX1.1 [pro] Ultra 的图像生成连接器 |
| 文档库 | Document Library | Mistral Cloud 上用户上传文档的托管检索,驱动内置 RAG |
| MCP 工具 | MCP Tools | 经 Model Context Protocol 接入的外部工具 |
| Handoffs | Handoffs | 动态多 Agent 编排:会话中按需加入、移除或移交专业 Agent |
| Conversation | Conversation | 有状态会话对象:自动维护结构化历史与上下文 |
| 会话分支 | Conversation Branching | 从历史节点分叉出新会话路径的能力 |
| 持久记忆 | Persistent Memory | 跨对话的服务端记忆,无需客户端回传历史 |
| Agent 对象 | Agent | 可配置模型、指令与工具的持久化智能体定义 |
| Guardrails | Guardrails | 可配置护栏:按 Agent 或按请求生效(2026-06-23 起) |
| Connectors Debugger | Connectors Debugger | 连接器调试器:排查工具调用问题(2026-06-24 起) |
| Mistral Vibe | Mistral Vibe | Le Chat 的更名形态,其远程代理由 Agents API 驱动 |
| La Plateforme | La Platforme | Mistral 的托管开发平台,Agents API 的默认宿主 |
| SimpleQA | SimpleQA | 事实问答基准:Mistral Large 带搜索 75% vs 无搜索 23% |
3. 功能说明
3.1. 内置连接器
| 连接器 | 能力 | 计费 |
|---|---|---|
| 代码执行 | 安全沙箱内执行 Python:数学计算、数据分析、可视化、科学计算 | $30 / 1,000 次 |
| Web 搜索 | 结合网络信息、权威新闻等来源,输出有依据的回答 | $30 / 1,000 次 |
| 图像生成 | 基于 FLUX1.1 [pro] Ultra 生成图像 | $100 / 1,000 次 |
| 文档库 | 访问 Mistral Cloud 上用户上传的文档,驱动内置 RAG | 随平台计费 |
| MCP 工具 | 经 MCP 协议接入外部系统(API、数据库、文档、用户数据) | 随平台计费 |
Web 搜索的效果有官方基准支撑:SimpleQA 上 Mistral Large 带搜索 75%(无搜索 23%)、Mistral Medium 82.32%(无搜索 22.08%)。
3.2. 有状态会话与持久记忆
- Conversation 对象:以 agent_id 或直接指定模型两种方式开启;会话自动维护结构化历史(conversation entries),开发者无需自行回传对话历史——这与 Chat Completions 的无状态语义形成根本区别;
- 会话分支:从历史节点分叉出新路径,便于探索与回归测试;
- 持久记忆:跨对话的服务端记忆,Agent 在多次交互间保持上下文连贯。
3.3. 多 Agent 编排与 handoffs
- 动态 handoffs:专业 Agent 可在会话中按需加入、移除或移交控制权——区别于固定的 DAG 流水线,编排拓扑在运行时演化;
- 官方示例场景:GitHub 编排 Agent(监督 DevStral 开发 Agent 的完整 GitHub 权限)、Linear 工单助手(多 MCP Server 架构:通话记录 → PRD → 可执行工单)、金融分析师(多 MCP Server 编排:指标采集 → 洞察汇总 → 安全归档)、旅行助手与营养助手;
- 2026-05-22 起支持程序化 MCP 连接器与人工审批门,把 HITL 接入编排链路。
3.4. 部署矩阵与合规
| 部署方式 | 说明 |
|---|---|
| La Plateforme | 默认托管,EU 数据驻留;EU 端点固定加收 10% |
| Azure AI Foundry | 经微软云分发,深度绑定微软合作 |
| AWS Bedrock | 开源权重经 Bedrock 承载 |
| On-prem 容器 | 自托管部署,数据完全本地 |
模型开放权重(Apache 2.0)意味着:即使放弃 API,用户也能以 vLLM 等方式自托管模型——「锁定逃生通道」是本产品商业逻辑的独特一环。
4. 平台架构
4.1. 服务端 Agent 运行时分层
- API 层:Agents API(Agent 定义、会话管理、流式输出)+ Chat Completions(底层推理);
- 运行时层:Conversation 有状态管理、持久记忆、handoffs 编排、Guardrails(2026-06 起);
- 工具层:四大内置连接器 + MCP 工具 + 程序化连接器 SDK(含审批门);
- 模型层:Mistral 全系模型(medium / large / Medium 3.5 等),开放权重可自托管;
- 承载层:La Plateforme / Azure AI Foundry / AWS Bedrock / on-prem 多形态。
4.2. 一次带工具调用的会话流
- 开发者创建 Agent(指定模型、指令、启用的连接器与 MCP 工具)或直接以模型参数开启会话;
- 每次调用指向 Conversation,服务端自动装配历史与持久记忆;
- 模型决策是否调用工具:代码执行进入沙箱,Web 搜索取实时信息,文档库触发 RAG 检索;
- 工具结果回灌,继续推理直至产出最终回答(支持流式输出);
- 复杂任务经 handoffs 移交专业 Agent,各自维护上下文;
- Guardrails 在调用边界校验(按 Agent 或按请求配置);
- 全部状态留在服务端,客户端零状态。
5. Harness 设计
5.1. 六层能力总览
| 层 | 名称 | 评级 | 判断依据 |
|---|---|---|---|
| L1 | 上下文工程 | 中强 | 文档库 RAG 连接器 + 服务端自动装配历史;上下文压缩 |
| L2 | 工具与执行 | 中强 | 代码执行沙箱 + 四连接器 + MCP 原生;工具类型少于云平台 |
| L3 | 编排与控制 | 中强 | 动态 handoffs 多 Agent 编排;无显式状态机 |
| L4 | 记忆与状态 | 中强 | 服务端持久记忆 + 会话分支 |
| L5 | 评估与观测 | 弱 / 中 | ;公开材料未见系统化评估观测能力 |
| L6 | 治理与安全 | 中强 | EU 数据驻留 + EU AI Act 合规档案 + Guardrails + 审批门 |
强弱层判断:L4 与 L6 是相对强项(服务端有状态记忆与数据主权治理),L5 是最弱层——评估观测的公开描述近乎空白。
5.2. L1 上下文工程层
- 服务端 Conversation 机制把「上下文装配」从客户端责任转为平台责任:结构化历史自动维护,开发者不再手工拼接消息数组;
- 文档库连接器提供托管 RAG:上传文档即可被 Agent 检索;
- 短板:上下文压缩(Compaction)机制、长会话的窗口管理策略未公开,;无检索优先级排序的可配置原语。
5.3. L2 工具与执行层
- 代码执行沙箱:托管 Python 解释器,覆盖计算密集型工具需求;
- 连接器按调用计费的工具经济学:Web 搜索 / 代码执行 $30 / 1,000 次、图像生成 $100 / 1,000 次——重工具使用场景下,账单增长快于 token 价差(Medium 3 约 1/8 旗舰价的成本优势会被工具调用稀释),选型时须按负载形态估算;
- MCP 原生支持:外部系统接入路径开放;2026-05 起程序化连接器 SDK 补齐自动化接入能力;
- 与云平台对比:工具类型少于 AgentCore(无浏览器、无企业 Gateway),但连接器治理(scoped key、Debugger)补了工程化短板。
5.4. L3 编排与控制层
- 动态 handoffs 是编排核心原语:Agent 集合在会话中动态演化,适合「专家会诊」型任务;
- 无显式状态机、无 interrupt / time travel 类原语——可控性不及 LangGraph 图模型;
- 人工审批门(2026-05-22)提供了 HITL 中断点,是编排层唯一的显式控制机制;
- 长任务能力受限于会话语义,无 LangGraph 式持久执行与断点续跑的公开说明。
5.5. L4 记忆与状态层
- 服务端持久记忆是本平台的标志性能力:记忆留在 Mistral 云端,客户端无状态,跨会话连贯性由平台保证;
- 会话分支为状态探索提供了少见的工程化原语:从任意历史节点分叉,便于 A/B 与回归;
- 记忆的存储结构、遗忘策略与导出能力未公开,——对数据敏感用户,记忆不出域(on-prem 部署下)是关键取舍点。
5.6. L5 评估与观测层
- 公开材料未见系统化的评估与观测能力描述,是六层中最明显的空白;
- Connectors Debugger(2026-06-24)提供了工具调用层面的调试能力,属于观测的局部补充;
- 会话历史与 conversation entries 可作为轨迹数据源,但无原生 trace / 指标 / 回归集产品;
- 选型建议:若采用 Agents API,L5 需外挂(Langfuse、LangSmith 类),或等待其 AI Studio 平台观测能力的公开进展。
5.7. L6 治理与安全层
- EU 数据驻留:La Plateforme 默认 EU;EU 端点加收 10%——合规成本显性化;
- EU AI Act 合规档案(2026-04 公开):本组中唯一主动公开合规档案的厂商;
- Guardrails(2026-06-23):按 Agent 或按请求粒度的可配置护栏;
- 连接器治理:per-workspace 管理控制、scoped API key——工具调用的最小权限化;
- 审批门:高风险 MCP 调用前插入人工确认;
- 权重自托管兜底:极端主权场景可离开 API 完全自托管——这是其他托管型产品不具备的治理逃生通道。
5.8. 服务端运行时构成示意
图 18-1|Mistral Agents API 服务端运行时构成
数据来源:Mistral 官方发布页与第三方核验(截至 2026-09-12),示意。
6. 实际案例
案例一:官方示例场景(cookbook 口径)
官方发布页与 cookbook 提供 5 类参考实现:GitHub 编排 Agent(监督 DevStral 开发代理的完整仓库权限)、Linear 工单助手(通话记录 → PRD → 可执行工单的多 MCP 管线)、金融分析师(多 MCP Server 指标采集与安全归档)、旅行助手、营养助手。均为演示级,无生产规模数据。
案例二:SimpleQA 基准(官方口径)
Mistral Large 带搜索 SimpleQA 75%(无搜索 23%)、Mistral Medium 82.32%(无搜索 22.08%)——Web 搜索连接器对事实类任务提升显著的直接证据。Medium 3 其他基准(SWE-bench Verified 67.9%、tau-bench retail 90.4%、MMMU 79.8%、HumanEval 88.2%)为第三方转述官方口径,。
未检索到公开量化数据的部分:企业客户的生产部署规模、成本节省与可靠性指标均未检索到可验证数据。该 API 的评估观测能力描述亦缺失(详见 5.6 节)。此处如实标注,不做补全。
7. 总结
7.1. 优点
- 服务端有状态:Conversation + 持久记忆把上下文管理从客户端责任转为平台责任;
- 连接器开箱即用:代码执行、搜索、图像、RAG 四件套免搭建;
- 数据主权纵深:EU 驻留 + AI Act 合规档案 + 权重自托管兜底,欧洲市场最强;
- 成本结构透明:模型价与工具价分开计费,可按负载形态精确估算;
- MCP 原生 + 治理跟进:审批门、scoped key、Debugger 迭代节奏快;
- 会话分支:状态探索与回归测试的少见原语。
7.2. 缺点
- L5 空白:评估与观测能力几乎无公开描述,生产化需外挂;
- 编排可控性弱:动态 handoffs 灵活但无显式状态机,长任务持久执行能力未证实;
- 工具经济学陷阱:重工具场景下连接器计费使成本优势收窄;
- 首发口径冲突:2025-05-27 主口径与个别 2026-04/05 口径并存,;
- 生态位受挤压:对比 OpenAI / AWS 的托管运行时,模型多样性与企业集成面偏窄;
- 上下文压缩机制未公开:超长会话行为不可预期。
7.3. 适用边界
| 场景 | 是否适用 | 理由 |
|---|---|---|
| 欧洲企业 / 数据驻留强要求 | 最适用 | EU 驻留 + 合规档案 + 自托管兜底 |
| 事实增强型问答与知识助手 | 适用 | Web 搜索 + 文档库 RAG 有基准支撑 |
| 需要 MCP 编排的中型企业工作流 | 适用 | 多 MCP Server 示例成熟 |
| 长任务持久执行 | 需权衡 | 持久执行能力未证实 |
| 深度评估驱动的生产迭代 | 需权衡 | L5 空白,需外挂 |
| 重图像生成的负载 | 需权衡 | 图像生成计费偏高 |
7.4. 选型建议
- 欧洲合规场景:Mistral Agents API 是托管型产品中的首选,OpenAI / AWS 无等效数据主权组合;
- 与 OpenAI Agents API(详见
21-openai-agents-api.md)对比:OpenAI 胜在长时运行代理与沙箱基础设施,Mistral 胜在主权与开放权重; - 与 SDK 路线(
02-openai-agents-sdk.md)对比:想省客户端工程选托管 API,想完全掌控运行时选 SDK; - 采用前务必按「token + 工具调用」双维度做成本模型,避免被 1/8 模型价误导。
信息缺口声明
- 首发日期口径冲突:2025-05-27(主流证据)与 2026-04/05(个别第三方目录)并存,以官方 news 页定谳为 。
- Medium 3 基准分数:SWE-bench Verified 等分数为第三方转述官方口径,未核验原始报告,标 。
- 评估观测能力:Agents API 自身的 trace / 指标 / 回归能力无公开描述,标 。
- 上下文压缩机制:长会话窗口管理策略未公开。
- 持久记忆细节:存储结构、遗忘策略、导出能力未公开。
- AI Studio 平台关系:Temporal-based Agent Runtime 等平台级能力与 Agents API 的边界未系统公开,标 。
8. 参考资料
- Build AI agents with the Mistral Agents API — Mistral AI 官方发布页。https://mistral.ai/news/agents-api
- Mistral Agents API — 官方文档。https://docs.mistral.ai/agents/
- Mistral AI opens Agents API for public use — TestingCatalog,2025-05-27。https://www.testingcatalog.com/mistral-ai-released-agents-api-for-agent-development/
- Mistral 推出 Mistral Agents API — iThome,2025-05。https://ithome.com.tw/news/169218
- Mistral Agents API Launch — Kingy AI Launch Tracker。https://kingy.ai/ai-launch-tracker/mistral-agents-api-2025-05-27-new-product/
- Mistral Agents API — AgentMarketCap(更新时间线与连接器计费)。http://agentmarketcap.ai/agents/mistral-agents
- Top APIs for Building Autonomous AI Agents — agentquadrant(2026-04/05 冲突口径来源)。https://agentquadrant.com/blog/top-apis-building-autonomous-ai-agents
- Mistral Console — La Plateforme 控制台。https://console.mistral.ai
- Mistral AI — 官方网站。https://mistral.ai
- R18-IDE-Agents-补充平台 检索报告 — 本项目内部检索报告(AG-4 关键事实卡)。
Mistral Agents API
1. Introduction
1.1. Platform positioning
Mistral Agents API is the server-side Agent runtime launched by the French model vendor Mistral AI: built on top of Chat Completions, it upgrades the "agent" from a multi-turn invocation assembled on the client into a server-hosted stateful runtime. Officially it is positioned as "the backbone of enterprise-grade agentic platforms".
Its differentiation comes from a combination of three things: first, built-in connectors (code execution, web search, image generation, document-library RAG) work out of the box; second, the model has open weights (Apache 2.0) and can be self-hosted, with two tracks for API and weights; third, EU data residency and EU AI Act compliance — in the European market, this is a moat that US vendors find hard to replicate.
Note on the initial-release-date accounts: the internationally prevailing account is 2025-05-27 (consistent across testingcatalog, iThome, Kingy AI and others, with Mistral's official tweet on the same day); a few third-party directories give a 2026-04/05 account (callsphere, agentquadrant), which conflicts with the mainstream evidence. This article uses 2025-05-27 as the primary account and keeps the conflicting account alongside it, marked [To be verified].
1.2. Basic information card
| Item | Content | Confidence |
|---|---|---|
| Developer | Mistral AI (Paris, France) | High (official) |
| Release date | 2025-05-27 (internationally prevailing account); also 2026-04/05 conflicting account | Medium-High |
| Form | Server-side Agent runtime (API) built on Chat Completions | High (official release page) |
| Open / Closed source | API service closed source; model open weights Apache 2.0 | High |
| Pricing | Medium 3: $0.40 / $2.00 per million tokens (input / output); connectors billed per call: $30 / 1,000 calls for Web Search and Code Execution, $100 / 1,000 calls for Image Generation; EU endpoints +10% | Medium-High |
| Models | mistral-medium-latest, mistral-large-latest; later Medium 3.5 (drives Mistral Vibe remote agents) | Medium-High |
| Deployment | La Plateforme (managed) / Azure AI Foundry / AWS Bedrock (open weights) / On-prem container | High |
| Business background | $2B funding round; deepening Microsoft partnership; EU AI Act compliance dossier published 2026-04 | Medium |
1.3. Development timeline
| Time | Event | Source level |
|---|---|---|
| 2025-05-27 | Agents API launches: built-in connectors + persistent memory + multi-Agent orchestration + streaming output | High (official release + consistent across sources) |
| During 2025 | Medium 3 released: $0.40/$2.00 per million tokens, roughly 1/8 the price of mainstream flagships | Medium |
| 2026-04 | EU AI Act compliance dossier published; $2B funding round reported | Medium |
| 2026-05-22 | Programmatic MCP connector API/SDK: with human-in-the-loop approval gates | Medium |
| 2026-06-23/24 | Connector governance upgrade: configurable Guardrails (per Agent or per request), per-workspace management controls, scoped API key, Connectors Debugger | Medium |
| During 2026 | Remote agents (driving Mistral Vibe, renamed from Le Chat) running on Medium 3.5 | Medium |
1.4. Position in the AI Harness system
By the boundary definition of the parameter card, Mistral Agents API is a managed Agent runtime from a model vendor — together with OpenAI's Responses API / Agents API and Anthropic's Agent capabilities, it belongs to the route of "model vendors building Harness into the server side". Three coordinates:
- Comparison with OpenAI Agents API (see
21-openai-agents-api.md): both are managed forms that "create an Agent in a single call", but Mistral's memory and orchestration semantics lean more toward "stateful sessions + dynamic handoffs", and it uses open-weight self-hosting as a fallback option; - Comparison with the existing SDK route in
02-openai-agents-sdk.md: the SDK is a client-side library, while Agents API is a server-side runtime — Mistral built only the latter and has not released an equivalent orchestration framework; - Compliance coordinate: EU data residency + open weights + on-prem containers make it the strongest managed product in this group on the "data sovereignty" dimension.
2. Glossary
| Term | English / abbreviation | Definition |
|---|---|---|
| Agents API | Agents API | Mistral's server-side Agent runtime built on Chat Completions |
| Connectors | Connectors | Deployment-ready built-in tools that an Agent can call on demand: code execution, web search, image generation, document library |
| Code Execution | Code Execution | Managed connector that executes Python code in a secure sandbox |
| Web Search | Web Search | Search connector combining the model with real-time web information |
| Image Generation | Image Generation | Image generation connector based on FLUX1.1 [pro] Ultra |
| Document Library | Document Library | Managed retrieval of user-uploaded documents on Mistral Cloud, driving built-in RAG |
| MCP Tools | MCP Tools | External tools integrated via the Model Context Protocol |
| Handoffs | Handoffs | Dynamic multi-Agent orchestration: specialist Agents can be added, removed, or handed off on demand during a session |
| Conversation | Conversation | Stateful session object: automatically maintains structured history and context |
| Conversation Branching | Conversation Branching | Ability to fork a new session path from a point in the history |
| Persistent Memory | Persistent Memory | Server-side memory across conversations, no need for the client to send history back |
| Agent | Agent | Persistent agent definition with configurable model, instructions and tools |
| Guardrails | Guardrails | Configurable guardrails: effective per Agent or per request (from 2026-06-23) |
| Connectors Debugger | Connectors Debugger | Connector debugger: troubleshoot tool-call issues (from 2026-06-24) |
| Mistral Vibe | Mistral Vibe | The renamed form of Le Chat, whose remote agents are driven by the Agents API |
| La Plateforme | La Platforme | Mistral's managed development platform, the default host of the Agents API |
| SimpleQA | SimpleQA | Factual question-answering benchmark: Mistral Large with search 75% vs. without search 23% |
3. Feature description
3.1. Built-in connectors
| Connector | Capability | Billing |
|---|---|---|
| Code Execution | Execute Python in a secure sandbox: mathematical computation, data analysis, visualization, scientific computing | $30 / 1,000 calls |
| Web Search | Combine web information, authoritative news and other sources to produce evidence-based answers | $30 / 1,000 calls |
| Image Generation | Generate images based on FLUX1.1 [pro] Ultra | $100 / 1,000 calls |
| Document Library | Access documents uploaded by users on Mistral Cloud, driving built-in RAG | Billed with the platform |
| MCP Tools | Integrate external systems (APIs, databases, documents, user data) via the MCP protocol | Billed with the platform |
The effectiveness of Web Search is backed by official benchmarks: on SimpleQA, Mistral Large with search scores 75% (23% without search), and Mistral Medium 82.32% (22.08% without search).
3.2. Stateful sessions and persistent memory
- Conversation object: can be started by agent_id or by directly specifying a model; the session automatically maintains structured history (conversation entries), so developers do not need to send back conversation history themselves — this is a fundamental difference from the stateless semantics of Chat Completions;
- Conversation branching: fork a new path from a point in the history, convenient for exploration and regression testing;
- Persistent memory: server-side memory across conversations, keeping an Agent contextually coherent across multiple interactions.
3.3. Multi-Agent orchestration and handoffs
- Dynamic handoffs: specialist Agents can be added, removed, or have control handed over on demand during a session — unlike a fixed DAG pipeline, the orchestration topology evolves at runtime;
- Official example scenarios: GitHub orchestration Agent (monitoring the full repository permissions of the DevStral development Agent), Linear ticket assistant (multi-MCP-Server architecture: call records → PRD → executable tickets), financial analyst (multi-MCP-Server orchestration: metric collection → insight summary → secure archiving), travel assistant, and nutrition assistant;
- Since 2026-05-22, programmatic MCP connectors and human approval gates are supported, bringing HITL into the orchestration chain.
3.4. Deployment matrix and compliance
| Deployment method | Description |
|---|---|
| La Plateforme | Default managed, EU data residency; EU endpoints fixed +10% |
| Azure AI Foundry | Distributed via Microsoft cloud, deeply tied to the Microsoft partnership |
| AWS Bedrock | Open weights carried via Bedrock |
| On-prem container | Self-hosted deployment, data entirely local |
The model's open weights (Apache 2.0) mean that even if you drop the API, you can self-host the model via vLLM or the like — the "lock-in escape hatch" is a distinctive piece of this product's business logic.
4. Platform architecture
4.1. Server-side Agent runtime layering
- API layer: Agents API (Agent definition, session management, streaming output) + Chat Completions (underlying inference);
- Runtime layer: Conversation stateful management, persistent memory, handoffs orchestration, Guardrails (from 2026-06);
- Tool layer: the four built-in connectors + MCP tools + programmatic connector SDK (including approval gates);
- Model layer: the full Mistral model family (medium / large / Medium 3.5, etc.), with open weights that can be self-hosted;
- Hosting layer: multiple forms — La Plateforme / Azure AI Foundry / AWS Bedrock / on-prem.
4.2. A session flow with tool calls
- A developer creates an Agent (specifying the model, instructions, enabled connectors and MCP tools) or starts a session directly with model parameters;
- Each call points to a Conversation; the server automatically assembles history and persistent memory;
- The model decides whether to call tools: Code Execution enters the sandbox, Web Search fetches real-time information, and the Document Library triggers RAG retrieval;
- Tool results are fed back, and reasoning continues until a final answer is produced (streaming output supported);
- Complex tasks are handed off via handoffs to specialist Agents, each maintaining its own context;
- Guardrails validate at call boundaries (configured per Agent or per request);
- All state stays on the server; the client is stateless.
5. Harness design
5.1. Overview of the six-layer capability
| Layer | Name | Rating | Basis for judgment |
|---|---|---|---|
| L1 | Context engineering | Medium-Strong | Document-library RAG connector + automatic server-side assembly of history; context compaction |
| L2 | Tools & execution | Medium-Strong | Code-execution sandbox + four connectors + native MCP; fewer tool types than cloud platforms |
| L3 | Orchestration & control | Medium-Strong | Dynamic handoffs multi-Agent orchestration; no explicit state machine |
| L4 | Memory & state | Medium-Strong | Server-side persistent memory + conversation branching |
| L5 | Evaluation & observability | Weak / Medium | ; no systematic evaluation/observability capability seen in public material |
| L6 | Governance & security | Medium-Strong | EU data residency + EU AI Act compliance dossier + Guardrails + approval gates |
Strength/weakness assessment: L4 and L6 are relative strengths (server-side stateful memory and data-sovereignty governance), and L5 is the weakest layer — public descriptions of evaluation and observability are nearly blank.
5.2. L1 context engineering layer
- The server-side Conversation mechanism shifts "context assembly" from a client responsibility to a platform responsibility: structured history is maintained automatically, and developers no longer concatenate message arrays by hand;
- The Document Library connector provides managed RAG: uploaded documents can be retrieved by Agents;
- Upstream gap: the context compaction (Compaction) mechanism and the window-management policy for long sessions are not public; there is no configurable primitive for retrieval priority ordering.
5.3. L2 tools & execution layer
- Code-execution sandbox: a managed Python interpreter covering compute-intensive tool needs;
- Connector-per-call billing tool economics: Web Search / Code Execution $30 / 1,000 calls, Image Generation $100 / 1,000 calls — in tool-heavy usage, bills grow faster than the token price gap (Medium 3's roughly 1/8-flagship cost advantage gets diluted by tool calls), so estimate by load profile when selecting;
- Native MCP support: an open path to integrating external systems; since 2026-05 the programmatic connector SDK completes the automated-integration capability;
- Compared with cloud platforms: fewer tool types than AgentCore (no browser, no enterprise Gateway), but connector governance (scoped key, Debugger) makes up for the engineering gap.
5.4. L3 orchestration & control layer
- Dynamic handoffs are the core orchestration primitive: the set of Agents evolves dynamically during a session, suited to "expert consultation"-style tasks;
- There is no explicit state machine and no interrupt / time-travel-like primitives — controllability does not match LangGraph's graph model;
- The human approval gate (2026-05-22) provides a HITL interruption point, the only explicit control mechanism in the orchestration layer;
- Long-task capability is limited by session semantics; there is no public description of LangGraph-style persistent execution with checkpointed resumption.
5.5. L4 memory & state layer
- Server-side persistent memory is the platform's signature capability: memory stays in the Mistral cloud, the client stays stateless, and cross-session coherence is guaranteed by the platform;
- Conversation branching provides a rare engineering primitive for state exploration: fork from any point in the history, convenient for A/B testing and regression;
- The storage structure, forgetting strategy and export capability of memory are not public — for data-sensitive users, keeping memory in-domain (under on-prem deployment) is the key trade-off.
5.6. L5 evaluation & observability layer
- Public material shows no systematic description of evaluation and observability capabilities — the most obvious gap among the six layers;
- Connectors Debugger (2026-06-24) offers debugging at the tool-call level, a partial supplement to observability;
- Session history and conversation entries can serve as trace data sources, but there is no native trace / metrics / regression-set product;
- Selection advice: if you adopt Agents API, L5 needs external tooling (Langfuse, LangSmith and similar), or you wait for public progress on observability in its AI Studio platform ().
5.7. L6 governance & security layer
- EU data residency: La Plateforme defaults to EU; EU endpoints +10% — compliance costs are made explicit;
- EU AI Act compliance dossier (published 2026-04): the only vendor in this group to proactively publish a compliance dossier;
- Guardrails (2026-06-23): configurable guardrails at per-Agent or per-request granularity;
- Connector governance: per-workspace management controls, scoped API key — least-privilege for tool calls;
- Approval gates: human confirmation inserted before high-risk MCP calls;
- Weight self-hosting fallback: in extreme sovereignty scenarios you can fully self-host away from the API — a governance escape hatch that other managed products lack.
5.8. Server-side runtime composition (illustrative)
Figure 18-1 | Composition of the Mistral Agents API server-side runtime
Data source: Mistral's official release page and third-party verification (as of 2026-09-12), illustrative.
6. Case studies
Case 1: official example scenarios (per the cookbook)
The official release page and cookbook provide 5 categories of reference implementations: a GitHub orchestration Agent (monitoring the DevStral development agent's full repository permissions), a Linear ticket assistant (a multi-MCP pipeline from call records → PRD → executable tickets), a financial analyst (multi-MCP-Server metric collection and secure archiving), a travel assistant, and a nutrition assistant. All are demo-level, with no production-scale data.
Case 2: the SimpleQA benchmark (per the official account)
Mistral Large with search scores 75% on SimpleQA (23% without search), and Mistral Medium 82.32% (22.08% without search) — direct evidence that the Web Search connector significantly improves factual tasks. Medium 3's other benchmarks (SWE-bench Verified 67.9%, tau-bench retail 90.4%, MMMU 79.8%, HumanEval 88.2%) are third-party restatements of the official account.
Parts without retrievable public quantitative data: no verifiable data was found on enterprise customers' production-deployment scale, cost savings, or reliability metrics. Descriptions of the API's evaluation/observability capability are also missing (see section 5.6). This is stated truthfully here, without fabricating missing data.
7. Summary
7.1. Strengths
- Server-side statefulness: Conversation + persistent memory shift context management from a client responsibility to a platform responsibility;
- Connectors ready out of the box: the four-piece set of code execution, search, image and RAG requires no assembly;
- Depth of data sovereignty: EU residency + AI Act compliance dossier + weight self-hosting fallback — the strongest in the European market;
- Transparent cost structure: model and tool prices are billed separately, so costs can be estimated precisely by load profile;
- Native MCP + governance follow-through: approval gates, scoped key and Debugger iterate quickly;
- Conversation branching: a rare primitive for state exploration and regression testing.
7.2. Weaknesses
- L5 gap: evaluation and observability are almost entirely undescribed, so productionization needs external tooling;
- Weak orchestration controllability: dynamic handoffs are flexible but there is no explicit state machine, and long-task persistent-execution capability is unproven;
- Tool-economics trap: in tool-heavy scenarios connector billing narrows the cost advantage;
- Conflicting release accounts: the 2025-05-27 primary account coexists with a few 2026-04/05 accounts;
- Constrained niche: versus OpenAI / AWS managed runtimes, model diversity and the enterprise-integration surface are narrower;
- Context compaction is not public: behavior on very long sessions is unpredictable.
7.3. Applicability boundaries
| Scenario | Applicable? | Reason |
|---|---|---|
| European enterprises / strong data-residency requirements | Most applicable | EU residency + compliance dossier + self-hosting fallback |
| Fact-enhancing Q&A and knowledge assistants | Applicable | Web Search + Document Library RAG have benchmark support |
| Mid-size enterprise workflows needing MCP orchestration | Applicable | Mature multi-MCP-Server examples |
| Long-task persistent execution | Weigh trade-offs | Persistent-execution capability unproven |
| Deeply evaluation-driven production iteration | Weigh trade-offs | L5 gap, needs external tooling |
| Heavy image-generation loads | Weigh trade-offs | Image-generation billing is relatively high |
7.4. Selection recommendations
- European compliance scenarios: Mistral Agents API is the first choice among managed products; OpenAI / AWS have no equivalent data-sovereignty combination;
- Compared with OpenAI Agents API (see
21-openai-agents-api.md): OpenAI wins on long-running agents and sandbox infrastructure, while Mistral wins on sovereignty and open weights; - Compared with the SDK route (
02-openai-agents-sdk.md): choose a managed API to save client-side engineering, or the SDK to fully control the runtime; - Before adoption, be sure to build a cost model along both the "token + tool-call" dimensions, to avoid being misled by the 1/8 model price.
Information-gap disclosure
- Conflicting initial-release-date accounts: 2025-05-27 (prevailing evidence) coexists with 2026-04/05 (a few third-party directories); adjudication by the official news page is [To be verified].
- Medium 3 benchmark scores: scores such as SWE-bench Verified are third-party restatements of the official account and have not been checked against the original reports, marked [To be verified].
- Evaluation/observability capability: Agents API's own trace / metrics / regression capability has no public description, marked [To be verified].
- Context compaction mechanism: the window-management policy for long sessions is not public.
- Persistent-memory details: storage structure, forgetting strategy and export capability are not public.
- AI Studio platform relationship: the boundary between platform-level capabilities such as the Temporal-based Agent Runtime and the Agents API is not systematically public, marked [To be verified].
8. References
- Build AI agents with the Mistral Agents API — Mistral AI official release page. https://mistral.ai/news/agents-api
- Mistral Agents API — official documentation. https://docs.mistral.ai/agents/
- Mistral AI opens Agents API for public use — TestingCatalog, 2025-05-27. https://www.testingcatalog.com/mistral-ai-released-agents-api-for-agent-development/
- Mistral launches Mistral Agents API — iThome, 2025-05. https://ithome.com.tw/news/169218
- Mistral Agents API Launch — Kingy AI Launch Tracker. https://kingy.ai/ai-launch-tracker/mistral-agents-api-2025-05-27-new-product/
- Mistral Agents API — AgentMarketCap (update timeline and connector billing). http://agentmarketcap.ai/agents/mistral-agents
- Top APIs for Building Autonomous AI Agents — agentquadrant (source of the 2026-04/05 conflicting account). https://agentquadrant.com/blog/top-apis-building-autonomous-ai-agents
- Mistral Console — La Plateforme console. https://console.mistral.ai
- Mistral AI — official website. https://mistral.ai
- R18-IDE-Agents-supplementary-platform research report — this project's internal research report (AG-4 key fact card).