NexusLabs.Needlr.AgentFramework.Workflows.Middleware
NexusLabs.Needlr.AgentFramework.Workflows¶
NexusLabs.Needlr.AgentFramework.Workflows.Middleware Namespace¶
| Classes | |
|---|---|
| AgentResiliencePlugin | MAF agent-level middleware that wraps each agent run call in a Polly.ResiliencePipeline<> from Microsoft.Extensions.Resilience / Polly. |
| NeedlrAgentMiddlewareExtensions | Extension methods that add Needlr middleware to the NexusLabs.Needlr.AgentFramework.AgentFrameworkSyringe and to MAF's Microsoft.Agents.AI.AIAgentBuilder directly. |
| ToolResultFunctionMiddleware | MAF function-invocation middleware that intercepts [AgentFunction] return values and exceptions, ensuring the LLM always receives a structured JSON response instead of a raw stack trace. |