Responsive molecular machines can perform specific tasks triggered by environmental or chemical stimuli. Here, the authors show that antibodies can be used as inputs to modulate the binding of a molecular cargo to a designed DNA-based nanomachine, with potential applications in diagnostics and drug delivery.