The agent and the economist