If you wanna know the current AGI you can use this:
CODE
$game_party.members[ACTOR_ID].agi
See, I didn't knew this way to recieve the current agi, but when I looked to Scene_Status and Window_Status and Window_Base I received this way to know the current AGI

The only thing is, that I'm not sure it was one of your requests xD
The answer on your other request (also not sure if I understood it good

) is this:
CODE
#--------------------------------------------------------------------------
# * Get Hit Rate
#--------------------------------------------------------------------------
def hit
if two_swords_style # If two swords style is enabled.
n1 = weapons[0] == nil ? 95 : weapons[0].hit # n1 = 95 : weapons from player : weapons from
n2 = weapons[1] == nil ? 95 : weapons[1].hit # the databse. The same for n2
n = [n1, n2].min # So n = n1, n2 and the .min means that it returns the smallest item
else # If there's no two sword style
n = weapons[0] == nil ? 95 : weapons[0].hit # N = 95 : weapons[0].hit 0 means first .
end
return n # Return N
end
I made comments with text in it

Hope it helps!