Agent's Task is not executed in multi-agent crew

If you’re using a hierarchical (delegation) process, then your Crew definition should be:

crew = Crew(
    agents=agents,
    tasks=tasks,
    process=Process.hierarchical,   #  👈
    manager_agent=coordinator_agent,
    verbose=True
)

The hierarchical process has been widely discussed here on the forum. I highly recommend you take a good look at this other thread regarding it.

From your project’s description, it sounds like the steps are very well-defined. I’d suggest you consider using the CrewAI Flows paradigm. In this other thread, you’ll find a concrete example of using Flows for a delegation process.

1 Like