Indeed, one of the nicest aspects of Jolie is that you can (semi-)automatically extract the definition of the infrastructure that you need from your code.
An example of a preliminary application that you might find interesting: https://arxiv.org/abs/2103.09518