Poor farming practices and policies across the world have led to the degradation of agricultural soils in the world. This has led to the loss of nutritional value in our food over the years, and it will affect our food production capabilities in the coming decades.
To fix this, you can make your Walk parameter a Float, and do something like:
anim.SetFloat("Walk", agent.velocity.magnitude).
Then in the transitions, set the transition from Idle to Walk whenever “Walk” (the parameter) is greater than 0; and set a transition from Walk to Idle whenever “Walk” is less than 0.1.