2COMM: a commitment-based MAS architecture