I also think it's to costly compared to Eldritch Blast, but I think you can get nice effects with a good magic Weapon and maybe Weapon Specialisation (if you Multiclass) that you cannt with EB.
In my opionion, the main problem is that agonizing blast is used per attack, which makes it EB...