HPD-Agent.TextExtraction
0.1.4
dotnet add package HPD-Agent.TextExtraction --version 0.1.4
NuGet\Install-Package HPD-Agent.TextExtraction -Version 0.1.4
<PackageReference Include="HPD-Agent.TextExtraction" Version="0.1.4" />
<PackageVersion Include="HPD-Agent.TextExtraction" Version="0.1.4" />
<PackageReference Include="HPD-Agent.TextExtraction" />
paket add HPD-Agent.TextExtraction --version 0.1.4
#r "nuget: HPD-Agent.TextExtraction, 0.1.4"
#:package HPD-Agent.TextExtraction@0.1.4
#addin nuget:?package=HPD-Agent.TextExtraction&version=0.1.4
#tool nuget:?package=HPD-Agent.TextExtraction&version=0.1.4
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. |
-
net10.0
- DocumentFormat.OpenXml (>= 3.3.0)
- HtmlAgilityPack (>= 1.12.4)
- Microsoft.Extensions.DependencyInjection (>= 10.0.0)
- Microsoft.Extensions.Logging (>= 10.0.0)
- PdfPig (>= 0.1.8)
- UTF.Unknown (>= 2.5.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on HPD-Agent.TextExtraction:
| Package | Downloads |
|---|---|
|
HPD-Agent.Framework
A middleware-driven agentic AI framework built on Microsoft.Extensions.AI for building intelligent, tool-using agents. |
GitHub repositories
This package is not used by any popular GitHub repositories.