In the agent view page, click the small task icon located at the upper right corner
Automatically, the add task page will be displayed with the selected agent assigned in the Agents field.