HPD-Agent.Providers.OpenRouter 0.5.0

dotnet add package HPD-Agent.Providers.OpenRouter --version 0.5.0
                    
NuGet\Install-Package HPD-Agent.Providers.OpenRouter -Version 0.5.0
                    
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.OpenRouter" Version="0.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HPD-Agent.Providers.OpenRouter" Version="0.5.0" />
                    
Directory.Packages.props
<PackageReference Include="HPD-Agent.Providers.OpenRouter" />
                    
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 HPD-Agent.Providers.OpenRouter --version 0.5.0
                    
#r "nuget: HPD-Agent.Providers.OpenRouter, 0.5.0"
                    
#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.OpenRouter@0.5.0
                    
#: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.OpenRouter&version=0.5.0
                    
Install as a Cake Addin
#tool nuget:?package=HPD-Agent.Providers.OpenRouter&version=0.5.0
                    
Install as a Cake Tool

HPD AI Framework

GitHub Docs NuGet

A C# framework for building production AI systems — AI agents, RAG pipelines, ML pipelines, authentication, and everything in between.

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://www.nuget.org/service/https://www.nuget.org/overview-dark.svg "> <source media="(prefers-color-scheme: light)" srcset="https://www.nuget.org/service/https://www.nuget.org/overview.svg "> <img alt="HPD AI Framework Overview" src="https://www.nuget.org/overview.svg"> </picture>

HPD AI Framework is currently in an early development phase.

Until the release of version 1.0, the API, inner mechanisms and naming are subject to significant changes without notice.


HPD-Agent

Production-ready agent framework — tools, multi-turn conversations, middleware, sub-agents, multi-agent workflows, audio, and more. Paired with TypeScript/Svelte UI libraries for streaming chat interfaces.

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://www.nuget.org/service/https://www.nuget.org/architecture-dark.svg "> <source media="(prefers-color-scheme: light)" srcset="https://www.nuget.org/service/https://www.nuget.org/architecture.svg "> <img alt="HPD-Agent Architecture" src="https://www.nuget.org/architecture.svg"> </picture>

Install

dotnet add package HPD-Agent.Framework

Quick Start

using HPD.Agent;

var agent = await new AgentBuilder()
    .WithProvider("openai", "gpt-4o")
    .WithInstructions("You are a helpful assistant.")
    .BuildAsync();

agent.On<TextDeltaEvent>(e =>
{
    Console.Write(e.Text);
    return ValueTask.CompletedTask;
});

await agent.RunAsync("Hello!");

What's Inside

  • Tools — AIFunctions, Skills, SubAgents with source-generated wiring. MCP servers, OpenAPI specs, or runtime-provided.
  • Sessions & Branches — Conversation history with forking. Automatic crash recovery.
  • Sub-Agents — Child agents with own tools, provider, and memory. Stateful, per-session, or one-shot.
  • Middleware — Intercept every stage. Built-in: CircuitBreaker, Retry, HistoryReduction, PII, FunctionTimeout, Logging.
  • Multi-Agent Workflows — Directed graph composition with conditional routing.
  • Evaluation — LLM-as-judge scoring, decompose-verify evaluators, score store, and human-in-the-loop annotation queue.
  • Event Runtime — 50+ event types in real time. Send input events with RunAsync, handle output with On<TEvent>.
  • Memory & Content Store — ISessionStore, IContentStore, and agent working memory.
  • Audio — Native audio input/output for voice agents.
  • Observability — OpenTelemetry integration with automatic span hierarchy.

TypeScript Libraries

Package Purpose
@hpd/hpd-agent-client Event-native browser & Node.js client — run() input events, on() output handlers, SSE/WebSocket/MAUI transports
@hpd/hpd-agent-headless-ui Svelte 5 headless component library — < 20 KB gzipped, 12+ components

Documentation

Full docs at hpd-ai.github.io — or browse documentation/.


HPD-RAG

Fully modular RAG framework — every node in every pipeline is swappable or removable. Build your own ingestion, retrieval, and evaluation pipelines by snapping blocks together.

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://www.nuget.org/service/https://www.nuget.org/rag-architecture-dark.svg "> <source media="(prefers-color-scheme: light)" srcset="https://www.nuget.org/service/https://www.nuget.org/rag-architecture.svg "> <img alt="HPD-RAG Architecture" src="https://www.nuget.org/rag-architecture.svg"> </picture>

Coming soon. HPD-RAG is under active development.


HPD-ML

Fully modular machine learning framework — data ingestion, feature engineering, model training, and evaluation all composable and extensible. Universal data abstraction with pluggable learners and transforms.

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://www.nuget.org/service/https://www.nuget.org/HPD-AI-Framework/dotnet/src/HPD-ML.Framework/architecture-dark.svg "> <source media="(prefers-color-scheme: light)" srcset="https://www.nuget.org/service/https://www.nuget.org/HPD-AI-Framework/dotnet/src/HPD-ML.Framework/architecture.svg "> <img alt="HPD-ML Architecture" src="https://www.nuget.org/HPD-AI-Framework/dotnet/src/HPD-ML.Framework/architecture.svg"> </picture>

Coming soon. HPD-ML is under active development.


HPD-Auth

Hosted-auth-service experience as an embedded .NET library. Wraps ASP.NET Core Identity and exposes a ready-made REST API — JWT + Cookie dual-auth, session management, 2FA, passkeys, OAuth, admin API, and event-driven audit logging. No separate service to run. No per-user pricing. No data leaving your infrastructure.

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://www.nuget.org/service/https://www.nuget.org/HPD-AI-Framework/dotnet/src/HPD-Auth.Framework/architecture-dark.svg "> <source media="(prefers-color-scheme: light)" srcset="https://www.nuget.org/service/https://www.nuget.org/HPD-AI-Framework/dotnet/src/HPD-Auth.Framework/architecture.svg "> <img alt="HPD-Auth Architecture" src="https://www.nuget.org/HPD-AI-Framework/dotnet/src/HPD-Auth.Framework/architecture.svg"> </picture>

Coming soon. HPD-Auth is under active development.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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 (1)

Showing the top 1 NuGet packages that depend on HPD-Agent.Providers.OpenRouter:

Package Downloads
HPD-Agent.FFI

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.0 93 6/11/2026
0.3.3 135 2/25/2026
0.3.2 130 2/25/2026
0.3.1 140 2/24/2026
0.3.0 137 2/24/2026
0.2.0 140 1/13/2026
0.1.4 474 12/9/2025
0.1.3 467 12/9/2025
0.1.2 433 12/8/2025
0.1.0 330 12/8/2025