high severityCrewAI Agent delegation (allow_delegation=True)
Crew execution hangs indefinitely with repeating logs like \"Entering new CrewAgentExecutor chain... Action: Delegate work to coworker\" for the same agents/tasks. High CPU/memory usage, no final output. Stops when allow_delegation=False but loses delegation functionality.[GitHub #330](https://github.com/joaomdmoura/crewAI/issues/330)
Root cause
Agents with allow_delegation=True continuously delegate tasks back-and-forth (e.g., writer to researcher repeatedly) without reaching termination condition, exceeding default iteration limits or lacking timeouts. Common in non-hierarchical setups or poor agent instructions.[GitHub #330](https://github.com/joaomdmoura/crewAI/issues/330)
CrewAIallow_delegationinfinite-loopmax_iterdelegationhierarchical-process