To add agents to team you go to Staff -> Teams

Click in the three dots at the rights side of the team you would like to add agents to.

Then press Add Agents to Team

You will find all agents that are not members of the Team in the left list, and the members of the Team in the right list.

To add a member to the team you click on them in the left list and they will be moved to the right list. Then press save