Skip to content

Mistral Agents API

Mistral’s hosted Agents API. Launched May 2025 — server-managed agents with built-in connectors (web search, code interpreter, document QA), MCP support, and multi-agent orchestration. Think OpenAI Assistants but for Mistral models.

Install

Terminal window
pip install mistralai

Version

mistralai 2.4.4 · May 2026 · Python 3.10+

Best for

Mistral-native workloads, hosted agents with connectors, MCP-heavy flows.

  • v2.4.4 (May 1) — Patch release; stability improvements.
  • v2.4.3 (April 28) — Patch release; stability improvements.
  • v2 SDK with refined async patterns.
  • Connectors — web search, code interpreter, document QA.
  • MCP client and server support.
  • Orchestration — multi-agent coordination patterns.
import os
from mistralai.client import Mistral # import from mistralai.client, NOT from mistralai
client = Mistral(api_key=os.environ["MISTRAL_API_KEY"])
agent = client.beta.agents.create(
model="mistral-large-latest",
name="Assistant",
instructions="You are a helpful assistant.",
)
conversation = client.beta.conversations.start(
agent_id=agent.id,
inputs="What is 15 + 27?",
)
print(conversation.outputs[0].content)

Ready? Start Zero → Hero Step 1 →


DateVersionChangesReviewer
2026-05-01mistralai 2.4.4Version bumped 2.4.3 → 2.4.4 (patch release); version card and “What’s new” updated; from mistralai.client import Mistral verified against installed 2.4.4 (.routine-envs/check-mistral2-0501).Claude routine
2026-04-28mistralai 2.4.3Version bumped 2.4.2 → 2.4.3 (patch release); version card and “What’s new” updated; from mistralai.client import Mistral verified against installed 2.4.3.Claude routine
2026-04-24mistralai 2.4.2Version bumped 2.4.1 → 2.4.2 (patch release April 23); version card and “What’s new” updated.
2026-04-21mistralai 2.4.1Index redesigned with Zero → Hero + Jump-to-topic grid.
April 2026mistralai 2.4.1v2 SDK stabilised; connectors; MCP; orchestration.
May 2025LaunchAgents API public launch.