a, The analysis of squid proteins, design of a squid-inspired master sequence, and biosynthesis of protein libraries yield protein-based functional self-healing materials for soft actuators and robotics applications. b, Protein sizes of native Loligo vulgaris protein complex and biosynthetic TRn4, TRn7, TRn11, and TRn25 polypeptides. (Source Data Fig. 1b). c, The nanostructure of biosynthetic tandem repeat polypeptides is composed of a β-sheet nanocrystal network (blue) connected by flexible chains (yellow), with molecular defects (dangling ends and loops). d, Self-healing properties of squid-inspired proteins (at room temperature) improved beyond those of native proteins owing to an optimized network morphology. Error bars, standard deviation (n = 5).