DEX is the primary stat to increase the damage and increase a liitle bit of your speed
AGI increases the ability to shoot faster and avoid enemies. It also decreases the delay of your skills based on the ASPD.
STR is just to carry bullets, and to increase the attack by a litte (make sure that it is in multiples of 10)