In short.
Mistral’s first-workflow quickstart is a practical guide for Python developers learning Mistral Workflows, with a local worker that must remain running for executions to proceed. It introduces workflow registration, an activity and execution requests using a greeting example with no model call. The page estimates about 15 minutes, but completion time and runtime behavior are unverified. A maintainer comment explicitly says the illustrated response structure was inferred from another example and was not rerun on this scaffold.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected page at [https://docs.mistral.ai/studio/workflows/quickstarts/your-first-workflow.md], including its front matter, examples and embedded maintainer comment. All linked pages are excluded. The response example is explicitly qualified by that comment, and the possible future walkthrough change is not confirmed. Nothing was executed; installation, execution results, interruption recovery, pricing and production behavior remain unverified.
The overview
Identity
The resource is Mistral’s documentation page titled Quickstart: build your first workflow, available at [https://docs.mistral.ai/studio/workflows/quickstarts/your-first-workflow.md]. It teaches a local Python worker connected to Mistral Workflows.
The deliverable is a project containing a workflow named hello-world that accepts a name and returns a greeting. This is a tutorial, not a standalone application, model or reusable agent definition.
Assessment
The guide provides a concrete introduction to the relationship between a workflow, its activities and the worker that executes them. Its small example makes the connection and registration steps easier to inspect.
It is useful for understanding the initial development path. It does not establish production readiness, operational reliability or performance. The stated 15-minute duration is the documentation’s estimate.
Users
The steps suit developers who can edit Python files, set environment variables and use two terminals. Beginners receive a complete small example, although installation and API-key creation depend on separately linked instructions.
Experienced Python developers can use it to inspect Mistral’s decorators, workflow discovery and execution interfaces. Developers seeking an example of language-model generation will find no model invocation in this workflow.
Capabilities
The tutorial covers scaffolding a project, defining a workflow and activity, discovering workflow classes, starting a worker and requesting an execution. It supplies HTTP and Python examples plus Console instructions.
The workflow accepts a name through a Pydantic input model and returns a formatted string. The page also describes viewing the result in the Console and execution logs in the worker terminal.
Using it
Requirements
The stated prerequisites are a Mistral API key, an installed and signed-in Mistral CLI, Bun for local worker operation, and uv to run the Python worker. The CLI installer offers to install Bun.
The key must be available as MISTRAL_API_KEY, and the generated worker reads it from the project’s .env file. The page specifies no operating-system support matrix or required versions of Python, Bun, uv, the CLI or the SDK.
Mechanism
The Python example decorates greet as an activity and HelloWorkflow as a workflow. Its entrypoint awaits greet with the supplied name. HelloInput sets the default name to World.
The generated worker discovers classes with workflows.discover_all_workflows_in_package("worker.workflows") and passes them to workflows_client.run_worker. According to the page, the platform resumes an interrupted execution from the last completed activity. The handling of an activity interrupted before completion is not explained.
Starting the worker registers hello-world and makes it available for execution. Setting wait_for_result to true makes the execution request wait for completion.
Setup
Create the project with mistral workflows init my-workflow, then enter its directory. The page identifies mistral init --preset workflow as an equivalent scaffolding command. The generated Python worker lives in apps/worker and already has the Workflows SDK configured.
Set MISTRAL_API_KEY in .env and add the example at apps/worker/src/worker/workflows/hello.py. The scaffold is documented as excluding .env from Git.
Run mistral dev from the project root and keep that terminal open. Use a second terminal or the Console to start an execution. Press Ctrl+C in the worker terminal to stop it.
Example
The HTTP example sends a POST request to [https://api.mistral.ai/v1/workflows/hello-world/execute], authenticates with MISTRAL_API_KEY, and supplies {"input":{"name":"Ada"},"wait_for_result":true}. The Python equivalent uses client.workflows.execute_workflow with workflow_identifier set to hello-world.
The illustrated response contains workflow_name, execution_id and a nested result.result value of Hello, Ada! Welcome to Mistral Workflows. This is documented expected output, not an observed result here.
A maintainer comment states that this response structure was inferred from another example and was not rerun on the generated scaffold. The exact response shape therefore remains unverified for this tutorial.
Assessment & evidence
Limitations
The example contains one activity with string-formatting logic. It does not demonstrate model calls, multiple dependent activities, external side effects or recovery from an actual worker interruption.
Retry policies, idempotency, concurrency limits, execution time limits and deployment behavior are not explained. The local worker must remain running, and the guide’s troubleshooting advice is limited to checking that worker and its API-key workspace.
No commands or code were executed for this report. Installation success, workflow registration, recovery behavior and the displayed result remain unverified.
Reasoning
The tutorial’s value comes from connecting several concrete pieces in one small example: typed input, an activity, workflow discovery, a running worker and an external execution request. This makes it a useful starting point for understanding how an execution reaches Python code.
The simple greeting provides little evidence about complex workloads. The documented checkpoint behavior and expected output should be assessed separately from proven recovery or production operation.
Alternatives
For initiating the same workflow, the page offers three interfaces: curl, the Python SDK and the Mistral Console. These provide different ways to request an execution while retaining the same local-worker requirement.
The page links to a managed-deployment quickstart at [https://docs.mistral.ai/studio/deployments/managed/workflows/getting-started]. Its contents are outside the supplied evidence, so its setup, costs and operational differences are not assessed. No comparison with other workflow platforms is provided.
Evidence
The evidence is the complete documentation page at [https://docs.mistral.ai/studio/workflows/quickstarts/your-first-workflow.md], captured on 13 November 2026 at 01:42:33.172 UTC. Its source revision is sha256:a4806dc77d57f0005d77ae1fb3d9af07676e0932f2588f61b7fe414792ac05f4.
The page supplies prerequisites, commands, Python code, execution instructions, illustrative output and troubleshooting advice. Its embedded maintainer comment qualifies the response example. Linked installation, API-key, CLI-reference, deployment, observability and conceptual pages are not included.
Access & freshness
Costs
The page gives no Workflows pricing, free allowance, billing unit, required subscription tier or usage limits. An API key is required, but that requirement does not establish whether this exercise incurs charges.
The greeting activity contains no language-model call. It provides no basis for estimating model inference costs or the cost of a larger workflow. Total cost is unknown.
Rights
The supplied page contains no explicit license or redistribution grant for its prose or example code. Permissions for republishing or incorporating those materials are unknown from this evidence.
Applicable service terms, data-retention terms and SDK licensing are not included in the page.
Freshness
The supplied page gives no publication date, last-updated date or pinned dependency versions. Its capture date establishes when this text was retained, not compatibility with a particular CLI or SDK release.
A maintainer comment discusses a possible future replacement of the local-worker walkthrough with a builder, visualizer and managed-deployment path. It does not establish that this change has occurred.
Actions
Use this guide if the immediate goal is to understand how a local Python worker registers and executes a Mistral workflow. Confirm service pricing, applicable terms and dependency compatibility before relying on it for ongoing work.
When following the tutorial, verify the actual response structure and keep the worker running throughout execution. If a waiting request times out, the page advises checking that the worker is still running in the workspace associated with the API key.
For a workflow that performs external actions, investigate retry and interruption semantics before depending on the stated activity checkpoint behavior.
