Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Mistral Workflows - Mistral AI Plugin

Native Mistral AI integration for Mistral Workflows.

Overview

This plugin provides Mistral AI-specific activities and models for building AI workflows with the Mistral AI API.

Features

  • Mistral AI Activities: Pre-built activities for chat completions, embeddings, and more
  • Streaming Support: Native streaming for chat responses
  • Model Definitions: Type-safe model configurations
  • Agent Runtime: Build and run autonomous AI agents
  • Session Management: Stateful agent sessions with context persistence
  • MCP Support: Model Context Protocol integration for tool use
  • Tool Execution: Built-in tool calling and execution framework
  • Le Chat UI: Conversational UI components for Le Chat (canvas, assistant messages, UI components)

Installation

pip install mistralai-workflows[mistralai]

Or install directly:

pip install mistralai-workflows-plugins-mistralai

Quick Start

import mistralai.workflows as workflows
import mistralai.workflows.plugins.mistralai as workflows_mistralai


@workflows.workflow.define(name="chat-workflow")
class ChatWorkflow:
    @workflows.workflow.entrypoint
    async def run(self, prompt: str) -> str:
        response = await workflows_mistralai.mistralai_chat_stream(
            workflows_mistralai.ChatCompletionRequest(
                model="mistral-medium-latest",
                messages=[workflows_mistralai.UserMessage(content=prompt)],
            )
        )
        return response.content

Documentation

For full documentation, visit docs.mistral.ai/workflows/getting-started/introduction

Examples

Run examples with:

python -m mistralai_workflow_tests.examples.assist.workflow_multi_turn_chat
python -m mistralai_workflow_tests.examples.assist.workflow_insurance_claims
python -m mistralai_workflow_tests.examples.assist.workflow_local_session_streaming
python -m mistralai_workflow_tests.examples.assist.workflow_travel_agent_streaming
python -m mistralai_workflow_tests.examples.assist.workflow_with_agent
python -m mistralai_workflow_tests.examples.assist.workflow_extract_markdown
python -m mistralai_workflow_tests.examples.assist.workflow_embeddings

License

Apache License 2.0 - see LICENSE for details.

Metadata

Release files for mistralai-workflows-plugins-mistralai 4.0.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mistralai-workflows-plugins-mistralai 4.0.0rc1
File Size Uploaded Provenance Actions
mistralai_workflows_plugins_mistralai-4.0.0rc1.tar.gz 120.8 kB With provenance Details for mistralai_workflows_plugins_mistralai-4.0.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mistralai-workflows-plugins-mistralai 4.0.0rc1
File Interpreter ABI Platform Actions
mistralai_workflows_plugins_mistralai-4.0.0rc1-py3-none-any.whl Python 3 none any Details for mistralai_workflows_plugins_mistralai-4.0.0rc1-py3-none-any.whl

Total release size: 188.9 kB

Release files / mistralai_workflows_plugins_mistralai-4.0.0rc1.tar.gz

Download URL mistralai_workflows_plugins_mistralai-4.0.0rc1.tar.gz
Size 120.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9987d195e3ab2f991c98c7069c0718e28f4aaa68ad9be01ed2548912358b7a7b
BLAKE2b-256 checksum
How to use checksums
ce93e213bbab353ea36fbb76ec8c54f0a20e92ab1b6553d014cd5ea1bf3e742d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Release files / mistralai_workflows_plugins_mistralai-4.0.0rc1-py3-none-any.whl

Download URL mistralai_workflows_plugins_mistralai-4.0.0rc1-py3-none-any.whl
Size 68.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b10a4c894a2f96ea102df2195023271da05eb9b4dc9d04e24bf450a670e5ad8
BLAKE2b-256 checksum
How to use checksums
f69969a838c0101f1bfeafceecfd0b19734c189c74342cf399c1d17ab679ddc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Security for mistralai-workflows-plugins-mistralai 4.0.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mistralai_workflows_plugins_mistralai-4.0.0rc1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page