The main purpose of this work is the development of a performance prediction model of projects, considering the influence of the leadership style and organizational factors on the agility and flexibility of the organization. The motivation of this work is the absence in the literature of a model to establish the relationship among leadership and agility factors, by means of the integration of prediction and sensitivity analysis capacities. The originality of this work lies on the presentation of a general model integrating both capacities, dedicated to the analysis of different kind of projects. The first part of the study deals with a literature review regarding the components of leadership, organizational structure, agility, flexibility and organizational factors and the intrinsic relationship among them. This information is the basis of the framework of this study that serves for the construction of the model. Artificial intelligence (AI) techniques and statistical tools are used for modeling purposes. From the model application, it is possible to identify under which conditions of leadership style and organizational factors there are the highest chances of high project performances. The main results are the characterization of agility and flexibility demands for each type of project, the understanding of how leadership affects agility and flexibility, and the impacts on the project performance.