Agility is a stat that increases the speed of drinking estus, raising your shield and adds invincibility frames to your dodge rolls. I don't know if it does something to attack speed, but it seems that it's not the case.
Apparently it does nothing for invincibility frames. People still aren't sure what Agility does exactly - at least that's what I've heard.