On one hand, the agent can choose the action with the highest estimated Q-value to exploit its current knowledge of the Q-function.
the agent can choose a non-greedy action to get more information about the Q-value of other actions.