What shipped

  • Feature name: Managed Agents, now in public preview.
  • Release date: 5 November 2026.
  • Core SDK: Developed using the mistralai-agents Python SDK.
  • Operational Modes:
  • In‑process: The agent runs within your existing application process for development and local testing.
  • Self‑hosted (agents serve): You host the worker infrastructure, providing more control over the execution environment.
  • Mistral‑managed (agents deploy): The agent is deployed to Mistral's managed cloud, where Mistral handles the infrastructure and session state.
  • Durable Execution: Agents can run for hours or days in the background. They are crash‑resilient, resuming automatically from the last successfully finished step after a failure.
  • Human‑in‑the‑Loop Controls:
  • Approvals: Developers can define specific tool calls that require manual human approval before execution.
  • Live Steering: Users can interrupt, steer, or modify an agent's current turn while it is running.
  • Integration Ecosystem:
  • Sandboxes: Per‑session isolated environments hosted by Mistral.
  • Connectors: Support for MCP (Model Context Protocol) servers and typed Python tools.
  • Studio Tracing: Automatic, zero‑setup tracing in Mistral Studio, providing a span for every model and tool call.
  • Secrets Management: Integrated secrets manager for injecting API keys and credentials into managed deployments.

Why it matters

Managed Agents solve the "fragility problem" of autonomous agents. Most existing agent frameworks are ephemeral; if the process crashes or the network drops, the agent loses its place and must restart the entire task. By introducing durable background execution and state checkpointing, Mistral enables agents to tackle long‑horizon tasks (e.g., multi‑day research or complex software migrations) that were previously impossible to run reliably. This moves the industry toward "asynchronous agenting," where a user starts a task and returns hours later to find it completed.

The addition of approval gating and live steering transforms agents from "black boxes" into "collaborative partners." In a production environment, allowing an agent to autonomously call a delete_database or git push tool is too risky. Managed Agents allow a human to act as a safety valve, reviewing the agent's reasoning and confirming the tool call before it happens. This creates a viable path for deploying autonomous agents in high‑stakes enterprise environments where compliance and safety checks are mandatory.

Finally, the integrated tracing in Studio removes the debugging friction associated with long-running agents. When an agent fails on step 42 of a 100-step plan, developers no longer have to parse gigabytes of logs. Instead, they can open a visual trace in Studio, pinpoint exactly where the model's reasoning diverged from the goal, and use the "steering" feature to correct the agent's course in real-time.

Adoption / Practical steps

  1. Environment Setup: Install the necessary SDK using pip install mistralai-agents.
  2. Project Scaffolding: Use the agents init command to create a basic project structure with the required configuration files.
  3. Designing the Agent: Define your agent's instructions and tools within the Python SDK. For sensitive tools, implement the approval logic to ensure they are gated.
  4. Selecting the Runtime:
  • During development, use agents serve locally to iterate on the agent's logic.
  • For production usage with custom requirements, deploy a self‑hosted worker using the agents serve command.
  • For zero‑infra deployment, use agents deploy to push the agent to Mistral's managed cloud.
  1. Managing Secrets: Use the Studio Secrets Manager to store and inject API keys, ensuring that no plaintext credentials are hardcoded in the agent's Python source.
  2. Observability: Open Mistral Studio and navigate to the Trace Explorer to monitor live agent sessions. Each turn is automatically captured as a trace, allowing for detailed analysis of model performance and tool accuracy.
  3. When the managed service is unavailable: If agents deploy is not available in your region, you can still achieve durability by self‑hosting the worker and managing your own state store.

References