Agastya at Kanchi
Troubled by a suffering world, Agastya goes to Kanchi, and Vishnu answers as the horse-headed Hayagriva.
Agastya sees beings everywhere trapped in ignorance, hunger and desire, and goes to Kanchi to find how they can be freed. Vishnu appears as Hayagriva, says the same question was asked by Shiva, Brahma and Durvasa, and sends Hayagriva to answer. Hayagriva's answer is a story, the Lalitopakhyana, the third book hidden inside the Brahmanda.
A Sage Who Could Not Look Away

The sage Agastya looks out at the world. He sees its cities and forests, its kings and its farmers. And the more he looks, the heavier his heart becomes.
Everywhere he looks, the Brahmanda says, he sees creatures "enveloped in the darkness of ignorance and devoted to the satisfaction of the urges of hunger and sexual desire." People eat, want, chase, and are never satisfied. They are born, they struggle, and they die, and then the whole round begins again. Hardly anyone looks up from the chase.
Agastya cannot stop thinking about it. He is a great sage. He could close his eyes, go into meditation, and forget the world. Many would. But he cannot look away from all that suffering.
So he goes looking for an answer. He travels to Kanchi, the ancient temple city of the south.
This is how the third book of the Brahmanda Purana begins. Not with a battle or a curse, but with a good man who is troubled by the state of the world.
Worship at Kanchi
At Kanchi, Agastya worships Shiva as Ekamra, the lord of the single mango tree, and the goddess Kamakshi, she whose eyes are full of love. He prays and keeps up his austerities. He is not asking for anything for himself. He is asking for everyone else.

And his tapas is answered. Vishnu, pleased with him, appears before the sage. But he does not come in his usual form. He comes, the text says, "assuming the Hayagriva (Horse-headed) form."
Hayagriva is Vishnu with the head of a horse. In the tradition he is the god of knowledge, a bright form of Vishnu connected with learning and the Vedas. It is fitting that knowledge itself comes to answer Agastya's question.