Here's Texas, for example:
Sec. 7.02. CRIMINAL RESPONSIBILITY FOR CONDUCT OF ANOTHER.
(a) A person is criminally responsible for an offense committed by the conduct of another if:
...
(2) acting with intent to promote or assist the commission of the offense, he solicits, encourages, directs, aids, or attempts to aid the other person to commit the offense;