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.
C#
0
337 commits
updated Feb 6, 2026
██╗ ██╗██████╗ ██████╗ █████╗ ██████╗ ███████╗███╗ ██╗████████╗
██║ ██║██╔══██╗██╔══██╗ ██╔══██╗██╔════╝ ██╔════╝████╗ ██║╚══██╔══╝
███████║██████╔╝██║ ██║█████╗███████║██║ ███╗█████╗ ██╔██╗ ██║ ██║
██╔══██║██╔═══╝ ██║ ██║╚════╝██╔══██║██║ ██║██╔══╝ ██║╚██╗██║ ██║
██║ ██║██║ ██████╔╝ ██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║
╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝
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.
📚 Full Documentation | Getting Started | Examples
The single philosophy driving this library: "Make Simple Things Simple, Make Complex Things Possible"
[!WARNING] HPD.Agent.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.
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!")) { }
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.")
// Toolkits & Tools
.WithTool<WebSearchToolkit>()
.WithTool<FileSystemToolkit>()
.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
}
Proprietary - See LICENSE file.
C#
86.1%
TypeScript
9.1%
Svelte
3.8%
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.
C#
0
337 commits
updated Feb 6, 2026
██╗ ██╗██████╗ ██████╗ █████╗ ██████╗ ███████╗███╗ ██╗████████╗
██║ ██║██╔══██╗██╔══██╗ ██╔══██╗██╔════╝ ██╔════╝████╗ ██║╚══██╔══╝
███████║██████╔╝██║ ██║█████╗███████║██║ ███╗█████╗ ██╔██╗ ██║ ██║
██╔══██║██╔═══╝ ██║ ██║╚════╝██╔══██║██║ ██║██╔══╝ ██║╚██╗██║ ██║
██║ ██║██║ ██████╔╝ ██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║
╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝
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.
📚 Full Documentation | Getting Started | Examples
The single philosophy driving this library: "Make Simple Things Simple, Make Complex Things Possible"
[!WARNING] HPD.Agent.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.
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!")) { }
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.")
// Toolkits & Tools
.WithTool<WebSearchToolkit>()
.WithTool<FileSystemToolkit>()
.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
}
Proprietary - See LICENSE file.
C#
86.1%
TypeScript
9.1%
Svelte
3.8%