| The aims of this study are to explore the gene clusters related to antagonistic substances of Bacillus velezensis LF01 strain based on the whole genome sequencing, and to evaluate the biological safety and biocontrol effect of the antagonistic substances of the LF01 strain. In this study, the whole genome of the LF01 strain was sequenced based on the third generation Nanopore sequencing platform, and its taxonomic status was identified based on ANI and DDH online analysis, and the genetic evolution at genome level. The gene clusters related to antagonistic substances of the LF01 strain was analyzed based on antiSMASH software. The hydrolysis activity of the LF01 strain to carbohydrate was analyzed based on CAZyme database. The toxicity of the antagonistic substances of LF01 strain to Oreochromis niloticustilapia and Danio reriozebrafish was evaluated by intraperitoneal injection. The biocontrol effect of the antagonistic substances of LF01 strain to O. niloticustilapia was evaluated by artificial infection after 5 d of feeding O. niloticustilapia. The complete genome of LF01 strain was a total length of 3974023 bp and the GC content was 46.56%, and it contains 3843 coding genes. Compared to B. velezensis, the ANI and DDH values of LF01 strain were ≥97.66% and ≥80.10%, respectively. Furthermore, the genomic evolution analysis showed that LF01 strain was clustered with B. velezensis. These results indicated that LF01 strain was identified as B. velezensis at the genomic level. The LF01 strain contains nine gene clusters related to antagonistic substances, including bacillaene, 、 bacillibactin、, bacillomycin D、, bacilysin、, difficidin、, fengycin、, macrolactin H、, plantazolicin and surfactin, which accounts for 8.83% of the total genome sequences. In addition, LF01 strain contains a large number of CAZymes related to the degradation of cellulose, hemicellulose, starch, chitin, pectin, peptidoglycan and glucan. The antagonistic substances of the LF01 strain showed high biological safety to O. niloticustilapia and D. reriozebrafish, and they were significantly enhanced the resistance of O. niloticustilapia against S. agalactiae infection (P<0.01). In conclusion, the LF01 strain contains a large number of gene clusters for biosynthesis of secondary metabolites related to antagonistic substances. The antagonistic substances were found to be safe for O. niloticustilapia and D. reriozebrafish, and feeding O. niloticustilapia with them significantly improved the diseases resistance of fish. Therefore, the antagonistic substances of LF01 strain have a broad development and application prospect as biocontrol agents to improve bacteria diseases control in aquaculture.