An encodable DNA clutch with the ability to recognize microenvironmental molecular inputs intelligently complements the remote control of a 200-nm sized magnetic nanomachine. This nanomachine interacts with biological machinery in vitro when the encoded clutch selectively engages the engine with the rotor while external magnetic fields power the rotation.