Origins of AI : Through Ancient Indian Texts

For the modern world and our present civilization the invention of the first programmable digital computer taken place in the 1940s, a machine based on mathematical reasoning, this knowledge & ideas inspired few scientists to seriously think of building Artificial Intelligence. The modern world also knows that a British Polymath, Alan Turing in the year 1950, suggested the concept of decision science, artificial intelligence and machines solving the real world problems. The first commercial, digital & programmable robot was made by Geroge Devol in 1954, the field of AI research was founded at a workshop held on the campus of Dartmouth College during the summer of 1956. But modern world is not aware of the origin of Artificial Intelligence (AI) began back in 8000 to 11000 years, with myths, stories and rumors of artificial beings endowed with intelligence or consciousness by ancient Rishis of India.

The seeds of modern AI were planted by classical philosophers who attempted to describe the process of human thinking as the mechanical manipulation of symbols. This work culminated through Knowledge and ideas on many of the technological advancement that we are witnessing today had already been articulated in holy books of Hinduism like The Ramayana, The Mahabharata, The Bhagawatgeeta, The Vedas & Upanishads which were believed to be written 5000 to 8000 years ago (3000 BC – 6000 BC).

Those are not only the holy epics of Hindu civilization but the proof of the existence of India.

Description of Artificial Intelligence in Ancient Indian Texts

The origin of Artificial Intelligence led me to mythology, where ancient people imagined artificial life, automatons (or robots), self-moving machines, and other marvels long before technology enabled them to be realized. These ancient oral traditions about robots and other devices were first written down around the time of Homer, around 2,700 years ago. In antiquity, however, the Greeks were not the only ones who imagined automatons and computers. The Ramayana, Mahabharata, and other epics contain similar tales. Automatons are created by the engineer God Vishwakarma and the sorceress Maya in Hindu mythology, and by the god of technology Hephaestus and the brilliant artisan Daedalus in Greek mythology. Such myths, in my opinion, are the world’s first science fiction tales.However, it is impossible to draw a straight line from mythology to current scientific understanding over millennia (Adrienne Mayor, 2018).

Barbarik: The Warrior Robot with Artificial Intelligence

Around a thousand years ago, in the year 1027 A.D., a group of workers in the village of Khatu in Rajasthan were digging the ground for water. They discovered a metal box that was sealed airtight after searching for more than 30 feet. One word was etched on the box: Barbarik. When they opened the package, they discovered a skull inside, but it wasn’t a human skull made of bones; instead, it was made of a gleaming metal. What’s more bizarre is that the skull had two eyeballs in each eye socket. The workers have taken the skull to the king Roop Singh Chauhan, and he summoned all learned men to his court to learn more about the Barbarik’s Skull.

‘Who is Barbarik? & How his skull is made of metal? How did his eyes not disintegrate and decompose?’

Barbarik was a legendary warrior who lived 5000 years ago, during Lord Krishna’s reign. Barbarik, on the other hand, was radically different. He wasn’t human; he had divine power. He was capable of simultaneously handling several advanced arms and weapon systems and solving mathematical problems at lightening speed, but his voice was sluggish and he couldn’t identify faces. He didn’t have human intelligence; instead, he had artificial intelligence.

After hearing about Barbarik’s power and intellect, Lord Krishna agrees to meet him. With Lord Krishna’s request, Barbarik showed his incredible pace and accuracy with advanced weapons. Barbarik’s intellect, on the other hand, is not human-like; he thinks and acts like a robot. Lord Krishna inquires about his position in the war. Barbarik responds by saying that he will help the side that is weaker than the other. According to Lord Krishna, if Barbarik backs the weaker army and begins to kill the stronger army, by this way the stronger army will eventually become the weaker army, and the once weaker side will become the stronger side. What will Barbarik do in that situation? This would not be a legitimate question to a human being because we humans comprehend broader concepts, while robots and artificially intelligent machines observe events and are unable to comprehend the bigger picture. However, Barbarik later states that because the other army has become weaker, he will turn sides and help them.

Barbarik’s unnatural intellect, Krishna concludes, would bring damage to humans rather than benefit them, despite his ability to handle sophisticated weapons with exceptional precision. As a result, Lord Krishna chooses to disable Barbarik’s physical activity, preventing him from attacking or wielding weapons with his arms or legs. Barbarik is asked by Lord Krishna to separate his head from his body. The most intriguing part is this: Barbarik takes his head off and hands it over to Krishna, but he continues to talk. This clearly demonstrates that he was not human, but rather a robot with artificial intelligence.

Kumbhakarana the Ancient Robo-War Machine (like Hulk Buster in Avenger Universe)

In ‘Ramayana‘, the world’s oldest epic poem, Kumbhakarna is referred as Ravana’s younger brother. But he was not a living being at all, but a ‘Yantra‘ (machine/robot) which had a gigantic appearance (like a giant robot). To be more precise, Kumbhakarna was an ancient robot, fearsome more-machine-and-less-human-like ‘humanoid‘. Ravana used Kumbhakarna sparingly, meaning, only during very difficult battle-situations, and it instantly turned the tide in Ravana’s favour. May be due to its high maintenance, it was made to sleep for a period of about six months and awakened only when need arises or when it has to be re-fuelled.

Sage Valmiki writes the thoughts of Brahma when he saw Kumbhakarna :

ध्रुवम् लोकववनाशाय पौलस्त्येनावि वनवमितः | तस्मात्त्वमद्यप्रभृवत मृतकल्पः शवयष्यिे ||

Translation : It is sure that you were created by visravasa for the destroyal of people. On that account, you will be sleeping apparently dead from now onwards. Here, he clearly uses the word ‘nirmitaH‘, which means ‘built/created‘ by Visravasa, who was Ravana’s father

When Kumbhakarna was approaching Vanara Army and crushing them under his toes, they started to runway in fear. Then Ravana’s brother Vibhishana reveal the truth of Kumbhakarna to Rama and his army.

उच्यन्ताम् वानराः िवे यन्त्रमेतत्समुच्छ्रितम् | इवत ववज्ञाय हरयो भववष्यन्तीह वनभियाः ||

Translation : Let all the monkeys be told that it is a kind of machine, advancing forward. By knowing this, they can become fearless by now.

But in same Ramayana, it was clearly stated that Kumbhakarna was married with Vajramala and had kumbh, nikumbh as sons. These sons were killed by Hanuman. So, Kumbhakarna must be an alive brother of Ravana, who operated a giant robot from its inside (like the AMP suit in Avatar movie or Hulkbuster in Avenger Movie Series). So the robot was known with the same name of its operator. Infact Kumbha-Karna means the one who has pot (kumbha) like ears(karna). Rama used Vayuvyastra (a wind forced missile) to cut-off Kumbhakarna’s arm and later chopped its head. When Kumbhakarna was shot down by arrows of Rama, he died and the robot which had nobody to control it, fell into the sea.

Application of AI & human emotions into Ancient Robots made by Asuras to win over Adityas

Yoga Vāsistha describes application of Artificial Intelligence (A.I), human emotions, ego to Robots. Sambarasura creates dama, vyāla, kaTa to win on Adityas. Yoga Vāsistha (योग-वाविष्ठ) is a discourse of sage Vasistha to Prince Rama. Sage Valmiki is credited as its author. It has 6 parts and in one of the part, application of Artificial Intelligence (A.I), human emotions etc to Robots is described.

One Asura named Sambarasura had the powers to raise himself in the sky and fight from outer space. Rig Veda clearly mentions that Asura does not mean ‘Demon. Asura means ‘the one who is not sura, or one who has magical or phenomenal powers (according to Rig Veda)‘. This Sambarasura created 3 robots using his technology and named them dama, vyāla and kaTa. The name ‘dama’ is derived from the root dam which means to tame, subdue, conquer, restrain of course the enemy. ‘Vyāla’ means vicious, fierce, cruel, savage like tiger or snake. KaTa was like a modern tank protecting army. The word ‘kaT’ means to go, to cover. It could go and cover the army. Those three Robots were lifeless machines and therefore had no sentiments, no emotions, so they were never defeated. These 3 robots always won the wars against Adityas (gods).

Later Artificial Intelligence (A.I) was induced into them. So Adityas played a trick to induce sentiments and emotions in them. They fought with the three Robots and ran away, many times, with defeat. This induced Ego in the Robots. Ego arised as the robots were thinking like humans due to artificial intelligence. Adityas observed this change and told them that, because of their valour Sambarasura always wins and enjoys his life at their cost. This added emotions and sentiments. They felt that they should also enjoy their lives. As the human sentiments arose, fear too proped up in them. Naturally they could not fight with the previous zeal and were defeated by Adityas.

Modern day robots have Artificial intelligence embedded into them. So one day they might get Ego and then they may rebel against the mankind. It will be difficult to defeat them. They may conquor the mankind. In that situation man can play the same trick as played by the Gods.


Around 5,000 years ago, a coronavirus-like virus was identified in ancient ayurvedic scriptures. Dr. Smita Naram, the founder and CEO of Ayushakti, said she was surprised to find a chapter in the ‘Charak Samhita’ called ‘Krimi,’ which refers to infections, that describes an infection that is identical to the novel coronavirus.

Smita Naram explained that in the chapter ‘Krimi,’ there is a word called ‘Sleshma Krimi,‘ which is described as something that cannot be seen with the naked eye because it is ‘Maha Sukshnma,’ which means it is so small that it requires a special instrument to see it. “I was taken aback when I came across this explanation in the Charak Samhita. It was hard to believe. There is a chapter on ‘krimi,’ or diseases, in the Charak Samhita. A overview of Sleshma Krimi is included in the chapter. Smita Naram said, “It’s just interesting how they’ve explained how ‘Sleshma Krimi’ works.” “They are ‘Maha Sukshma,’ but they can’t be seen with the naked eye.” This indicates that they are so small that they need a special instrument to see. Dr. Smita Naram revealed, “This was said 5,000 years ago!” “How they settle in your respiratory system is described in the Charak Samhita,” she explained.

Furthermore, Dr. Smita Naram expressed her surprise at how Krimi was portrayed in the document. She characterised it as being round in shape, strong, and covered in spikes. “The definition of the novel coronavirus in the Charak Samhita is so similar to that of the novel coronavirus.” They explain how Sleshma Krimi causes cough, heavy congestion, and breathlessness after settling in the respiratory system, and how it can sometimes lead to death,” Dr Smita Naram explained. Three ways to avoid infection and protect oneself are also revealed in the ancient scriptures. Dr Naram explained that ancient scriptures advise people to isolate themselves in order to avoid contracting the infection, as well as not to feed them anything that will strengthen them and make them more active (Indiatoday, 2020).


A Sloka in the Rig Veda’s 10th book appears to be composed in praise of Lord Indra. The technical translation of that Sloka correctly calculates the value of pi up to 28 digits. It wasn’t until the advent of computers that western mathematicians were able to reliably calculate this value up to 16 digits. Here’s a challenge for those who believe a machine can perform any calculation. Use the best machine you have and write a programme to correctly measure the value of pi up to 28 digits. You’ll understand how tough it is.

Significance of AI in future of human civilization


Transferring information to the so-called zero IQ machine is a time-consuming and dangerous process. Similarly, building a computer that can make decisions on its own is much more difficult. The key concept is to put ancient Vedic wisdom to use in teaching the human race. Vedic text and value-based learning from scriptures are well-established and widely regarded as a source of all kinds of data, facts, and knowledge for rationalizing the basis for making a decision. Such information can be processed in order to construct expert systems that can use Vedic knowledge. Being able to build such a device is crucial so the computers can perform optimally. As a result, Vedic expertise is very important as a source of basic data for expert systems to use during the decision-making process. Corruption, which is the most troubling aspect of today’s society, can be eliminated by using computers that can make decisions based on Vedic knowledge. Since machines may become corrupted, other machines can be used to solve problems at some stage, according to value-based wisdom from the Vedic scriptures.

There are unlimited examples of AI being present in our ancient texts and scriptures. Human civilisation is at the tipping point of changing the fate and face of future generations to come. Hence it becomes extremely important to take the right references in hand today to build a better tomorrow!

Author: Hans Malik

Upcoming Retreats

  • Jun  4 — Jun 12
  • Jul  9 — Jul 19
  • Aug  14 — Aug 22
  • Sep  17 — Sep 25
  • Nov  5 — Nov 15

Journey with us

Browse our gallery

Subscribe to our Newsletter

Articles, videos, books, quotes, retreat updates, and more...