AgentTopologyAnalyzer
NexusLabs.Needlr.AgentFramework.Analyzers¶
AgentTopologyAnalyzer Class¶
Analyzer that validates [AgentHandoffsTo] topology declarations.
Inheritance Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer 🡒 AgentTopologyAnalyzer
Remarks¶
NDLRMAF001 (Error): The target type referenced by [AgentHandoffsTo(typeof(X))] is not
decorated with [NeedlrAiAgent]. Handoff targets must be registered agent types.
NDLRMAF003 (Warning): The class carrying [AgentHandoffsTo] is not itself decorated with
[NeedlrAiAgent]. The initial agent in a handoff workflow must be a declared agent.