An Indian court has ordered an investigation into allegations that a public library in the southern state of Tamil Nadu purchased hundreds of books suspected of being generated using artificial intelligence (AI). The controversy began after renowned Tamil novelist Perumal Murugan raised concerns about books containing false information and questionable authorship at a newly opened library in Coimbatore city.

The Madras High Court has ordered the state's anti-corruption agency to investigate the purchases and freeze bank accounts linked to a publisher accused of supplying the books. The Tamil Nadu government has blamed the previous Dravida Munnetra Kazhagam (DMK) party-led administration for buying the books, while the DMK denies these allegations.

School Education Minister A Rajmohan described the allegations as potentially "India's first AI scam" and said the investigation would cover purchases at other public libraries across the state. The case has raised wider questions about the growing use of AI in publishing, where tools can generate entire books quickly and cheaply but also produce false information and invented references.

The controversy centers on the Periyar Arivulagam library, built at a cost of approximately 3 billion rupees ($34 million; £26 million) and inaugurated by Tamil Nadu Chief Minister C Joseph Vijay on October 16. Murugan, whose novels Pyre and One Part Woman have received international recognition, raised concerns after visiting the library last month. He alleged that nearly 1,800 books in its Tamil section had been supplied by a little-known publisher called Agal Vilakku Pathippagam.

Many of the books carried unfamiliar authors' names, unusually high prices, and questionable International Standard Book Numbers (ISBNs). One book cited in the controversy, Naladiyar Vaazhvin Vazhikatti (A Guide to Life through Naladiyar), was reportedly priced at 1,445 rupees for 300 pages. It describes Naladiyar as a Tamil poet and philosopher, although Naladiyar is a classical Tamil work consisting of 400 four-line verses on morality and ethics. Another book reportedly attributes the ancient Tamil poem Madurai Kanchi to an incorrect author.

It remains unclear whether AI was used to produce any of the disputed books, and questions have also been raised about a book found at another public library in Madurai which names renowned economist Jean Drèze as its author without his permission. The controversy has prompted writers, academics, and publishers to question how the books were selected for public libraries, with more than 160 professionals signing a joint statement calling for an independent inquiry, the release of procurement records, and an audit of library collections across Tamil Nadu. They have also called for the recovery of public money if the investigation finds that funds were misused.

The state government has ordered an internal audit of public library collections, with 523 books already being removed from the historic Connemara Public Library in Chennai city after preliminary checks raised concerns about their authenticity and quality. Disputed books have also been removed from Periyar Arivulagam, while anti-corruption officials examine procurement records and inspect other libraries. The controversy has sparked a political row in Tamil Nadu, with the current government accusing the previous DMK administration of ordering the disputed books and vowing to recover public money if wrongdoing is found. The DMK has rejected these allegations as politically motivated and has called for an investigation into the purchases.