A new tool lets artificially intelligent algorithms control computers the way a human would