In the popular legend which adorned the figures of the leaders of the Ashkenazi ḥasidic movement with a crown of wonders, the golem became an actual creature who served his creators and fulfilled tasks laid upon him. Legends such as these began to make their appearance among German Jews in the 15th century and spread widely, so that by the 17th century they were "told by all" (according to Joseph Solomon *Delmedigo). In the development of the later legend of the golem there are three outstanding points:
(1) The legend is connected with earlier tales of the resurrection of the dead by putting the name of God in their mouths or on their arm, and by removing the parchment containing the name in reverse and thus causing their death. Such legends were widespread in Italy from the tenth century (in Megillat *Aḥima'az).
(2) It is related to ideas current in non-Jewish circles concerning the creation of an alchemical man (the "homunculus" of Paracelsus).
(3) The golem, who is the servant of his creator, develops dangerous natural powers; he grows from day to day, and in order to keep him from overpowering the members of the household he must be restored to his dust by removing or erasing the alef from his forehead.
https://www.jewishvirtuallibrary.org/golem
they were all recorded in Your book;
in due time they were formed,
to the very last one of them.-a
וַיֹּאמֶר אֱלֹקִים נַעֲשֶׂה אָדָם בְּצַלְמֵנוּ כִּדְמוּתֵנוּ (בראשית א, כו),... אָמַר רַבִּי יִרְמְיָה בֶּן אֶלְעָזָר בְּשָׁעָה שֶׁבָּרָא הַקָּדוֹשׁ בָּרוּךְ הוּא אֶת אָדָם הָרִאשׁוֹן, אַנְדְּרוֹגִינוֹס בְּרָאוֹ, הֲדָא הוּא דִכְתִיב (בראשית ה, ב): זָכָר וּנְקֵבָה בְּרָאָם. ...רַבִּי תַּנְחוּמָא בְּשֵׁם רַבִּי בְּנָיָה וְרַבִּי בֶּרֶכְיָה בְּשֵׁם רַבִּי אֶלְעָזָר אָמַר, בְּשָׁעָה שֶׁבָּרָא הַקָּדוֹשׁ בָּרוּךְ הוּא אֶת אָדָם הָרִאשׁוֹן גֹּלֶם בְּרָאוֹ, וְהָיָה מוּטָל מִסּוֹף הָעוֹלָם וְעַד סוֹפוֹ, הֲדָא הוא דִכְתִיב (תהלים קלט, טז): גָּלְמִי רָאוּ עֵינֶיךָ וגו'.
... Said R’ Yirmiyah ben Elazar: In the hour when the Holy One created the first human, He created him [as] an androgyne/androginos, as it is said, “male and female He created them”.... R’ Tanchuma in the name of R’ Banayah and R’ B’rakhyah in the name of R’ Elazar said: In the time that the Holy One created Adam Harishon, [as] a golem He created him and he was set up from [one] end of the world and unto its [other] end – that’s what is written: “Your eyes saw my golem” [Ps 139:16]. ...