mlsanityData to 14 Oct 2026

Ansari: A Retrieval-Grounded Islamic AI Assistant -- Architecture, Deployment, and Lessons from 140,000 Conversations

arXiv 2608.20390 ↗First posted 30 Jun 2026cs.CL cs.AI cs.CYcited by 1

Not on the map. Why?

Abstract (arXiv)

General-purpose large language models (LLMs) are increasingly used to answer religious questions, but for Islamic content they carry two serious risks: factual fabrication (inventing Qur'anic verses or hadith) and subtle value misalignment. We present Ansari, a deployed, retrieval-grounded Islamic AI assistant that has handled more than 140,000 conversations across 25+ languages since June 2023. Ansari is built around an agentic retrieval loop: a tool-using language model issues searches against authenticated Islamic corpora -- the Qur'an, hadith collections, a multi-volume jurisprudence (fiqh) encyclopedia, and exegetical (tafsir) sources -- and answers only on the basis of what it retrieves, with citations attached for verification. We describe the system's architecture (the agent loop, the retrieval tools, the corpora, and the system prompt that encodes editorial and theological policy), its multi-platform deployment (web, mobile, WhatsApp, and as a Model Context Protocol server and an Agent Skill), and what 140,000 real conversations reveal about how Muslims actually use such a tool. We report results on several complementary evaluations -- zero-shot performance on accredited institutional exams, a human-rated validation during Ramadan, and two independent, externally run benchmarks on which Ansari currently tops the public IslamicMMLU leaderboard ahead of frontier models and is competitive on Islamic legal reasoning (IslamicLegalBench) while strongly resisting false premises -- and draw out lessons that generalize beyond Islam to any faith- or values-sensitive deployment of LLMs: grounding is necessary but not sufficient, the system prompt is a theological as much as a technical artifact, and the absence of community in how models are formed remains a hard gap.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 3 of its 9 references that are in the map. First posted on arXiv 30 Jun 2026.

Builds on

3 of 9 references.

References · 3

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2026Omissive Bias in Religious Representation: Benchmarking LLM Answers to Everyday Ethical Decision-makingcited by 2
  3. 2026JaleesBench: Are AI Assistants Good Spiritual Company?cited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Islamic Large Language Models: From Knowledge Acquisition to Trustworthy and Hallucination-Resistant AI
  2. 2026Fanar-Sadiq: A Multi-Agent Architecture for Grounded Islamic QA
  3. 2026Muslim: A Deployed Arabic Voice AI Platform for Grounded Islamic Knowledge
  4. 2026From RAG to Agentic RAG for Faithful Islamic Question Answering
  5. 2025Investigating Retrieval-Augmented Generation in Quranic Studies: A Study of 13 Open-Source Large Language Models
  6. 2025FARSIQA: Faithful and Advanced RAG System for Islamic Question Answering
  7. 2025Implementing a Sharia Chatbot as a Consultation Medium for Questions About Islam
  8. 2025Can LLMs Write Faithfully? An Agent-Based Evaluation of LLM-generated Islamic Content