Understanding the Role of an Agent