Skip to content

Index

NexusLabs.Needlr.AgentFramework.Analyzers Namespace

Classes
AgentCyclicHandoffAnalyzer Analyzer that detects cyclic handoff chains in [AgentHandoffsTo] topology declarations.
AgentFunctionDescriptionAnalyzer Analyzer that detects [AgentFunction] methods and their parameters that are missing [System.ComponentModel.Description] attributes.
AgentFunctionGroupReferenceAnalyzer Analyzer that validates FunctionGroups references in [NeedlrAiAgent] declarations.
AgentFunctionTypesMiswiredAnalyzer Analyzer that detects types listed in FunctionTypes on [NeedlrAiAgent] that have no [AgentFunction] methods, causing the agent to silently receive zero tools.
AgentGraphConditionMethodAnalyzer Validates that Condition on [AgentGraphEdge] references a valid static method on the decorated class with signature static bool MethodName(object?).
AgentGraphCycleAnalyzer Analyzer that detects cycles in agent graphs declared via [AgentGraphEdge].
AgentGraphEntryPointAnalyzer Analyzer that validates entry point declarations for agent graphs.
AgentGraphOptionalFanOutAnalyzer Analyzer that detects fan-out nodes where all outgoing edges are optional.
AgentGraphReachabilityAnalyzer Analyzer that detects agents in a graph that are not reachable from the entry point.
AgentGraphReducerMethodAnalyzer Validates that ReducerMethod on [AgentGraphReducer] references a valid static method on the decorated class with signature static string MethodName(IReadOnlyList<string>).
AgentGraphTerminalNodeAnalyzer Analyzer that detects terminal nodes that have outgoing edges.
AgentGraphTopologyAnalyzer Analyzer that validates graph edge and entry point declarations reference declared agents.
AgentGroupChatSingletonAnalyzer Analyzer that validates [AgentGroupChatMember] group declarations.
AgentOrphanAnalyzer Analyzer that detects agent types that participate in no topology declaration.
AgentSequenceOrderAnalyzer Analyzer that validates Order values within [AgentSequenceMember] pipeline declarations.
AgentTopologyAnalyzer Analyzer that validates [AgentHandoffsTo] topology declarations.
MafDiagnosticDescriptors Contains diagnostic descriptors for all Needlr Agent Framework analyzers.
MafDiagnosticIds Contains diagnostic IDs for all Needlr Agent Framework analyzers.
TerminationConditionAnalyzer Analyzer that validates termination condition declarations on agent classes.
ToolResultToStringAnalyzer Detects .ToString() invocations on ToolCallResult.Result and FunctionResultContent.Result properties, which are object? and may contain a JsonElement at runtime.
WaitAnyCreateGraphAnalyzer Detects calls to CreateGraphWorkflow (which returns a MAF Workflow using BSP execution) when the compilation also declares [AgentGraphNode(JoinMode = GraphJoinMode.WaitAny)] for any graph.