A generalized Koszul theory and its application Liping Li Abstract. Let A be a graded algebra. In this paper we develop a generalized Koszul theory by assuming that A0 is self-injective instead of semisimple and generalize many classical results. The application of this generalized theory to directed categoreis and finite EI categories is described.