Model component 108 can learn cluster assignments of classes in a monolithic application based on runtime traces of executed test cases. For example, model component 108 can comprise an artificial intelligence (AI) and/or a machine learning (ML) model (e.g., a neural network) that can be trained (e.g., via microservice generation system 102 as described below) to learn cluster assignments of classes in a monolithic application (e.g., a monolith enterprise application) based on runtime traces that can be produced by employing the monolithic application to execute such test cases (e.g., via processor 106). In some embodiments, model component 108 can comprise model 400 described below and illustrated in