Agents should not resolve tickets directly. We have restricted the Close option for the Agent in frappe helpdesk