Mistral 0.0.0-dev.144

This is a prerelease version of Mistral.
dotnet add package Mistral --version 0.0.0-dev.144
                    
NuGet\Install-Package Mistral -Version 0.0.0-dev.144
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mistral" Version="0.0.0-dev.144" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mistral" Version="0.0.0-dev.144" />
                    
Directory.Packages.props
<PackageReference Include="Mistral" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mistral --version 0.0.0-dev.144
                    
#r "nuget: Mistral, 0.0.0-dev.144"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Mistral@0.0.0-dev.144
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mistral&version=0.0.0-dev.144&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Mistral&version=0.0.0-dev.144&prerelease
                    
Install as a Cake Tool

Mistral

Nuget package dotnet License: MIT Discord

Features 🔥

  • Fully generated C# SDK based on official Mistral OpenAPI specification using AutoSDK
  • Same day update to support new features
  • Updated and supported automatically if there are no breaking changes
  • All modern .NET features - nullability, trimming, NativeAOT, etc.
  • Support .Net Framework/.Net Standard 2.0
  • Microsoft.Extensions.AI IChatClient support

Usage

using Mistral;

using var client = new MistralClient(apiKey);

ChatCompletionResponse response = await client.Agents.AgentsCompletionAsync(
    agentId: "Test",
    messages: new List<OneOf<UserMessage, AssistantMessage, ToolMessage>>
    {
        new UserMessage
        {
            Content = "Hello",
        },
    });

Microsoft.Extensions.AI

The SDK implements IChatClient for seamless integration with the .NET AI ecosystem:

using Mistral;
using Meai = Microsoft.Extensions.AI;

Meai.IChatClient chatClient = new MistralClient(apiKey);

var response = await chatClient.GetResponseAsync(
    [new Meai.ChatMessage(Meai.ChatRole.User, "Hello!")],
    new Meai.ChatOptions { ModelId = "mistral-large-latest" });

Console.WriteLine(response.Text);

Note: Use the Meai alias because the Mistral SDK has its own generated IChatClient interface.

Support

Priority place for bugs: https://github.com/tryAGI/Mistral/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Mistral/discussions
Discord: https://discord.gg/Ca2xhfBf3v

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.

CodeRabbit logo

This project is supported by CodeRabbit through the Open Source Support Program.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.0-dev.144 0 3/19/2026
0.0.0-dev.142 0 3/19/2026
0.0.0-dev.141 0 3/19/2026
0.0.0-dev.140 0 3/19/2026
0.0.0-dev.139 23 3/19/2026
0.0.0-dev.138 23 3/19/2026
0.0.0-dev.135 21 3/19/2026
0.0.0-dev.134 20 3/19/2026
0.0.0-dev.133 21 3/19/2026
0.0.0-dev.132 23 3/19/2026
0.0.0-dev.131 28 3/19/2026
0.0.0-dev.130 20 3/19/2026
0.0.0-dev.129 21 3/19/2026
0.0.0-dev.128 22 3/19/2026
0.0.0-dev.127 24 3/18/2026
0.0.0-dev.126 23 3/18/2026
0.0.0-dev.125 25 3/18/2026
0.0.0-dev.124 25 3/18/2026
0.0.0-dev.123 27 3/18/2026
0.0.0-dev.122 30 3/18/2026
Loading failed