An algorithm for constructing approximations of averaging operators of quasi-periodical functions is presented in the paper. The algorithm can be used for constructinguniformly valid for a long time asymptotical solutions of differential equations with small parameter.