Premier League pace-setters Manchester City made it nine wins from nine games under Guardiola with victory at Swansea.
City enjoyed the best of the first half, but it took until four minutes into the second half for Gael Clichy to put them ahead with a deflected shot.
Aleix Garcia made the most of a rare start by netting the second from Jesus Navas’s cut-back in the 67th minute before Gylfi Sigurdsson stabbed in a stoppage-time consolation for Swansea.
Guardiola gave a first start of the season to captain Vincent Kompany, who underwent thigh surgery in May, but the Belgium centre-back had to go off late on after appearing to injure himself.
“The doctors are speaking with him and seeing what’s up,” Guardiola said.
“Hopefully, it will not be a big problem. We’re going to wait for the results from the doctors.”