Leveraging commitments and goals in agent interaction