return error from (*Agent).Run()