Provided herein are cell-free systems for generating carbapenems, e.g., a compound of the Formula (I):or salts thereof wherein , R1, R2, R3, R4, R5, and R6 are defined herein. Also provided are pharmaceutical compositions comprising a compound generated by the inventive cell-free system, and use of these compounds and compositions for the treatment of bacterial infections.