Relational Sequence Clustering for Aggregating Similar Agents