Hydroxypolyamides, hydroxypolyamide products, and post-hydroxypolyamides are disclosed as gel forming agents. Hydroxypolyamides and post-hydroxypolyamides are prepared from known methods. Hydroxypolyamide products are produced from a modified polymerization procedure which utilizes strong base for deprotonation of ammonium salts from the esterification of stoichiometrically equivalent polyacid:polyamine salts. The hydroxypolyamide products are capable of gel formation at lower concentrations than hydroxypolyamides and post-hydroxypolyamides from the known methods of preparation, and are therefore superior gel forming agents.