It is held as a paradigm that ribosomally synthesized peptides and proteins contain only l-amino acids. We demonstrate a ribosomal origin of the marine sponge-derived polytheonamides, exceptionally potent, giant natural-product toxins. Isolation of the biosynthetic genes from the sponge metagenome revealed a bacterial gene architecture. Only six candidate enzymes were identified for 48 posttranslational modifications, including 18 epimerizations and 17 methylations of nonactivated carbon centers. Three enzymes were functionally validated, which showed that a radical S-adenosylmethionine enzyme is responsible for the unidirectional epimerization of multiple and different amino acids. Collectively, these complex alterations create toxins that function as unimolecular minimalistic ion channels with near-femtomolar activity. This study broadens the biosynthetic scope of ribosomal systems and creates new opportunities for peptide and protein bioengineering.