A platform for P2P agent-based collaborative applications