The name Badut Temple has been repeatedly mentioned by several experts relating to the Dinoyo Inscription dated 682 caka or 760 AD. In summary, this inscription states that there was once a king who was a wise and powerful king named Dewasinga. Under his authority, the radiant fire of Putekecwara light all around him. His son, Raja Gajayana made this inscription to commemorate the establishment of a beautiful temple for the Great Rishi (Maharsibhawana) called Walahajiridyah, and the inauguration of the new Agastya statue, made of beautiful black stone, as a replacement for the old statue made of weathered sandalwood.
On this occasion, the king granted land, oxen, slaves, food utensils, and performed various ceremonies (“Brandoffer en wesschingen”) in honor of the Rishi. In the fourth line of the Dinoyo Inscription, it is also stated that King Gajayana made a very beautiful temple building to get rid of the disease that make the spirit (strength) disappear. According to Dr. Bosch, all parts of the Badut Temple are original Central Javanese art.
The main building of the Badut Temple faces west and is made of andesite stone. In front of the main temple, three ancillary temples are estimated to have the same shape as the main temple. This perwara temple is lined north-south and faces east.