- Answer
Mistral Managed Agents: what they are and what you need to deploy one
If you want an AI agent to run a long task with nobody watching, that’s what Mistral’s Managed Agents does. It runs agents that work on their own for hours or days, pick up where they stopped after a crash and run many sessions in parallel.
There’s one thing to plan around first. As of November 30, 2026, Managed Agents and the Agents SDK are in public preview. The API, the behavior and the limits can change during the preview, and an update can require changes to your code.
Two ways to deploy an agent
You run the agent in your own process while you build it. Then you deploy it with Studio, in one of two ways.
- Self-hosted, with agents serve: the agent runs on your servers.
- Mistral-managed, with agents deploy: Mistral hosts it. It builds your project from git, runs it and keeps it up, with nothing for you to keep running. Sessions survive restarts and long waits.
What you need before you deploy
Before you deploy, Mistral’s documentation asks for a repository and a key with the right role.
- A GitHub repository for the project. The GitHub connector also has to be connected on your account in Mistral Studio.
- A key with the right workspace role. The key’s user needs a role with Workflows access, such as Developer or Workspace Contributor. A workspace admin assigns it in the admin console, under Organization > Workspaces > your workspace > Members.
With agents deploy, Mistral builds the commit you pushed, not your working copy. So a change you haven’t pushed isn’t part of what gets deployed.
How long a session can run
A task can run for days. By default a session ends after 24 hours, or after 4 hours idle, and idle means no turn is running or the turn is only waiting for you.
You can raise both limits. For a deployed session, you set them with ENV in the Dockerfile, up to 24 hours idle and a week in total.
When the agent asks for an approval, the turn waits for your answer, one hour by default, even while your app is closed.
Our take
We’d start with the workspace role, because it depends on someone else: a workspace admin has to assign it.
The idle limit is the easy one to get wrong, because a session that’s only waiting on you counts as idle. We’d set both limits on purpose for the task instead of letting the defaults decide. And while it’s a preview, we’d name the person who owns the agent’s code after launch, since an update can require changes to it.
About VelocityStack
A long-running agent is only as good as the job you hand it and the points where it stops to ask you. VelocityStack builds websites, CRM setups and AI workflows for small and growing teams. We help you pick the task an agent should take over, then build the agent and the flow around it, with the approvals and the connections to the tools your team already uses.
See how we build AI agents and workflows or book a 20-minute call.
Sources
- Managed Agentsdocs.mistral.ai
- Let Mistral host the agent: agents deploydocs.mistral.ai
- Deploy your agentdocs.mistral.ai
Found an error? Tell us.