In this paper we present the RoleX environment for multi-agent systems. Born to support the management of role-based interactions, Rolex provides different services, in particular to support open and flexible cooperation. To this purpose, RoleX exploits an event-based communication mechanism and adopts SOAP as message encoding. Such features make RoleX well suit dynamic and unpredictable scenarios such as the Internet.