Long-horizon agents