Certified GKH Gardening Expert
It usually takes years for an agave to bloom. It may just be a leaf rosette. Do you know the variety name and can get more information? Is it possible that it is an agave? They often bloom yearly.
The bad news is that in many agave plants (but not all), a bloom signals the end of the parent agave's life. Are there any pups yet that you can separate? If not, don't be alarmed. It can take months or even a year for the parent to succumb, by which time there should be pups.
https://www.gardeningknowhow.com/ornamental/cacti-succulents/agave/growing-agave.htm
https://www.gardeningknowhow.com/houseplants/aloe-vera/different-aloe-varieties.htm