Various temperature compensation techniques are employed to improve the precision of fiber Bragg gratings by minimizing temperature-induced wavelength shifts. These methods include using temperature-insensitive packaging materials, dual-grating configurations, and active temperature. Fiber Bragg grating (FBG) sensors have emerged as advanced tools for monitoring a wide range of physical parameters in various fields, including structural health, aerospace, biochemical, and environmental applications. The development trajectory has been marked by continuous. One of the particularly useful applications of a direct-write method is for the fabrication of fiber Bragg gratings (FBGs). In this article, we will delve into the intricacies of FBG fabrication, exploring the techniques, applications, and future directions of. Femtosecond laser inscription (FLI) enables hydrogen-free, thermally stable, high-resolution, and complex structures of FBG fabrication, but its practical application is limited by manual operation, low throughput, and sensitivity to laser alignment. In this study, we present an AI- powered FLI. A fiber Bragg grating (FBG) is an optical device that reflects light within a specific wavelength while allowing others to pass through; this is owing to the periodic variations in the refractive index of the fiber core. Strain sensors based on FBGs are becoming an essential part of smart factory.