In this study, we confirmed that bipartite interactions between the Tenebrio immune system and either gut microbiota or P. burhodogranariea_B infection are mediated through Imd-dependent AMPs. The gene discussed is ADSL; the disease is infection.