We present a manifestly supersymmetric formulation of N=1 and N=2 topological super YM theories in four dimensions. In both cases, we construct the complete quantum action together with its invariance algebra. For N=2 in harmonic superspace this algebra formally coincides with the one of the bosonic thoery in ordinary spacetime.