The Cyberiad is a short story collection by Stanislaw Lem.
Plot[]
Trurl and Klaupacius are constructor robots who try to out-invent each other. Over the course of their adventures in The Cyberiad, they travel to the far corners of the cosmos to take on freelance problem-solving jobs, with dire consequences for their unsuspecting employers.