Generate a Task object from the agent’s instructions
This is a method of the Agent class in the agent module.
def generate_task() -> 'Task'