Agents are generally employed by players. Therefore, in my opinion, they should be paid by the players.
They probably are...but in the negotiations, the player could easily say, "If I agree to sign for you, I will incur a fee for my agent's services. Pay this and I'll sign.". It's a bit like when you buy a new build house. They offer to pay your solicitors costs to smooth over the deal.