Skip to content

AgentGraphTopologyAnalyzer

NexusLabs.Foundry.MicrosoftAgentFramework.Analyzers

AgentGraphTopologyAnalyzer Class

Analyzer that validates graph edge and entry point declarations reference declared agents.

public sealed class AgentGraphTopologyAnalyzer

Inheritance Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer 🡒 AgentGraphTopologyAnalyzer

Remarks

FDRYMAF019 (Error): An [AgentGraphEdge] target type is not decorated with [FoundryAgent].

FDRYMAF020 (Warning): A class has [AgentGraphEdge] but is not itself decorated with [FoundryAgent].

FDRYMAF021 (Warning): A class has [AgentGraphEntry] but is not itself decorated with [FoundryAgent].