Algos generated in Live performance

Just wondering what ways people like to generate drum, synth parts or alter velocities etc in a performance in an improvisational way with the algos or other related ways?