Stanford inventors have developed and fabricated biodegradable and biocompatible polysaccharide hydrogel optical fibers for fiber optic sensing and light transmission in biomedical applications like antigen detection, tracking cellular events, and optogenetics.