According to the different levels of conditioned consciousness there are instructions in the Vedas for worship of different controllers, with the aim of reaching different destinations and enjoying different standards of sense enjoyment. Agamas (emanated scriptures) are books which are classified into five for this purpose:
energy - Sakti - Sakta Agamas
visible source (Sun) - Surya - Soura Agamas
controller - Ganapati - Ganapatya Agamas
destroyer - Siva - Saiva Agamas
ultimate source - Visnu - Vaikhanasa Agamas
All these form part of Veda abhyasa- the instructions on Veda.