Antibiotic resistance genes (ARGs) are ancient but have become a modern critical threat to health. Gut microbiota, a dynamic reservoir for ARGs, transfer resistance between individuals. Surveillance of the antibiotic resistome in the gut during different host growth phases is critical to understanding the dynamics of the resistome in this ecosystem. Herein, we disentangled the ARG profiles and the dynamic mechanism of ARGs in the egg and adult phases of Tetramorium caespitum. Experimental results showed a remarkable difference in both gut microbiota and gut resistome with the development of T. caespitum. Meta-based metagenomic results of gut microbiota indicated the generalizability of gut antibiotic resistome dynamics during host development. By using Raman spectroscopy and metabolomics, the metabolic phenotype and metabolites indicated that the biotic phase significantly changed lipid metabolism as T. caespitum aged. Lipid metabolites were demonstrated as the main factor driving the enrichment of ARGs in T. caespitum. Cuminaldehyde, the antibacterial lipid metabolite that displayed a remarkable increase in the adult phase, was demonstrated to strongly induce ARG abundance. Our findings show that the gut resistome is host developmental stage-dependent and likely modulated by metabolites, offering novel insights into possible steps to reduce ARG dissemination in the soil food chain.