abstract: We present a new method to show simplicity of the Lyapunov spectrum for a cocycle over a geometric flow defined by a flat bundle. This applies to the Kontsevich Zorich cocycle over a stratum of abelian or quadratic differentials with respect to the invariant Lebesgue measure and also to cocycles over geodesic flows of compact negatively manifolds. We discuss some applications.