This is a demonstration of three steering behaviors - seek, flee, and wander. The animals, when see food, Seek towards it. When they detect objects or run into them, they change direction, executing object avoidance, resulting in Wander. When an animal loses a fight, it Flees away from the other animal.
The video below demonstrates the behavior in run-time with a player avatar.