We develop several aspects of local and global stability in continuous first order logic. In particular, we study type-definable groups and genericity.