This research paper investigates the peculiarities of unplanned urban fabrics known for developing in a spontaneous way. By studying the characteristics of their urban form, a set of rules, functions, and objectives used for an experimental urban form-finding model are explored. Based on these features, the development of a parametric model seeks to grasp certain characteristics of spontaneous urban tissues in old Islamic cities and incorporate them into an experimental social housing proposal. By the use of genetic algorithms, the model aims to offer better adaptability and more diversification which will be to while still keeping a degree of preservation to the distinctive aspects that define those settlements. The use of a genetic solver is expected to be a problem-solving method that can simulate and offer a wide range of objective-based spatial that are considerably adaptive to particular urban contexts. In this study, we discuss the defining aspects and constituents of the urban form of these settings before interpreting them into algorithmic components to be incorporated in a parametric model.