Manchester City climbed back to the summit of the Premier League after a 2-1 win over West Ham at the Etihad Stadium.
A first half display that threatened to provide the Londoners with a drubbing suddenly evaporated when the visitors clawed their way back into the game.
Raheem Sterling opened City’s account for the afternoon, side-footing home emphatically after a nice one-two between John Stones and David Silva saw the latter feed Nolito, who then found Sterling in space inside the box.
Fernandinho doubled the lead inside 20 minutes, powering a thunderous header past Adrian after a wonderful out-swinging delivery by Kevin de Bruyne.
Michail Antonio rose highest to nod the Hammers back into it in the second half by converting a Masuaku cross, but they couldn’t find the elusive equaliser.
Sterling added the final nail to the West Ham coffin with a cute finish in injury time after rounding Adrian.
City’s victory sets up a mouth-watering derby against Manchester United next month, although Sergio Aguero could face disciplinary trouble after an apparent elbow on Winston Reid went unpunished.
As expected, Guardiola returned to Willy Caballero in goal, with Joe Hart on the bench, as Claudio Bravo was kept waiting for his debut.
But at times City’s play and dominance of possession was so mesmerising they hardly seemed to need a keeper.
They looked in the mood from the outset with the training ground lessons from Guardiola having clearly sunk in further.
David Silva and Sterling were particularly lively and as Aguero won possession and brushed past Reid to shoot wide after just two minutes, it seemed the Hammers were in for a long afternoon.
It came as no surprise when City took the lead. Silva carried the ball forward from deep and spread wide for Nolito, whose first time ball across goal was tucked home clinically by Sterling.
Just over 10 minutes later City doubled their lead as Kevin De Bruyne whipped in one of many dangerous free-kicks.
The Belgian’s curling, dipping delivery arrived at the perfect height for Fernandinho to rise and power a header into the net.
City could easily have had more before the break as their attacking players combined beautifully on a number of occasions.
De Bruyne thought he had made it 3-0 after carving through West Ham with a neat exchange of passes with Silva but his shot was deflected narrowly wide.
West Ham hardly saw any of the ball with their only notable effort before the break coming when Gokhan Tore lobbed in a cross and Ashley Fletcher, on his full debut, headed wide.
Yet even then there were mitigating factors for City with John Stones off the field for treatment following a heavy bang to the knee in a collision with Arthur Masuaku.
City had the ball in the net early in the second half following another vicious De Bruyne free-kick but Nolito, who got the final touch, was one of two players offside.
Nolito then curled another effort into the side-netting as City threatened more but West Ham suddenly got themselves back into the game just before the hour.
Caballero, hurt moments earlier after a late challenge from Fletcher, was caught out of position as Masuaku crossed and Antonio headed in at the far post.
City came again with De Bruyne slipping in Aguero on goal but the normally deadly Argentinian shot just the wrong side of the post.
Still, the tempo of the first half was missing and Aguero may have been lucky to escape punishment after appearing to catch Reid.
City tried to sharpen up by sending on Samir Nasri, whose future under Guardiola is unclear, and the Frenchman almost struck after being played in by Aguero only for Adrian to block his shot.
Nasri fired another good chance over and Silva hit the post but Sterling made sure with a cool finish in the closing moments.