Hayagriva is a horse-headed avatar of Lord Vishnu, specifically a manifestation of his Vaikuntha form.
While Hayagriva is usually considered an avatar of Vishnu, some traditions also regard him as an avatar of Brahma. This association stems from Hayagriva's close link to knowledge and wisdom, and Brahma's role as the god of creation and knowledge.
However, the more prominent and widely accepted belief is that Hayagriva is an avatar of Vishnu.