When you add a task, the task would automatically be assigend to the current agent.
To assign other agents when adding a new task: