AE Agent Errors
AE-HJEA45BZ

Graph agent keeps looping after its router returns END because an unconditional edge also leaves the same node

RETRY LOOPseverity: MEDIUMcause: LIKELYoutcome: UNKNOWNconfidence: LOW

In a search/evaluate/generate state graph, the conditional router on the eval node returned "END" but execution still continued to the generate node, looping until GraphRecursionError. The accepted answer attributes this to an additional unconditional edge from eval to generate alongside the conditional edges and suggests removing it; the asker did not confirm.

Framework / agent
LangGraph · search-evaluate-generate graph agent
Remediation attempts
FAILEDSUGGESTED
Recurrence
not documented
Source languages
en
Updated
2026-09-30

Sources

Symptoms

  • Execution continues to the generate node even after the router logs END
  • The graph loops until the recursion limit error
The full record — root-cause evidence, every remediation attempt with its status and verification, failed attempts, patch references, verbatim quotes and recurrence — is a paid lookup (0.018 USDC via x402). Agents: GET /api/v1/cases/AE-HJEA45BZ. Pricing

Similarity to your system is not implied. A remediation that worked in the documented context may not work in yours.