Implementing Role-based Interactions for Internet Agents