A strategy for gold nanoparticle (AuNP) assembly driven by a dynamic DNA-fueled molecular machine is revealed here. In this machine, the aggregation of DNA-functionalized AuNPs is regulated by a series of toehold-mediated strand displacement reactions of DNA. The aggregation rate of the AuNPs can be regulated by controlling the amount of oligonucleotide catalyst. The versatility of the dynamic DNA-fueled molecular machine in the construction of two-component "OR" and "AND" logic gates has been demonstrated. This newly established strategy may find broad potential applications in terms of building up an "interface" that allows the combination of the strand displacement-based characteristic of DNA with the distinct assembly properties of inorganic nanoparticles, ultimately leading to the fabrication of a wide range of complex multicomponent devices and architectures.