How can I hide the Add Infolet option from agents?

You can restrict access to analytics infolets or reports by removing the respective duty role. For example, for agents, remove the Next Gen HR Help Desk Agent Transaction Analysis Duty role.