We report on the formation of organic amide polymers via carbonyl-amino group linkages in carbon monoxide and ammonia bearing energetically processed ices of astrophysical relevance. The first group comprises molecules with one carboxyl group and an increasing number of amine moieties starting with formamide (45 u), urea (60 u), and hydrazine carboxamide (75 u). The second group consists of species with two carboxyl (58 u) and up to three amine groups (73 u, 88 u, and 103 u). The formation and polymerization of these linkages from simple inorganic molecules via formamide und urea toward amide polymers is discussed in an astrophysical and astrobiological context. Our results show that long chain molecules, which are closely related to polypeptides, easily form by energetically processing simple, inorganic ices at very low temperatures and can be released into the gas phase by sublimation of the ices in star-forming regions. Our experimental results were obtained by employing reflectron time-of-flight mass spectroscopy, coupled with soft, single photon vacuum ultraviolet photoionization; they are complemented by theoretical calculations.