Each one needs whatever sensors, but more importantly, the auxiliary stuff to last years or decades in transit: in particular power supplies, heaters (=power!) if you can't make your electronics survive constant cryogenic temperatures, as well as comms amongst themselves to organise the mesh and high-gain comms back to Earth.
Maybe the worst of that could be solved with a nuclear power supply and then it's basically "just" radio and software design.
I also don't think you'd use onmidirectional mesh comms, you can get a lot of milage (literally) out of a phased array that can steer the beam at each target, plus it also becomes a bonus multistatic radar network.