mistralM

Docs

sideBar

Concepts

The recommended loop for building and improving a Studio system, the components that serve each stage, and how they combine.

Studio is organized around a recommended loop: build a system, give it context, test it, deploy it, observe it in production, and improve it. Each stage has components that serve it. They're reusable from one project to the next and made to combine: an agent, a workflow, and an app can share the same connector, secret, or evaluation. Some components are still in preview, or available to Enterprise-tier organizations only: each component's page gives its status.

This page explains each stage of the loop, which components serve it, and where to start.

The loop

The Studio loop

Read the loop clockwise from Build. Govern applies to every stage.

The Studio loop: Build, then Context, Test and evaluate, Deploy, Observe, and Improve, which leads back to Build. Govern spans every
stage.

Every stage and component is optional: start with the ones your system needs, and add the others later.

Build

You write the system itself. An agent decides each next step from its instructions, context, and tools. A workflow runs your business rules as deterministic code. An app gives people an interface to review, approve, and act. To decide which one fits each part of your process, see Choose what to build.

Component

What it gives you

Start here

Agents SDKAgents in Python, with a harness for their tools, connectors, skills, and approvalsAgents
WorkflowsDurable processes in Python: state, retries, schedules, and human stepsWorkflows, quickstart
AppsApplications built from ready-made capabilities, with sign-in and hostingApps, quickstart
Secrets ManagerCredentials stored once and referenced by name, never copied into codeSecrets Manager
lightbulb

You can build from code, from the console, or with a coding agent through the Mistral CLI and the Mistral MCP server.

Context

You give the system what it needs to know about your company: live access to your tools and data, your documents, and the instructions your teams reuse. You set each source up once, and every agent, workflow, and app can use it.

Component

What it gives you

Start here

ConnectorsTools from your systems, over MCP or HTTP APIsConnectors, quickstart
Libraries and Agentic SearchYour documents, ready to search from an agent or a workflowLibraries, quickstart
Search indexA search index that Studio hosts for youSearch index, quickstart
Search ToolkitThe building blocks to run your own ingestion and retrievalSearch Toolkit, quickstart
Prompts and SkillsVersioned instructions and know-how, shared by name across systemsPrompts and Skills, quickstart
lightbulb

An organization admin connects shared apps once and decides which connector tools members can use in Studio and Vibe: see Connectors in Admin.

Test and evaluate

Before anything ships, you check that the system does what you expect. You run it on a set of cases, score the results, and compare versions, so a change that fixes one case doesn't break another.

flag

Offline evaluations and their datasets are available to Enterprise-tier organizations only. They're on by default for these organizations.

Component

What it gives you

Start here

Offline evaluationsEvaluations in code: cases, evaluators, and scores for each versionOffline evaluations, quickstart
DatasetsThe cases an evaluation runs on, imported or built from productionDatasets
Evaluations for workflowsEvaluate a workflow with the same toolsWorkflows plugin
lightbulb

Keep the evaluation next to the system it tests, so you or your coding agent run it on every change.

Deploy

You run the system where your users and your data are. The same code runs on your machine while you build, on your own infrastructure, or managed by Mistral, and the platform routes each run to it.

Component

What it gives you

Start here

DeploymentsThe three ways to run a system, and what stays the same between themDeployments
Managed deploymentsMistral builds, runs, and scales your code: nothing to hostManaged deployments, quickstart
Self-hosted deploymentsYou run the workers on your infrastructure, and Mistral orchestrates themSelf-hosted deployments
Triggers and webhooksWorkflow executions that start from an event in Slack, GitHub, Notion, and other toolsTriggers and webhooks
lightbulb

Apps run locally while you build, then deploy to Mistral Cloud: there's no self-hosted path for apps. Agents and workflows run in all three modes.

Observe

You see what the system does in production. Agent and workflow workers send a trace of each run by default, and your own code can send traces over OpenTelemetry. A trace records model calls, tool calls, agent steps, and workflow transitions, so you find where a failure started and why.

flag

Distributed tracing and the trace explorer are part of Observability, which is in Public Preview and available to Enterprise-tier organizations only. It's on by default for these organizations. If your organization isn't on the Enterprise tier, contact your Mistral representative.

Component

What it gives you

Start here

Distributed tracingTraces from agents, workflows, and your own code, sent over OpenTelemetrySend traces, quickstart
Trace explorerSearch and inspect traces and spans in the consoleExplore traces
Workflow observabilityExecutions, events, and metrics for each workflowWorkflow observability
lightbulb

Your traces also feed the next stage: the hard cases you find here become the dataset you improve on.

Improve

You turn what happened in production into the next version. You collect the cases that went wrong, change a prompt, a model, a tool, or the code, and compare the new version with the current one before you release it.

flag

Datasets, optimization, and online evaluations are available to Enterprise-tier organizations only, like the rest of Observability. They're on by default for these organizations.

Component

What it gives you

Start here

Datasets from tracesReal cases from production, added to an evaluation datasetDatasets
OptimizationA search over a system's parameters, scored by its evaluationOptimization
Versions and aliasesNew prompt and skill versions, promoted with an alias when they passVersions and aliases
lightbulb

Online evaluations score production traces with LLM judges after they're ingested, next to the offline evaluations you run before a release. To try them, see Quickstart: score your first span.

Govern

Platform teams set the rules once, and every stage follows them: who can build and deploy, which connections and models each team uses, what the system may say or do, and who did what.

Component

What it gives you

Start here

GovernanceRoles and permissions across workspaces, and who can manage secretsGovernance
Moderation and guardrailsChecks on what goes in and out of a modelModeration and guardrails, quickstart
Roles and audit logsOrganization roles, and a record of who did what (audit logs: Enterprise plans)Roles and permissions and audit logs
lightbulb

Builders don't need to set any of this up to start: the rules apply to what they build, in every stage.

How components combine

Take one agent built with the Agents SDK. Its harness holds what it can use, and its runs feed the stages that come after it:

One agent, many components

Each box opens the page that explains the component.

An agent's harness holds a connector, a skill, a secret, and an approval step; the agent's traces become a dataset, and an evaluation on that
dataset tests the next version of the agent.

The agent reaches your systems through a connector, follows a skill your team wrote once, and reads its credentials from a secret by reference. Before a sensitive tool call, it pauses until a person approves. Its traces show every step; the hard cases become a dataset, and the evaluation on that dataset tests the next version. Traces, datasets, and evaluations are available to Enterprise-tier organizations only: see Observability.

The same components work from the other systems. A workflow uses the same connectors, secrets, and evaluations, and can run an agent as one of its steps. An app runs agents and workflows behind its interface, where people review results, give feedback, and act on them.

Next steps

Choose what to build
illustrationBook

Choose what to build

Decide between an agent, a workflow, and an app for each part of your process, and see how they combine.

All components
illustrationGear

All components

Every Studio component, grouped by step of the loop, and where to start with each.

Studio overview
illustrationStar

Studio overview

Build agents, workflows, and apps on shared components, deploy them in production, and improve them on real usage.