using (5+a*1.5)+((x*i*0.13)^0.5)/40=y
a=agility, i=intelligence, x=ap spent, y=usable ap.
7 starting ap for 1 agility and 20 starting ap for 10 agility.
it would take 203916 ap spent for a 8/1/1/10 build to reach 20 ap usable.
and it would take 436143 ap spent to surpass the 8/10/1/1. with 26 ap usable.
(8/1/10 build is mainly min/maxing but takes forever to surpass other builds in terms of ap and skills,
i would personally recommend a 8/3/3/6 or 6/4/4/6 build just for entire story mode playthrough without min/max worry with 6int you can go through all the dialog and with 160 or 120 hp you can survive some battles)