Ecosophy City Model (ECM) is proposing a theoretical machine for increasing the complexity of the City. The model articulates the concept of Three Ecologies, formulated by Felix Guattari. The model pretend to extend the traditional vision of ecology, proposing a new model of sostenibility, that is structured in social ecology, environmental ecology and ecology of mind. ECM encodes agents behavior for modeling complex autoadaptive city. These agents behave to inferring the design of infrastructure of disorder in order to optimize the complexity of the city under ecosophy approach. The Agents will be able to explore new configurations of public spaces, generating the multiplication of the singularity and amplifying the resolution of urban design.