Wu et al. present an ensemble pipeline, PhageHost, comprising a protein language model, TailSeek, for tail fiber detection from phage and prophage genomes and a deep learning model, HostBuster, that integrates tail fiber features with host information to predict the lytic potential of phage–K. pneumoniae pairs.