In The Culture series books, there's a concept of "smart dust". Basically dust sized surveillance drones that they cover planets with, that lets them see and hear everything that's going on.