Skip to content

NexusLabs.Needlr.AgentFramework.Workflows

NexusLabs.Needlr.AgentFramework.Workflows

NexusLabs.Needlr.AgentFramework.Workflows Namespace

Classes
AgentFactoryWorkflowExtensions Extension methods on NexusLabs.Needlr.AgentFramework.IAgentFactory for building MAF handoff workflow topologies.
GraphWorkflowServiceExtensions Extension methods for registering graph workflow services in the DI container.
KeywordTerminationCondition Terminates a workflow when an agent's response contains a specified keyword.
RegexTerminationCondition Terminates a workflow when an agent's response matches a specified regular expression pattern.
StreamingRunWorkflowExtensions Extension methods on Microsoft.Agents.AI.Workflows.StreamingRun and Microsoft.Agents.AI.Workflows.Workflow for collecting agent responses.
SyringeGraphWorkflowExtensions Syringe extension to register graph workflow services alongside the agent framework. Call after UsingAgentFramework() in the syringe fluent chain.
ToolCallTerminationCondition Terminates a workflow when an agent calls a specific tool/function during its turn. Unlike KeywordTerminationCondition which matches response text, this condition matches on structured tool call data — eliminating false positives from keywords appearing in natural language.