Skip to content

AgentGraphCycleAnalyzer

NexusLabs.Foundry.MicrosoftAgentFramework.Analyzers

AgentGraphCycleAnalyzer Class

Analyzer that detects cycles in agent graphs declared via [AgentGraphEdge].

public sealed class AgentGraphCycleAnalyzer

Inheritance Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer 🡒 AgentGraphCycleAnalyzer

Remarks

\<b>FDRYMAF016\</b> (Error): A cycle was found in the agent graph — agent graphs must be directed acyclic graphs (DAGs).