Herein, antimicrobial peptides (AMPs) with osteogenic fragments were designed and complexed on the surface of silver nanoparticle (AgNP) through hydrogen bonding, and the collagen structure-bionic silk fibroin (SF) was applied to carry AgNPs@ AMPs to achieve infection-triggered antibacterial and osteointegration. The gene discussed is ADSL; the disease is infection.