The fun part about the panspermia theory is that it's a very old idea first proposed by Anaxagoras (c. 500 – c. 428 BC), a pre-Socratic Greek philosopher.
He had also imagined the concept of a "Cosmic mind" (Nous). If i understand well, for him, this "Cosmic mind" is not really an external metaphysical god, but more a physical part of the universe itself. A mind inside the universe, but isolated from the rest, and who try to organise everything else in the universe (including life).