Paranjyothi, a brave and rustic youth from the village of Thirusengattukudi in the Chola Kingdom, travels to Kanchi, the capital of the Pallava Kingdom, by foot to enroll himself as a student at the Saivite saint, Thirunavukkarasar’s monastery. He meets Naganandi, a bikshu, on the way. Naganandi, who saves Paranjyothi’s life by killing a cobra that was about to bite him, predicts that Paranjyothi will face difficulty that very night. Paranjyothi is not convinced. By the time the duo reach Kanchi, the fort gates are sealed. However, a security guard named Marudappan who is Naganandi’s loyalist, lets them in.
On entering the fort, Marudappan informs Naganandi that the arangetram of danseuse Sivakami, daughter of the renowned sculptor and painter Aayanar, came to an abrupt halt that evening and that he had received orders to seal the fort gates. Speculation of an impending war is rife in the city. After listening to this news Naganandi and Paranjyothi part ways. While Naganandi heads to the Royal Viharam, Paranjyothi strolls around Kanchi in search of Navukkarasar’s monastery.
Suddenly, the temple elephant runs amok and charges towards Aayanar and Sivakami, returning to their forest residence in a palanquin. The palanquin bearers set the palanquin down and flee. Paranjyothi, who fortuitously arrives there, wields his spear deftly at the elephant, which turns and starts chasing him. Aayanar and Sivakami are however rescued. Paranjyothi manages to escape the elephant, but loses the bundle he is carrying. The bundle contains amongst other things, some money and messages from his maternal uncle, a renowned physician, to Thirunavukkarasar and Aayanar, requesting them to enroll Paranjyothi as their student.
Due to the impending war, the Pallava Emperor Mahendra Varmar imposes a curfew for citizens at night. The city guards who find Paranjyothi wandering around aimlessly in the city imprison him. Naganandi Bikshu helps Paranjyothi escape from the prison, takes him through a secret route out of the Kanchi Fort and introduces him to Aayanar, who is willing to take Paranjyothi under his tutelage. When Aayanar is in the midst of a conversation with Naganandi and Pulikesi, Sivakami heads to the lotus pond near their forest house. There she meets her lover, the Crown Prince Narasimha Varmar, Mahendra Pallavar’s only son.
Meanwhile, Naganandi persuades Aayanar to send Paranjyothi to Nagarjuna Mountain to learn about the secret of the indelible paints used in the Ajantha Caves as ‘guru dakshina’ from Paranjyothi. Aayanar, who is zealous to know about the indelible paints used in the Ajantha Caves, readily agrees and secures a high breed steed and travel permit from Mahendra Pallavar for Paranjyothi. Naganandi hands over a written message to Paranjyothi to be carried.
When Paranjyothi heads to Nagarjuna Mountain carrying Naganandi’s message, he befriends the brave and mysterious warrior, Vajrabahu on the way. That night, Vajrabahu drugs Paranjyothi to sleep and replaces the message Paranjyothi is carrying with a message penned by him.
Unaware of this, Paranjyothi continues his journey and stops at the Buddhist monastery on the banks of the North Pennai River, as instructed by Naganandi. The senior bikshu of that monastery sends Paranjyothi with six horsemen who are supposedly heading to the Nagarjuna Mountain. Paranjyothi, suspecting the horsemen were heading elsewhere, tries to escape. The horsemen imprison him and lead him to the Chalukya army camp where he is produced before the Chalukya Emperor, Pulikesi.
At the Chalukya army camp Paranjyothi runs into Vajrabahu, who asks Paranjyothi to state the truth to Pulikesi. Paranjyothi is produced before Emperor Pulikesi, who reads the message Paranjyothi is carrying. Pulikesi is unable to comprehend the message and cannot understand what Paranjyothi says as he does not know Tamil. So he solicits Vajrabahu’s assistance. Vajrabahu states that the message may be for Pulikesi’s brother, Vishnuvardhanan, who is the ruler of Vengi.
The whimsical and cruel Pulikesi commands Paranjyothi be escorted by nine horsemen to Vishnuvardhanan and commands Paranjyothi to be killed if Vishuvardhanan cannot decipher the message,. Vajrabahu assures Paranjyothi that he will meet Paranjyothi on the way before he is taken to Vishnuvardhanan.
The following day Paranjyothi, accompanied by the horsemen, sets out to meet King Vishuvardhanan. They stop at an isolated hut occupied by an old man for the night. When everyone is asleep, the old man wakes up Paranjyothi and escorts him to the two horses waiting outside. Paranjyothi realizes that the old man is Vajrabahu in disguise. Vajrabahu and Paranjyothi ride away, pursued by the horsemen. In a fierce combat that follows, Vajrabahu and Paranjyothi kill all the horsemen. Vajrabahu also finds a message one of the horsemen was carrying for King Vishnuvardhanan and retains that message.
Vajrabahu then takes Paranjyothi along with him to the Pallava army camp. Paranjyothi surmises Vajrabahu is a spy to the Emperor Mahendra Varma Pallavar. As Vajrabahu and Paranjyothi travel for several days together towards the Pallava army camp, their friendship grows. During their conversation, Vajrabahu informs Paranjyothi that the whereabouts of Mahendra Pallavar who left Kanchi purportedly for the army camp, was unknown. Paranjyothi expresses his desire to join the Pallava army to Vajrabahu, who promises to assist him.
On reaching the Pallava army camp, Vajrabahu asks Paranjyothi to wait outside and says that he will secure Emperor Mahendra Varmar’s consent to allow Paranjyothi inside the camp. While Paranjyothi is waiting restlessly outside, he observes that the Pallava army is suddenly jubilant. On enquiring, he is informed that Emperor Mahendra Varmar has reached the army camp.