Noobie concept question on crewAI

In the task.yml we associate the task with a agent using the "agent: " field. Is this association necessary ? Is is not possible to have crewAI figure the right agent based on the description in the task at runtime ? BY associating agent with a task aren’t we discounting the whole purpose of autonomous actions ?

You need to associate a task to an agent, its necessary. Autonomous actions are seen in the way the agent solves your tasks. If you don’t associate a task with an agent how is the agent going to know the task they need to perform? :sweat_smile:

At the same time, a task is part of the whole prompt so it’s needed.

Well, but why its not possible for crewAI to read the task description and use LLM to understand the semantics and then match it to the right agent using the agent’s purpose/description. Why that part isn’t automatic - that is the actual question I am asking.