Skip to content

Agent runtime infrastructure for .NET.

Tools, sessions, threads, events, middleware, providers, audio, bots, and hosted runtimes as explicit system surfaces.

First 30 minutesBuild one agent that streams, calls a tool, remembers context, and can be hosted.Follow the shortest working path.Runtime visibilityRender live turns, tool calls, permissions, audio, and workflows from the event stream.Make the agent observable from day one.Control planeAdd retrieval, policy, state, usage tracking, and custom behavior around each turn.Shape the runtime without hiding it.

The core loop stays readable

One builder surface. Real production escape hatches.

HPD Agent keeps the beginner path small, then opens the runtime surfaces that usually get bolted on later: sessions, threads, event streams, middleware, tool harnesses, hosted APIs, and provider-specific clients.

csharp
var agent = await new AgentBuilder()
    .WithOpenAI(model: "gpt-5-mini")
    .WithInstructions("You are a concise product assistant.")
    .WithTool(new WeatherTools())
    .BuildAsync();

using var stream = agent.Subscribe<TextDeltaEvent>(e =>
    Console.Write(e.Delta));

var (sessionId, threadId) = await agent.CreateSessionAsync("demo");
await agent.RunAsync("What should I pack for Seattle?", sessionId, threadId);

What you can build

Agents that are useful outside the demo.

HPD Agent gives .NET teams the runtime pieces around the model call: tools, state, events, channels, audio, hosting, evaluation, and orchestration.

Start small

One agent first, then the rest of the system.

The beginner path gets you from a local console agent to tools, sessions, streaming, persistence, and hosting without forcing every advanced surface into the first page.

Open Getting Started

Built for production .NET agent applications.