A typical nanofactory would fit in a desktop box, in the vision of K. Eric Drexler published in Nanosystems: Molecular Machinery, Manufacturing and Computation (1992), a notable work of exploratory engineering. It is highly contestable whether this vision is feasible. Some works of science fiction have also explored this and similar concepts.
The potential for such devices is part of the mandate of a major UK study led by mechanical engineering professor Ann Dowling. This is expected to report sometime in 2004.