Introduction. The article examines the formation of the Ancient Indian philosophy and its connection to consciousness. The Indian philosophy has come a long way from its onset, in parallel with the Chinese and Ancient Greek philosophy. At the same time, the ideas of some of its branches and schools differ in a number of features. Purpose setting. By the example of the Sankhya school of philosophy, we have explored the evolution of the views of Ancient Indian philosophers on the evolution of the Universe, nature and man. We have put particular emphasis on the concept of consciousness.Methodology and methods of the study. In Sankhya system, the fundamental Prakriti and Purusha principles are identified. Other elements are supplementary. Ancient philosophers laid special emphasis on the three vibrating gunas. These are sattva, rajas, and tamas. We have revealed the functional connections between the gunas. The way they interact, in balance or dominance, determines the entire variety of material and spiritual processes. The evolution of the Universe in the Sankhya interpretation is close to the scientific theory of the Big Bang. The development of nature can be traced through the complication of atoms starting from the influence of a stimulus on unconscious chaos. The result of human evolution is the emergence of consciousness derivatives: intellect, mind and I (Ego). This allows better understanding of the behavioral characteristics of an existing personality. Yoga complements Sankhya system and makes it possible to transform consciousness in a number of states.Results. The analysis was carried out using scientific articles and monographs relatively unknown in the Russian press. Cognitive development occurs in a spiral. The scientific theory of strings appeared two and a half millennia after the emergence of the gunas concept. We have made a number of analogies between Ancient Indian gunas and contemporary string theory. And have substantiated the theory of consciousness not with quantum theory, but with a deeper string theory. The concept of consciousness is supported in line with the scientific paradigm of T. Kuhn. The leading ideas are the ideas about information of D. Chalmers and the physicist J. Wheeler.Conclusion. Thus, the phenomenon of consciousness has a silicon and biological basis. We insist on using the semantic concept of artificial consciousness instead of artificial intelligence. Therefore, between human consciousness and artificial consciousness there may be dangerous risks of dominance of the latter.