The main objective of this work is the composition of an indeterminate musical piece of introspective and reflective character which is built through algorithms and behaviors inspired by the theory of complex systems. To this end, this paper presents a theoretical work of research-experimentation that leads to the practical process that links the functions available in the programming environment Tidalcycles, with the main characteristics of complex systems, all articulated from the practice of livecoding to conceive the composition of the indeterminate work.