What benefits exist in a relationship between a wholesaler and an agent?

Whose pocket would an agents commission come out of in an assigned deal? Would an agents involvement discourage potential investor buyers? I read an article by Steve Cook wherein he mentioned that he always submits his offers through his agents. That has me thinking. Any comments please?

If you are buying a home that is listed and then assign the contract, the agents commission comes from the seller. Actually what happens is the agent who sold you the house, now is selling your buyer the house, but the seller always pays the commission on listed homes.

If you are calling agents with a deal that you already have, and would like them to bring a buyer to wholesale to then you would pay the agent, becasue in that case you would be the seller.