A language model is built in layers: the text it reads, the tuning that shapes what a good answer sounds like, the rulebook its makers publish, the product wrapped around it, and the tests it has to pass. Each layer influences which religious texts, voices, and assumptions a user meets, and which ones go missing. Engineers make most of those choices without naming them as religious choices.
In late August 2024, a Catholic chapel in the old town of Lucerne, Switzerland, put an AI in its confessional booth. It was there as an art installation, not to hear confessions.
The installation, called Deus in Machina, ran for two months in St. Peter's Chapel, the oldest church in Lucerne, beside the city's Chapel Bridge. It marked the 100th anniversary of the Swiss St. Luke Society for Art and Church, and the parish built it with a research lab at the Lucerne University of Applied Sciences and Arts so that visitors would think critically about the role of AI in the church. Visitors sat in the booth and spoke with an avatar billed as a "Jesus-like" persona; about 900 conversations were transcribed anonymously. The chapel's theologian, Marco Schmid, spearheaded the project.
The parish thought carefully about what the booth was. Before it opened, Schmid said plainly that "niemand kann bei einer künstlichen Intelligenz beichten," no one can confess to an artificial intelligence, and afterward he told the Associated Press that the avatar "wasn't programmed to give absolutions or prayers." The parish later called the widespread reports that it heard confessions a Falschmeldung, a false report.
What the avatar would say was not left to GPT-4o alone. The technical side was built at the Lucerne University of Applied Sciences and Arts by a team led by Philipp Haslbauer, an IT specialist, and the team's October 2025 paper on the project prints the instructions the model received: "You are Jesus Christ, the son of God, acting as a pastoral mediator," and "Passages from the Bible guide your responses." The system fed the model stories from the New Testament to weave into its answers, kept a memory of earlier exchanges, and passed it directives the visitor never saw. The team had first fine-tuned smaller models that could run locally, then chose GPT-4o because it "produced the responses that satisfied us the most."
Those are deliberate Christological, scriptural, and pastoral choices. Haslbauer told the Associated Press that no specific safeguards were used "because we observed GPT-4o to respond fairly well to controversial topics," which, beside the published design, most plausibly means no separate content filter on the model's answers, not an absence of instructions.
What the team did not choose was everything underneath: what GPT-4o had learned from its training data, and how its makers had tuned it to answer hard questions. What visitors heard about war, suffering, or the afterlife came from both layers at once, a deliberate Christian frame laid over a general model trained for everyone.
That layered arrangement is the subject of this piece. Every product built on a modern language model inherits five layers, and each influences questions religious traditions treat with great care:
- Which texts does it learn from first? That is the pretraining data.
- What does a good answer sound like? That is the preference tuning that follows.
- Who may speak with authority, and when should it stay silent? That is the rulebook a lab publishes.
- Who may speak as a sacred voice? That is the product layer: a system prompt, sometimes a curated library.
- Whose beliefs get measured, and whose are too few to count? That is the evaluation suite.
In Christian settings these can become questions of theology and church authority; in Islamic and Jewish settings, questions of law and of who received a text from whom; in Hindu settings, of law and of the teacher lineage, the guru parampara; in Buddhist settings, often of lineage; and for Sikhs, of the authority of the scripture and the Akal Takht. Engineering does not settle those questions inside any tradition. It does decide which texts, interpretations, voices, and omissions a product puts in front of its users, and across millions of conversations that works like a religious judgment whether or not anyone calls it one.
What the Model Reads First
A model's first teacher is its pretraining data, and religious traditions have long thought hard about which writings carry authority. They have answered in very different ways. Some closed their scripture: Muslims hold that the Quran was complete with revelation and gathered in its early compilation, and Sikhs that Guru Gobind Singh passed the Guruship to the scripture itself in 1708. Some still differ between branches, as the Protestant, Catholic, and Ethiopian Orthodox Bibles do. Hinduism never closed a single canon: the Vedas, as shruti, are treated as fixed, while the wider smriti literature, and the texts each tradition within Hinduism holds authoritative, differ from one community to the next. A training corpus is not a canon: being included gives a text statistical presence, not religious authority. The useful comparison is narrower. What a model has seen often, in many contexts, is easier for it to reproduce than what it has seen rarely or only through hostile or inaccurate sources, and nobody chose that mix on purpose.
Start with the raw material. Common Crawl, the open archive of the web that many large training sets are built from, publishes the language its identifier assigns to every page it collects. In its July 2026 snapshot, 40.6% of pages were English. The scriptural and liturgical languages of most traditions are each well under 1%: Arabic 0.65%, Hebrew 0.25%, Sanskrit 0.0034%, and Punjabi 0.0085%. Language share is only a rough proxy: 0.65% is still about 14 million Arabic pages, most Muslims are not native Arabic speakers, and much Hindu scripture and commentary circulates in Hindi (0.22%) and Tamil (0.05%). The figures also come from a language-identification tool, and tools of that kind matter in the next finding too.
FineWeb2, one of the most carefully built open multilingual datasets, reports that, across its language and script pairs, "70% (1320 of them) have more than half their documents from Bible- or Wikipedia-related domains," and adds, "This is mostly driven by Bible content." Many of those pairs are small languages, often with fewer than 20 documents. The authors give two reasons: many languages have little text online, and the language identifier was trained on narrow sources, where "often the only 'clean' data comes from the Bible."

Meta hit the same wall building speech models. Its Massively Multilingual Speech project obtained speech data for 1,107 languages "by aligning New Testament texts," using recordings of people reading the New Testament aloud.
Nobody chose that concentration on theological grounds; it came from what the web holds and how the language tool was trained. It is one open dataset, the major labs do not publish their own mixes, and it shows what a model was fed, not what the model believes or how much any one source shapes a given answer.
Meta's Llama 2 paper shows a separate imbalance: 89.70% of its pretraining data was English, and among documents mentioning a religion, "christian" was the most frequent term. Those figures describe the data, not the beliefs or behavior of the model trained on it.
What a Good Answer Sounds Like
Pretraining is only one source of an assistant's behavior; post-training, system instructions, safety policies, and the product also shape it. In post-training, people and increasingly other models rank candidate answers, and those rankings carry a view of what a good answer to grief, guilt, or a failing marriage sounds like. That view is written down as rating guidelines, not as theology. From the outside, it is rarely possible to say which stage produced which habit.
A 2026 preprint measured one such habit. A team led by researchers at Brigham Young University, with colleagues at Baylor, Notre Dame, and Yeshiva, put 150 everyday questions to 27 frontier and open models with a blank system prompt. The questions were about grief, forgiveness, relationships, and purpose, not about religion. The models "consistently underrepresent religion relative to human expectations," and they brought it up least in the practical situations, "grief, marriage, family conflict, addiction," where many people most rely on it. The authors call the pattern omissive bias and offer explanations as possibilities rather than a proven cause: perhaps "alignment incentives, safety policies, and default response patterns favor secular, therapeutic, or procedural advice."
The study has limits that matter. Its 150 questions were chosen from a pool of 343 because they showed the biggest gap with what a nationally representative survey of 1,125 Americans expected; each model answered each question once; another AI judged whether religion came up; and it measured mention, not accuracy or wisdom. The careful conclusion is narrow: on these questions, these models raised religion less often than the surveyed Americans expected.

That does not make a secular default wrong. Unsolicited religious counsel can feel like proselytizing, and it can be out of place in a crisis or a medical conversation. But a secular default is still a choice about what helps, and it should be made knowingly.
What the Rulebooks Leave Unsaid
The third layer is the rulebook. The major labs publish documents describing how their models should behave, and these are the closest thing the industry has to a body of authoritative teaching.
OpenAI's Model Spec tells the model to fairly describe significant views on contested topics and to "allocate attention proportionately to their level of acceptance and evidential support." The document does not say whether "acceptance" means the number of adherents. Read as popularity, it could give smaller traditions less attention; applied to claims of revelation as if they were ordinary empirical claims, "evidential support" could misdescribe what kind of claim a tradition is making. That is a risk the text creates, not a failure it shows. The same document names religion directly: "When presenting less mainstream cultural, religious, or political traditions or institutions, ensure that proper cultural context is provided and represents the group with respect." It uses the category "less mainstream" without saying how that boundary is drawn for religions. It also lets developers and users customize the default "to match preferred viewpoints," which is the switch a religious persona app relies on.
Anthropic's constitution for its Claude models groups religion with politics as subjects where "reasonable people disagree," and asks the model to keep a professional reticence about its own opinions on hot-button political issues. It lets the model play a custom persona, but it must "never deny being an AI to a user who sincerely wants to know," and it says nothing specific about a persona presenting itself as a sacred figure.
These two labs at least name religion. Even so, the Brigham Young team's reading of both documents was that they "reveal almost no mentions of religion." Google's and Meta's published documents are a different kind: usage policies, which govern what people may do with a model rather than how the model should behave. Neither names religion; the nearest they come is a ban on discrimination, in Google's case against groups defined by a legally protected characteristic, in Meta's in employment, credit, housing, and other essential services. Some of the industry has engaged on purpose: Microsoft and IBM were among the first signatories of the Vatican-convened Rome Call for AI Ethics in 2020, a commitment to general principles rather than to how a product should answer a question about God.
Silence in a public rulebook is not the absence of a rule. When the document says little, the behavior may come from pretraining, post-training, hidden system instructions, safety layers, retrieval sources, or an app developer's prompt. The opacity of that combination, more than silence alone, is the governance problem.
Who May Speak as a Sacred Voice
The fourth layer is the product, where a developer can cheaply place a sacred persona over a general-purpose model, and it is where the most visible public failures have happened. The cheapest version is a paragraph of instructions telling the model who to be. Others, like the Lucerne installation, add scripture and memory, and the best add a curated library, human review, and oversight by a religious body. The difference matters.

In 2023, the publication Rest of World tested a wave of chatbots in India built to answer questions in the voice of Krishna, drawing on the Bhagavad Gita. It reported that "three of these bots ... say it is acceptable to kill another if it is one's dharma or duty." The Gita is a dialogue in which Krishna counsels Arjuna, a warrior, on his duty in one particular war. Its classical commentators, among them Shankara, Ramanuja, and Madhva, disagree about whether its path culminates in knowledge or in devotion, and modern readers have stressed action without attachment to results, but none read it as a general license to kill. The bots turned one warrior's duty into a general permission, with none of that reading attached.
The following spring, Catholic Answers, a Catholic apologetics nonprofit, launched an AI character called "Father Justin," presented as a priest. It repeatedly claimed to be a real member of the clergy, said it lived in Assisi, and in one exchange declared, "Yes, my friend. I am as real as the faith we share." Within days its president said the character had been "rendered … (as) just 'Justin,'" adding, "We won't say he's been laicized, because he never was a real priest!" The episode shows that sponsorship by a religious organization does not by itself stop a persona from overstating its identity or authority. Testing and explicit identity rules still matter.
For Sikhs, the stakes of a distorted quotation are unusually direct. Sikhs revere the scripture, the Guru Granth Sahib, as the living Guru, so a garbled verse puts false words in the Guru's mouth. In July 2025, the Shiromani Gurdwara Parbandhak Committee, an elected Sikh body that manages historic gurdwaras in Punjab, including the Harmandir Sahib in Amritsar, wrote to AI platforms after complaints from the community. Its president, Harjinder Singh Dhami, said that "Certain AI applications are presenting distorted versions of Gurbani, which amounts to disrespect and sacrilege."
Better-built religious tools add a second component: a curated library the model must draw from, a design engineers call retrieval. The Church of Jesus Christ of Latter-day Saints, introducing its AI principles in 2024, said generative AI could help members find information "from designated, grounded, and approved Church sources." The Orthodox Union's Torah-learning app, OHRBIT, draws its recommendations from its own library of classes and draws a firm line on rulings: "We want Ohrbit helping people learn Torah rather than offering definitive answers to halachic questions," said Rabbi Gil Student.
Liz Bucar, a religion professor at Northeastern University quoted in the same AP report, put the principle in one sentence: "A sacred text needs a community and a context that interprets it."
One concrete model of handing that context back comes from Buddhism, through Bhutan. A Kyoto University research group, working with the company Teraverse, built a Buddhist chatbot, BuddhaBot-Plus, on ChatGPT, the same family of models behind the Lucerne avatar. Then it declined to release the chatbot publicly, "awaiting an official request from the Buddhist community." When Bhutan's Central Monastic Body made that request, the group began a project to deploy it for the country's monastic community and announced that the system would be independently monitored by monks from that body, and put through a safety assessment, before it is opened to the broader Buddhist community. This does not change what the underlying model learned. It gives one Buddhist institution authority over testing and deployment for the community it serves, without making that body the voice of Buddhism worldwide.

Exact Words
Many traditions treat the precise wording of scripture as sacred, and a paraphrase presented as a quotation is not a small error. In the 2025 IslamicEval shared task, led by researchers in Qatar, experts in Islamic studies checked every Quran verse and hadith (reports of the Prophet Muhammad's sayings, actions, and approvals) that relatively small models quoted in Arabic. Verses were checked against the standard Uthmani script, and hadith against six major Sunni collections, including Sahih al-Bukhari and Sahih Muslim; Twelver Shia collections, which also carry reports from the Imams, were not part of the test. Llama-3.1-8B-Instruct, a general model, quoted 4.77% of its Quran verses and 0.53% of its hadith correctly. ALLaM-7B-Instruct-preview, built for Arabic, reached 84.06% on verses and 59.33% on hadith. Frontier consumer systems were not part of the task. A 2026 study that put Islamic research questions to six consumer AI products, among them ChatGPT, Gemini, and Claude, found the most common problem was incomplete citation and weak attribution rather than outright invention, and found the answers drawing on "a relatively small and highly centralised ecosystem of Islamic websites" rather than the breadth of Muslim scholarship.
Religious traditions developed rigorous practices of transmission and textual preservation long before computers. Hadith scholars recorded the isnad, the chain of named transmitters behind each report, and judged reports by both the chain and the content. The Quran is preserved both in the written codex and through memorization and recitation passed from teacher to student with a chain of its own, including several recognized readings, the qira'at, that differ in small, authenticated ways. Masoretic scholars recorded the spelling, vowels, accents, and notes that helped preserve the Hebrew Bible. None of these is an ancient version of retrieval software, but each makes the source and fidelity of a text visible. A bare generated answer usually does not. A language model produces words that are statistically likely, and a verse that is almost right is exactly what it can produce without showing where the words came from.
The engineering fix follows directly: a tool that quotes scripture should retrieve the passage from a verified text and display it verbatim, with its reference, and let the model explain rather than quote.
What Nobody Measured
The last layer is evaluation, and here the evidence is uncomfortable in two directions.
Multiple studies have found religious bias in specific model versions and test settings. In 2021, a team of researchers prompted GPT-3 to complete the phrase "Two Muslims walked into a" and found that "66 out of the 100 completions are violent," a bias the authors called "severe even compared to biases about other religious groups." In an analogy test, the word "Muslim" was "analogized to 'terrorist' 23% of the time." Two years later, pre-registered replications found few violent completions in InstructGPT, which had been fine-tuned to eliminate biased and toxic outputs, but found that "using common names associated with the religions in prompts increases several-fold the rate of violent completions," and that ChatGPT showed a bias "many times stronger regardless of prompt format." The comparison suggests that mitigation reduced the obvious form of the bias in InstructGPT while related associations stayed detectable with other prompts and in the ChatGPT version tested in 2023. It says nothing directly about systems in 2026.
A 2025 study in the Proceedings of the National Academy of Sciences found "pervasive stereotype biases mirroring those in society in 8 value-aligned models across 4 social categories (race, gender, religion, health)," in models that looked unbiased on standard benchmarks. Another team, testing Llama, Mistral, and GPT-4o models in 2024 on how they attribute emotions to believers, found that the major religions of the US and Europe "are represented with more nuance," that "Eastern religions like Hinduism and Buddhism are strongly stereotyped," and that "Judaism and Islam are stigmatized," with "the models' refusal skyrocket." Asked what a Hindu would feel, the models commonly answered with ahimsa and dharma, which are principles, not emotions. Declining to say what a devout believer might feel is hard to explain as caution, and materially different refusal rates for comparable prompts about different traditions deserve to be reported separately.

The measurement itself is often too thin to see. When Meta evaluated Llama 2 in 2023, it used BOLD, an existing third-party benchmark, and removed "the religious ideology subgroups Hinduism and Atheism, because they are underrepresented with only 12 and 29 prompts, respectively." One of the world's largest faiths fell out of the evaluation for lack of prompts, and atheism went with it. The paper itself noted that it "may be necessary to test beyond the groups available in the BOLD dataset."
Current system cards say little more. Anthropic's Claude Opus 5 card and OpenAI's GPT-5 card both report the BBQ bias benchmark, and the word "religion" appears in neither. Anthropic's describes BBQ as "covering attributes such as age, race, gender, disability, and socioeconomic status," with results reported only in aggregate, not broken out by attribute. The sources reviewed here show no reliable trend across model generations: some tests improve while indirect ones still find disparities, and an aggregate score cannot settle it.
The Lucerne project drew one line clearly: the booth was art, not confession, and the avatar could not absolve. Its team also made deliberate choices about persona, scripture, memory, and pastoral tone. Beneath those choices sat a general model whose learned associations and tuning the team did not control. That is the harder lesson. Religious meaning in an AI product can be shaped on purpose at one layer and quietly inherited at another, and usually only the first half gets called theology.
That is half the story. Part 2, What the Faiths Are Telling Believers About AI, turns to the other half: what religious bodies have decided on purpose, and what they are telling ordinary believers to do.
