An agent is not just a salesperson who should help you sell and buy a property. He should be able to plan the timeline well and the last thing you want is sell and unable to buy or you're stranded unable to buy or a gap without a home.
A good agent should be able to advise on the market situation and also give sound advise on the capital gains and etc. And not just intending to make money out of you.