agave's are all from semi-arid - desert regions of the new world (like southern Utah through Mexico...).
without going anything more than what is in the question: it needs more light and less water...
light:
since it has been in the shade or indoors for a period you will need to introduce it to direct sunlight slowly... maybe set it out at 9am and bring it in at 11am for 3 days... then bring it in at 12... the alternative is to put it in a shady location outside and move it into more direct sunlight progressively.
water:
small pots and succulents are kind of a tough combo... if you have well draining soil (and you should), you may be able to water ever day if it gets enough heat and light and air... otherwise, if it is indoors, even in a window, you may only need to water once a week in the summer and once a month in the winter.