The objective of this study was to investigate the impact of thermophilic bacteria on crude fiber content, carbohydrate-active enzyme (CAZyme) genes, and associated microbial communities during Chinese medicine residues composting. The study examines changes over 15 days of composting with (T) and without (CK) thermophilic microbial agents. Results show that the group T compost temperature reached a maximum of 71.0 °C and remained above 70 °C for 2 days, while the group CK maximum temperature was only 60.9 °C. On Day 15, the seed germination index (GI) of group T reached 98.7%, while the group CK GI was only 56.7%. After composting, the degradation rates of cellulose, hemicellulose, and lignin in group T increased by 5.1, 22.5, and 18.5%, respectively, compared to those in group CK. Thermophilic microbial agents changed the microbial communities related to CAZymes, increasing unclassified_o_Myxococcales and Sphaerobacter abundance and reducing Acinetobacter and Sphingobacterium abundance. Thermophilic microbial agents also increased the abundance of the GT4, GT2_Glycos_transf_2, and AA3 gene families. These results show that thermophilic microbial agents can increase composting temperature, accelerate compost maturation, and promote crude fiber degradation. Therefore, they have broad application potential.