The 30-year-old has been limited to just two Premier League starts so far this season due to injuries, with his most recent appearance coming in November when he sustained knee ligament damage.
Guardiola is hopeful that the club captain will finally be able to enjoy a run in the first team now, but warned against expecting too much of the Belgian too soon.
"It's the second or third time we are talking about [Kompany's recovery]. Hopefully he can stay for long and after I will see his level. We cannot deny how good he is at his top level," he told reporters.
"But everyone needs time when they have been injured for a long time. He has strong mentality and he knows what he has to do. He can concentrate on simple things, playing as a central defender, then game by game, week by week, he will achieve his level.
"Sometimes you need time, in this business we don't have time, but he has to feel that he has time to come back, the way he has to come back."