AI State of the Art
Mistral/API Capabilities in Detail/21 min
Section 270

Agents API, Workflows and Vibe Work Mode

Listen as a podcast →
Status as of July 2026

The Agents API has existed since 27 May 2025 and is still available, in public preview, under the /v1/agents and /v1/conversations endpoints. Its documentation has moved: it now lives under docs.mistral.ai/studio-api/agents, the developer platform having been renamed Studio.

What changed is the environment around it. Over 2026 Mistral added two building blocks that answer the same business need (getting a machine to carry out multi-step work) but at different levels: Workflows (public preview on 27 April 2026), for durable orchestration on the production side, and Vibe's Work mode (28 May 2026), for the end user. The core purpose of this page is to make clear who does what.

One more correction: this page used to suggest choosing between "Mistral Large, Magistral or Medium" as the agent's brain. Magistral no longer exists as a separate model since April 2026; its reasoning capabilities were absorbed into Mistral Medium 3.5, whose reasoning effort is tunable per request.

The problem: a model that answers is not enough

A classic language model takes a question and returns an answer. One input, one output, done. Perfect for drafting a paragraph, useless for "read the last three supplier contracts, find the termination clauses, and give me a comparison table".

That last task needs something else: fetching the documents, reading them, deciding what to extract, formatting it, and possibly backtracking when a document is missing. It requires several round trips between the model and the outside world, with a memory of what has already been done.

That is exactly what the Agents API provides: a loop, tools, and state kept between turns.

Three levels of autonomy

Level 1, the model alone. Question, answer. It cannot search the web, open a file, or send an email.

Level 2, function calling. The model can say "I would need to call this function with these arguments". But your code executes it, returns the result, and decides whether to continue. The model proposes, your application disposes. See the lesson on function calling.

Level 3, the agent. The model plans, picks its tools, chains them, reads the results and adapts. The loop is held by the provider, not by your code.

The agentic loop

Observe, think, act, evaluate, repeat. An agent is not a linear chain but a loop: it can backtrack and correct course. That is what makes it powerful, and also what makes its behaviour harder to guarantee contractually than a single call.

What the Agents API actually gives you

The official documentation describes three objects.

An agent is a set of pre-saved settings that augment the model's abilities: tools, instructions and completion parameters. On creation, three fields are required (model, name and description) and three are optional: instructions (the system prompt), tools and completion_args.

A conversation is the history of exchanges with the assistant, including tool executions. It carries the memory: each conversation retains its context from turn to turn.

An entry is a single action created by the user or the assistant. It is the unit of trace.

An important point, often missed: the two APIs are independent. The documentation says so explicitly, you can create conversations without ever creating an agent, simply by passing a model parameter.

The endpoints

ObjectMethod and path
Create an agentPOST /v1/agents
List agentsGET /v1/agents
Read, update, delete an agentGET, PATCH, DELETE /v1/agents/{agent_id}
Agent versionsPATCH /v1/agents/{agent_id}/version, GET /v1/agents/{agent_id}/versions
Version aliasesPUT and DELETE /v1/agents/{agent_id}/aliases/{alias}
Start a conversationPOST /v1/conversations
Continue a conversationPOST /v1/conversations/{conversation_id}
History and messagesGET /v1/conversations/{conversation_id}/history and /messages
Restart from a pointPOST /v1/conversations/{conversation_id}/restart
Streaming variantssame paths suffixed #stream

The versioning and alias system is worth flagging: an agent is versioned, and an alias points at a given version. That is what makes it possible to freeze an agent's behaviour in production while testing a new version alongside, a standard requirement in regulated environments.

Built-in tools

The tool types the API recognises are, exactly:

  • function, your own functions, described by a schema;
  • web_search and web_search_premium, web search;
  • code_interpreter, running Python code in a sandbox;
  • image_generation, image generation;
  • document_library, search across your document libraries, i.e. the built-in RAG block.

Connectors and MCP

Beyond those built-in tools, Mistral lets you register an MCP server (Model Context Protocol, the open protocol for wiring tools to models) as a managed connector, then reuse it across conversations and agents.

Registration takes a name, the MCP server address and a visibility scope, with optional fields for authentication, HTTP headers, an icon and a system prompt. The announcement of 22 May 2026 ("Connect the dots") made connectors drivable from the API and SDK: create, update, list, delete, list their tools, and run them directly.

Two details worth a closer look

Direct tool calling. Not every process needs the model to decide when a tool fires. The API lets you trigger a tool directly from your code. That is a valuable control point: the less the model decides, the less uncertain the trajectory.

The requires_confirmation flag. Set on a connector, it pauses execution and hands control back to your application before the tool runs. That is the technical mechanism behind human validation ahead of an irreversible action. If a contract requires "no action on customer systems without approval", that flag is what you go and check.

Handing off between agents

An agent can pass work to another: the handoff mechanism. It is controlled by the handoff_execution parameter, which defaults to server (the handoff runs on Mistral's side) or client, in which case control returns to your application between the two agents.

Again the choice is not neutral: in server mode, part of the decision chain runs outside your information system and you only hold the trace; in client mode you keep the control point but have to implement it.

Finally, store=False lets you avoid persisting the conversation on Mistral's side, a setting worth knowing for sensitive data.

The three levels: Agents API, Workflows, Vibe Work mode

Here is the heart of the update. Three Mistral products answer the same need (getting multi-step work done) but they address different people and offer different guarantees.

Agents APIWorkflowsVibe, Work mode
For whomDeveloperDeveloper / platform teamEnd user, non-technical
What you writeCode calling an APICode in an orchestration SDKA sentence in plain language
Base unitA conversationA workflow made of activitiesA task
What guarantees reliabilityNothing in particular: if the call fails, it failsDurable execution: every step is persisted before the next begins, recovery is automaticThe product handles it, the user watches progress
Human validationrequires_confirmation on a connectorwait_for_input(): one line pauses the workflow, consuming no compute, until approvalThe agent presents a plan and waits for sign-off before starting
Available since27 May 2025Public preview 27 April 202628 May 2026

Workflows: reliability as a product

The problem Workflows attacks is not intelligence, it is breakage. An agent that runs for thirty seconds, you just rerun when it fails. A business process that runs four hours, calls six systems and waits for a manager's approval cannot be restarted from scratch on every network hiccup.

The technical trick: Mistral did not reinvent this mechanism. The company built Workflows on Temporal, a durable execution engine already used in production by large platforms, extending it for AI-specific needs (streaming, payload handling, multi-tenancy, observability).

The principle of durable execution fits in one sentence: every step is recorded before the next one starts. If the process dies (crash, dropped network, transient error) it resumes exactly where it left off, without you writing a line of recovery code.

The official vocabulary runs as follows. A workflow is a multi-step process combining model calls, tool use, external APIs and human input. The steps are activities. The wait_for_input() primitive pauses the process until a human approval or an external event arrives. And crucially, the documentation notes that when you place other building blocks (agents, judges, datasets) inside a workflow, they inherit its durability, retries, observability and human-in-the-loop primitives.

The right mental image

The Agents API is a capable employee. Workflows is the written procedure, the logbook and the sign-off circuit around that employee.

So the two are not rivals: an agent runs inside a workflow. The choice is not "agent or workflow" but "does this process need to survive a failure and leave an auditable trace?". For a prototype, no. For a process the company stands behind, yes.

One elegant detail flagged in the documentation: pausing to wait for human approval consumes no compute. A workflow can therefore wait three days for a signature at no cost.

Vibe's Work mode: the same need, on the user's side

Vibe is the product that replaced Le Chat on 28 May 2026. It offers three modes: Chat (turn-by-turn conversation, the Le Chat legacy), Code (development agents in the terminal and the editor) and Work.

Work mode is the Agents API as seen by someone who will never write a line of code. The documentation describes it this way: the user states the outcome they want, Vibe gathers context from the request and the connected tools, then breaks the task into steps, calls the right tools, and shows its progress in real time.

Three practical differences from the API:

Connectors are on by default. In the API you declare each tool explicitly. In Work mode the agent has immediate reach into connected systems, the announcement names Google Workspace, Outlook, SharePoint, Slack and GitHub, plus custom connectors and libraries.

The plan is approved before execution. The agent maps out a plan, submits it, and waits for the user's sign-off before starting. It is the consumer-grade equivalent of requires_confirmation.

Tasks can recur. What the API would leave to your scheduler, the product offers directly.

The governance risk to know about

Work mode is by far the easiest of the three to deploy, it is a subscription, not a project. That is exactly what should raise a flag.

An agent with default access to an employee's mailbox, SharePoint and Slack, running recurring tasks without continuous supervision, raises concrete questions: what data is actually being read? What trace remains? Who answers for a wrong action carried out by a scheduled task?

The documentation states that permissions are governed at admin level. A written usage policy should precede the rollout, not follow it.

A fourth element completes the picture. The Search Toolkit, announced on 28 May 2026, is a composable framework for building production-grade search pipelines: document parsing and chunking, lexical (BM25) or embedding-based retrieval, and evaluation metrics (recall, precision, MRR, NDCG).

The useful distinction: connectors fetch information live, at the source, from existing systems; the Search Toolkit is for building a high-quality index up front. One gives freshness, the other gives relevance at volume. A serious enterprise agent uses both.

Agentic architecture patterns

The patterns below are not Mistral features: they are ways of organising an agent, published in the literature and applicable with any provider. They remain useful for reading an architecture someone presents to you.

ReAct (reason then act). The model writes its reasoning explicitly before each action. For example: "the user wants Q3 revenue, I first need to query the finance database", then the tool call, then reading the result, then the next decision. Its main enterprise value is not performance but traceability: you can show why each decision was made.

Plan and execute. The agent produces a full plan first, then works through the steps, adapting if an intermediate result demands it. More rigid, more predictable, and it is the pattern Vibe's Work mode adopts, with human approval of the plan on top.

Multi-agent. Several specialised agents split the work, with a coordinator orchestrating. That is what the Agents API handoff mechanism enables.

Guardrails and security

Agents go off the rails. That is inherent to systems that choose their own actions. The protections come down to a few principles.

Least privilege. Give the agent only the tools strictly required. A customer support agent does not need the finance database. It is the first setting to audit, and often the only one that really matters.

Argument validation. Systematically check the parameters the model produces before executing a function. A model can invent a plausible but wrong identifier.

Confirmation before irreversible actions. Deletion, sending email, writing into a business system: better a cautious agent than an efficient one. Technically that is requires_confirmation on connectors, wait_for_input() in Workflows, and plan approval in Vibe.

Isolation. Ring-fence risky actions. Code execution already runs in a sandbox on Mistral's side; actions on your own systems must pass through a validation layer you control.

An iteration cap. A ceiling on the number of steps prevents infinite loops and surprise bills. Beyond it, the agent stops and escalates.

Autonomy versus control: a dial, not a switch

The more autonomous an agent, the more it accomplishes, and the more damage it can do. Good practice is to start supervised, with confirmation on any action that changes the state of a system, then loosen gradually once trust is established and traces have been checked.

That is also Mistral's product logic: the Agents API is the loosest dial, Workflows adds durability and trace, and Vibe's Work mode adds plan approval by default.

What to track in production

  • Success rate: the share of tasks completed.
  • Average number of steps: an agent that suddenly takes twice as many steps is signalling a problem.
  • Cost per task: token consumption climbs fast inside a loop.
  • Escalation rate: how often a human had to take over.
  • Latency: average time to resolution.

Key takeaway. The Agents API (/v1/agents, /v1/conversations) gives developers an agentic loop with built-in tools, web search, code execution, image generation, document library, and registrable MCP connectors. Workflows, built on Temporal and in public preview since 27 April 2026, wraps that loop in what production actually needs: durable execution, automatic recovery, observability and human validation via wait_for_input(); agents run inside it and inherit all of that. Vibe's Work mode answers the same need for the end user: connectors on by default, a plan submitted for approval, recurring tasks. Three levels, one need, and three very different control regimes.