Install
pip install mistralaiMistral’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
pip install mistralaiVersion
mistralai 2.4.4 · May 2026 · Python 3.10+
Best for
Mistral-native workloads, hosted agents with connectors, MCP-heavy flows.
import osfrom 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 →
| Date | Version | Changes | Reviewer |
|---|---|---|---|
| 2026-05-01 | mistralai 2.4.4 | Version 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-28 | mistralai 2.4.3 | Version 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-24 | mistralai 2.4.2 | Version bumped 2.4.1 → 2.4.2 (patch release April 23); version card and “What’s new” updated. | — |
| 2026-04-21 | mistralai 2.4.1 | Index redesigned with Zero → Hero + Jump-to-topic grid. | — |
| April 2026 | mistralai 2.4.1 | v2 SDK stabilised; connectors; MCP; orchestration. | — |
| May 2025 | Launch | Agents API public launch. | — |