This study aimed to evaluate the efficacy of Lactiplantibacillus argentoratensis AGMB00912 (LA) in reducing Salmonella Typhimurium infection in weaned piglets. The investigation focused on the influence of LA on the gut microbiota composition, growth performance, and Salmonella fecal shedding. The results indicated that LA supplementation significantly improved average daily gain and reduced the prevalence and severity of diarrhea. Fecal analysis revealed reduced Salmonella shedding in the LA-supplemented group. Furthermore, LA notably altered the composition of the gut microbiota, increasing the levels of beneficial Bacillus and decreasing those of harmful Proteobacteria and Spirochaetes. Histopathological examination showed less intestinal damage in LA-treated piglets than in the controls. The study also observed that LA affected metabolic functions related to carbohydrate, amino acid, and fatty acid metabolism, thereby enhancing gut health and resilience against infection. Short-chain fatty acid concentrations in the feces were higher in the LA group, suggesting improved gut microbial activity. LA supplementation enriched the population of beneficial bacteria, including Streptococcus, Clostridium, and Bifidobacterium, while reducing the number of harmful bacteria, such as Escherichia and Campylobacter. These findings indicate the potential of LA as a probiotic alternative for swine nutrition, offering protective effects to the gut microbiota against Salmonella infection.