Mistral 0.0.0-dev.135
See the version list below for details.
dotnet add package Mistral --version 0.0.0-dev.135
NuGet\Install-Package Mistral -Version 0.0.0-dev.135
<PackageReference Include="Mistral" Version="0.0.0-dev.135" />
<PackageVersion Include="Mistral" Version="0.0.0-dev.135" />
<PackageReference Include="Mistral" />
paket add Mistral --version 0.0.0-dev.135
#r "nuget: Mistral, 0.0.0-dev.135"
#:package Mistral@0.0.0-dev.135
#addin nuget:?package=Mistral&version=0.0.0-dev.135&prerelease
#tool nuget:?package=Mistral&version=0.0.0-dev.135&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.183 | 65 | 4/1/2026 |
| 0.0.0-dev.180 | 54 | 3/29/2026 |
| 0.0.0-dev.179 | 49 | 3/29/2026 |
| 0.0.0-dev.174 | 160 | 3/28/2026 |
| 0.0.0-dev.172 | 47 | 3/28/2026 |
| 0.0.0-dev.171 | 46 | 3/28/2026 |
| 0.0.0-dev.170 | 45 | 3/28/2026 |
| 0.0.0-dev.169 | 47 | 3/27/2026 |
| 0.0.0-dev.165 | 46 | 3/27/2026 |
| 0.0.0-dev.164 | 46 | 3/27/2026 |
| 0.0.0-dev.156 | 56 | 3/20/2026 |
| 0.0.0-dev.155 | 57 | 3/20/2026 |
| 0.0.0-dev.152 | 45 | 3/20/2026 |
| 0.0.0-dev.148 | 44 | 3/20/2026 |
| 0.0.0-dev.147 | 42 | 3/20/2026 |
| 0.0.0-dev.144 | 43 | 3/19/2026 |
| 0.0.0-dev.142 | 41 | 3/19/2026 |
| 0.0.0-dev.141 | 37 | 3/19/2026 |
| 0.0.0-dev.140 | 49 | 3/19/2026 |
| 0.0.0-dev.135 | 38 | 3/19/2026 |