Hello and welcome to Healthcare Magic. Thanks for your query.
Agomelatine is an antidepressant which has positive effects on sleep. It is more likely that your erratic sleep is due to the depression
, since depression itself can cause significant changes in sleep pattern. If these symptoms are problematic or distressing, please report this to your doctor, so that appropriate treatment modifications can be made.
Wish you all the best.
- Dr. Jonas Sundarakumar