Amides and thioesters are ubiquitous compounds in chemistry, used for the production of medicines, natural products, and advanced materials. Traditionally, their synthesis is a messy business, involving wasteful reagents, toxic metals, or energy-intensive conditions.