mistralM

Docs

sideBar

Deployments

Run agents, workflows, and apps in production: locally for development, self-hosted on your infrastructure, or managed by Mistral.

A deployment is the running instance of what you built: an agent, a workflow, or an app, executing and reachable by its users. Studio offers three ways to run it:

  • Local development: you run the worker on your own machine, against the platform. For iterating, not for production.
  • Self-hosted: you run the workers on your own infrastructure (virtual machines, Kubernetes, your private cloud), and Mistral orchestrates them.
  • Managed: Mistral runs everything. You point Studio at your code, and Mistral Cloud builds, runs, scales, and recovers it. Nothing to host.

Deploying a model is a different decision, covered under Inference > Deployment.

To deploy your first workflow to Mistral Cloud, follow Quickstart: deploy a workflow to Mistral.

What a deployment is

Across agents, workflows, and apps, a deployment answers the same three questions:

  • Where does it run? On your machine (local), on infrastructure you operate (self-hosted), or on Mistral Cloud (managed).
  • How is it reached? Through the platform: executions, triggers, and webhooks route to the deployment, and Studio observes it.
  • Who is it for? The users, services, and schedules that call it.

Every deployment is named. The name is how the platform routes work to the right running instance, and how you find it in the console, the API, and your traces.

Local, self-hosted, managed

Local development

Self-hosted

Managed

Where the code runsYour machineYour infrastructureMistral Cloud
Who operates itYouYouMistral
What the platform providesOrchestration: routing, durability, observabilityOrchestration: routing, durability, scaling across your workloadsBuild, run, scale, recover
AuthenticationYour workspace API keyWorkspace API key or service accountA service-account token is injected; no API key in your code
Best forIterating on a workflow or agentData residency, private networks, existing compute, cost controlShipping fast, with nothing to operate

Local and self-hosted differ in where the code runs, not how it runs: the same worker code and the same deployment name work in both. Self-hosted and managed differ in who operates the infrastructure.

Start local while you build. Move to self-hosted when you need control over where the code runs. Move to managed when you want nothing to operate. The deployment concepts, the routing, and the observability stay the same.

flag

Self-hosting a deployment is not the same as running the whole Studio platform on your own premises. See the on-premises documentationarrowUpRight.

What stays the same

Whichever way you run, the lifecycle is the same:

  • 1.

    Build or start: package your code (managed), or start your workloads (local and self-hosted).
  • 2.

    Deploy: the deployment registers what it can run and becomes active.
  • 3.

    Run: executions, triggers, and webhooks route to it.
  • 4.

    Update: ship a new version; the platform rolls it out.
  • 5.

    Observe: executions, logs, and traces are visible in Studio.

Secrets, environment variables, and permissions behave the same way in all three modes: credentials come from Secrets Manager, and access follows your workspace roles.

Access control

For workflows, you can restrict which users and service accounts can register workers on a deployment. This is called a hardened deployment. Hardening is required for on-behalf-of workflows, which act with the triggering user's permissions. Managed deployments created in Studio are hardened by default. For agents, agents deploy hardens the deployment only when the agent acts on behalf of the session's user, unless you pass --hardened or --no-hardened: see Hardened deployments.

Starting points

Pick the path that matches what you want to run:

Managed deployments
illustrationCloud

Managed deployments

Mistral runs your agents, workflows, and apps for you: nothing to host.

Self-hosted deployments
illustrationServer

Self-hosted deployments

Run agents, workflows, and apps on your own infrastructure, with Mistral orchestration.

Triggers and webhooks
illustrationCalendar

Triggers and webhooks

Start workflows from events in your tools and APIs.

Or go straight to deploying a specific system:

Managed deployments for workflows
illustrationWorkflow

Managed deployments for workflows

Deploy a workflow worker from a GitHub repository. Mistral Cloud builds the image and runs the worker for you.

Managed deployments for agents
illustrationCloud

Managed deployments for agents

Deploy the Quickstart's agent, Mistral-managed with agents deploy, chat with it, and call it from your app.

Managed deployments for apps
illustrationApp

Managed deployments for apps

Build and deploy an app from a pushed Git commit with mistral deploy.

Self-host workflows
illustrationServer

Self-host workflows

Run workflow workers on your own infrastructure, grouped into named deployments.

Self-host agents
illustrationRobot

Self-host agents

Register an agent and run its worker on your own infrastructure.

Going further

Secrets Manager
illustrationLock

Secrets Manager

Store credentials in Secrets Manager and reference them from your managed deployments without hardcoding.

Observability
illustrationSatellite

Observability

Trace, debug, and evaluate your AI applications in Mistral Studio with distributed tracing, offline evaluations, and online evaluations.

Deployments concept (workflows)
illustrationWorkflow

Deployments concept (workflows)

Understand deployments, named groups of workers that own workflow definitions, and how DEPLOYMENT_NAME separates environments.

Deploy a model
illustrationCloud

Deploy a model

Run Mistral models through cloud providers or deploy open-weight models on your own infrastructure.