I am open-sourcing a generative system in that I’ve built in Max/MSP over the past few years: https://github.com/mjcella/nnirror
I use it to generate, process, send, and receive multi-channel audio and CV from my modular synth. You can save system states and then write scripts to move between states programmatically. It requires a decent amount of CPU power to run, but you could also copy some of the components within the system and use them on their own instead.
I made a walkthrough video which goes into detail about how I use it: https://www.youtube.com/watch?v=h32bmdgBd3c
I welcome any questions, feedback, or thoughts! Cheers