Lalitha sahasranama is said to have been composed by eight vak devis (vaag devathas) upon the command of Lalitha.
This stotra (hymn of praise) occurs in the Brahmanda Purana (history of the universe) in the chapter on discussion between Hayagreeva and Agasthya.