Agave syrup is real sugar, not processed like white granulated sugar, and has a lower glycemic index , although this does not mean that it is essentially healthier than white sugar. Sweeteners have also been found to have their health consequences, in this case, agave can actually alter our gastrointestinal microbiota.
The ideal thing is to get more and more used to the real and natural taste of food. If you want to sweeten your food, do it with natural foods such as dates, figs, dried apricots, raisins, etc. You can make a puree and add it to biscuits, yogurts, etc, or you could use banana in some recipes, or other sweet fruits.