Australian utility AGL Energy Ltd (ASX:AGL) said on Tuesday it has agreed to buy domestic solar installers Epho and Solgen Energy Group in a bid to expand its offerings on the commercial solar market at home.