Hornbein said:
You need to decide how the boys get their energy. That will guide the rest.
I think composition is somewhat more restraining.
A green plant does mining and self-replication with green energy, namely solar. However, there are reasons why a green plant is visible:
Chlorophyll has a specific reflection spectrum, similar for many plants. There are stones that look green for human eye; but few naturally occurring green stones are indistinguishable from green plant for a spectroscope.
Compare a nano/small robot that uses photoelements.
What does a dark stone do? Absorb sunlight and convert all absorbed sunlight into heat right at the surface where the light falls.
What does a photoelement do? Absorb sunlight, convert some of it into heat at the surface, and convert the rest into electricity... which eventually will be converted into heat where consumed (unless it is stored as chemical energy).
In principle, since you have more freedom with the chemical/spectral basis of photoelement than plants have with chlorophyll, you could camouflage a photoelement to look just like a common natural stone for a spectrometre. With constraints - light coloured stones leave you little absorbed energy to play with. If your robots are small, the better. Because if the energy is to be transmitted far from the photoelement, the spectrometre could see mismatch between absorbed light and emitted infrared; but if the robot is too small for the spectrometre to resolve then the total heat emitted by the robot equals total absorbed light.
And the other is structural materials.
Plants on modern Earth are visible because they need reduced carbon for their structural materials - proteins and polysaccharides - and the most commonly available form of carbon on earth is carbon dioxide. Reducing carbon dioxide to wood leaves surplus oxygen - lots of it, it is a gas with poor solubility and hard to store, so it is best dumped into air.
On a planet where most available form of carbon is atmospheric methane rather than carbon dioxide, plants might oxidize methane into polysaccharides and dump hydrogen into air.
And on a planet where tholins are abundant, with roughly the correct composition for structural polymers except they have the wrong internal structure, a form of life might use solar energy to convert tholins into biomass without leaving waste to detect.
So what do nanorobots consist of?