Check out this 3 note per string pentatonic shred lick by Robert Baker. The way he has laid out the pattern really lends itself to legato playing. You’ll end up with a few doubled notes as you switch strings which gives the lick a built in groove.
I’ve adjusted the notes that Robert plays near the end of the lick to better fit the E minor pentatonic scale.
Enjoy!