City required a spark so Anderson stepped up, his snake-hips along the right creating space for a pinpoint ball that Ndiaye should have headed home not wide.
The Senegal international later produced a slaloming run that carried him from the right side near the halfway line directly into the Brighton area.
City required a spark when Anderson stepped up along the right flank, using his movement to create space for a pinpoint delivery.
Manchester City suffered two consecutive league losses as the team struggled to maintain control against a dominant Brighton side.
Brighton controlled the initial exchanges of the match and later put together another strong passage of dominance after the interval.
Manchester City manager the Italian retained his starting eleven for the second half as the team promised they might score soon.
The resulting chance saw Ndiaye head the ball wide rather than convert it into the net.
Manchester City have lost two consecutive league games but no alarm should be sounded.
But they were made to look chumps when Ayari scored despite the move emanating from the free-kick given wrongly against Anderson.
The Senegal international next wowed with a throwback slaloming run which took him, from the right and near halfway into Brighton’s area.