HPD-Agent.Providers.Mistral
0.1.4
dotnet add package HPD-Agent.Providers.Mistral --version 0.1.4
NuGet\Install-Package HPD-Agent.Providers.Mistral -Version 0.1.4
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="HPD-Agent.Providers.Mistral" Version="0.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HPD-Agent.Providers.Mistral" Version="0.1.4" />
<PackageReference Include="HPD-Agent.Providers.Mistral" />
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 HPD-Agent.Providers.Mistral --version 0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: HPD-Agent.Providers.Mistral, 0.1.4"
#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 HPD-Agent.Providers.Mistral@0.1.4
#: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=HPD-Agent.Providers.Mistral&version=0.1.4
#tool nuget:?package=HPD-Agent.Providers.Mistral&version=0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
HPD.Agent.Framework
██╗ ██╗██████╗ ██████╗ █████╗ ██████╗ ███████╗███╗ ██╗████████╗
██║ ██║██╔══██╗██╔══██╗ ██╔══██╗██╔════╝ ██╔════╝████╗ ██║╚══██╔══╝
███████║██████╔╝██║ ██║█████╗███████║██║ ███╗█████╗ ██╔██╗ ██║ ██║
██╔══██║██╔═══╝ ██║ ██║╚════╝██╔══██║██║ ██║██╔══╝ ██║╚██╗██║ ██║
██║ ██║██║ ██████╔╝ ██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║
╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝
The HPD Agent Framework is a battery first agentic framework designed to enable you to create reliable agents as quickly as possible. We build the infrastructure for reliable autonomous agents, you build the future.
The single philosophy driving this library: "Make Simple Things Simple, Make Complex Things Possible"
Main Characteristics
- Lightweight
- Native AOT First
- Builder and Configuration First
- Provider Agnostic
- Event Streaming First
Built-In Features
- Custom Event Protocol - Easily receive a serialzed protool of all events emitted by the agent
- Middleware - Extensible middleware system for customizing agent behavior
- Durable Execution - Checkpointing and conversation thread persistence
- PII Filtering - Remove sensitive information before it reaches the LLM
- Error Handling - Built in Provider Error Handling
- Permissions - Permission system for tool execution control
- History Reduction - Conversation summarization and context window management
- Tool Calling - First-class support for function/tool calling with automatic schema generation
- Tool Collapsing - Innovative mechanism to reduce tool context(without RAG or Code Execution or Truncation)
- Skills - Provider agnostic way to define reusable agent skills
- Observability - Built-in event system for logging, telemetry, and debugging
- Planning - Built-in plan mode for complex tasks
- SubAgents - Built-in support for nested agent orchestration
- MCP Support - Supports MCP with Collapsing/Collapsing Mechanism
- Custom Event Handling Presets - Custom Event UI handling for normal Chat conversations, telemetry etc
Quick Start
using HPD.Agent;
using HPD.Agent.Providers.OpenAI;
var agent = await new AgentBuilder()
.WithProvider("openai", "gpt-4o")
.WithName("Assistant")
.WithInstructions("You are a helpful assistant.")
.WithEventHandler(new ConsoleEventHandler())
.Build();
await foreach (var _ in agent.RunAsync("Hello!")) { }
Advanced Example
using HPD.Agent;
using HPD.Agent.Providers.OpenAI;
var agent = await new AgentBuilder()
.WithProvider("openai", "gpt-4o")
.WithName("ResearchAssistant")
.WithInstructions("You are a research assistant with access to tools and knowledge.")
// Plugins & Tools
.WithPlugin<WebSearchPlugin>()
.WithPlugin<FileSystemPlugin>()
.WithToolCollapsing() // Reduces tool context for better performance
// Middleware
.WithPermissions() // Require approval for sensitive operations
.WithPIIProtection() // Filter sensitive data
.WithHistoryReduction(config => {
config.Strategy = HistoryReductionStrategy.Summarizing;
config.TargetMessageCount = 30;
})
.WithCircuitBreaker(maxConsecutiveCalls: 5)
.WithFunctionRetry()
// Memory
.WithStaticMemory(opts => {
opts.StorageDirectory = "./knowledge";
opts.AddDocument("./docs/company-policies.md");
})
.WithDynamicMemory(opts => {
opts.StorageDirectory = "./memory";
opts.EnableAutoEviction = true;
})
.WithPlanMode() // Enable planning capabilities
// Observability
.WithLogging(loggerFactory)
.WithTelemetry()
.WithEventHandler(new ConsoleEventHandler())
.Build();
await foreach (var evt in agent.RunAsync("Research the latest AI trends"))
{
// Process streaming events
}
Requirements
- .NET 10.0+
- Microsoft.Extensions.AI 10.0.0+
License
Proprietary - See LICENSE file.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- HPD-Agent.Framework (>= 0.1.4)
- Mistral.SDK (>= 2.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on HPD-Agent.Providers.Mistral:
| Package | Downloads |
|---|---|
|
HPD-Agent.FFI
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.