  The dynamics of light hypernuclei and nuclear clusters produced in
$^{197}$Au+$^{197}$Au collisions has been investigated thoroughly with a
microscopic transport model. All possible channels of hyperon production and
transportation of hyperons in nuclear medium are implemented into the model.
The light complex fragments are recognized with the Wigner density approach at
the stage of freeze out in nuclear collisions. The isospin diffusion in the
collisions is responsible for the neutron-rich cluster formation. The
collective flows of nuclear clusters are consistent with the experimental data
from FOPI collaboration. It is found that the influence of the hyperon-nucleon
potential on the free hyperons is negligible, but available for the light
hypernuclide formation. The directed and elliptic flows of $^{3}_{\Lambda}$H
and $^{4}_{\Lambda}$H at incident energies of 2, 2.5, 3, 3.5 and 4 GeV/nucleon
are investigated thoroughly and manifest the same structure with the nuclear
clusters. The hypernuclear yields are produced in a wide rapidity and momentum
regime with increasing the beam energy.
