A homeless woman arrested as part of a recent spree of eight anti-Semitic hate crimes — in her case for allegedly attacking an Orthodox mom in Brooklyn — was released without bail into the supervision of a Long Island-based mental health agency at her arraignment Friday night.

Brooklyn Criminal Court Judge Hilary Gingold said suspect Ayana Logan, 43, “could benefit from some mental health services,” and agreed to her supervised release on the promise the defendant would attend bi-monthly mental health appointments.

Logan is charged with third-degree assault for allegedly yelling out an anti-Semitic slur and hitting a 34-year-old victim with a handbag in Gravesend about 4 p.m. Thursday.

“You f–-king Jew, your end is coming!” Logan shouted at the woman, who was with her 3-year-old child, prosecutors say.

Gabriel Hermann, a rep from Empower Assist Care, a Long Island-based mental health organization, attended Logan’s arraignment, standing beside her and defense lawyer Lauren Katzman.

Katzman told the judge that as part of Logan’s supervised release agreement, her client would go twice a month to her mental health appointments with Empower Assist Care.

The Legal Aid Society lawyer also denied Logan committed a hate crime.

“I myself am Jewish, and I believe these are trumped-up charges,” Katzman told The Post.

“I understand hate crimes are up and it’s a serious problem, but I don’t believe Ms. Logan committed a hate crime.”

Logan did not comment as she left court.

Her next day in court is Jan. 17.

Logan’s alleged attack was one at least eight suspected anti-Semitic attacks in the city so far this week.