Mistral 0.0.0-dev.144
dotnet add package Mistral --version 0.0.0-dev.144
NuGet\Install-Package Mistral -Version 0.0.0-dev.144
<PackageReference Include="Mistral" Version="0.0.0-dev.144" />
<PackageVersion Include="Mistral" Version="0.0.0-dev.144" />
<PackageReference Include="Mistral" />
paket add Mistral --version 0.0.0-dev.144
#r "nuget: Mistral, 0.0.0-dev.144"
#:package Mistral@0.0.0-dev.144
#addin nuget:?package=Mistral&version=0.0.0-dev.144&prerelease
#tool nuget:?package=Mistral&version=0.0.0-dev.144&prerelease
Mistral
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
IChatClientsupport
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
Meaialias because the Mistral SDK has its own generatedIChatClientinterface.
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
This project is supported by JetBrains through the Open Source Support Program.
This project is supported by CodeRabbit through the Open Source Support Program.
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.AI.Abstractions (>= 10.4.0)
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 |