Fanar-Sadiq: A Multi-Agent Architecture for Grounded Islamic QA
Large language models (LLMs) can answer religious knowledge queries fluently, yet they often hallucinate and misattribute sources, which is especially consequential in Islamic settings where users expect grounding in canonical texts (Qur'an and Hadith) and jurisprudential (fiqh) nuance. Retrieval-augmented generation (RAG) reduces some of these limitations by grounding generation in external evidence. However, a single ``retrieve-then-generate'' pipeline is limited to deal with the diversity of Islamic queries. Users may request verbatim scripture, fatwa-style guidance with citations or rule-constrained computations such as zakat and inheritance that require strict arithmetic and legal invariants. In this work, we present a bilingual (Arabic/English) multi-agent Islamic assistant, called Fanar-Sadiq, which is a core component of the Fanar AI platform. Fanar-Sadiq routes Islamic-related queries to specialized modules within an agentic, tool-using architecture. The system supports intent-aware routing, retrieval-grounded fiqh answers with deterministic citation normalization and verification traces, exact verse lookup with quotation validation, and deterministic calculators for Sunni zakat and inheritance with madhhab-sensitive branching. We evaluate the complete end-to-end system on public Islamic QA benchmarks and demonstrate effectiveness and efficiency. Our system is currently publicly and freely accessible through API and a Web application, and has been accessed approx1.9M times in less than a year.
69bc1604081b9ad49af5705f
Ummar Abbas
69bc1604081b9ad49af57060
Mourad Ouzzani
69bc1604081b9ad49af57061
Mohamed Y. Eltabakh
69bc1604081b9ad49af57062
Omar Sinan
69bc1604081b9ad49af57063
Gagan Bhatia
claimed_verified
2026-03-23T10:55:56.253Z
60394599033b61166496163b
https://cdn-avatars.huggingface.co/v1/production/uploads/1614366097007-noauth.jpeg
Gagan Bhatia
gagan3012
user
gagan3012
69bc1604081b9ad49af57064
Hamdy Mubarak
69bc1604081b9ad49af57065
Majd Hawasly
69bc1604081b9ad49af57066
Mohammed Qusay Hashim
69bc1604081b9ad49af57067
Kareem Darwish
69bc1604081b9ad49af57068
Firoj Alam
Fanar-Sadiq: A Multi-Agent Architecture for Grounded Islamic QA
Large language models (LLMs) can answer religious knowledge queries fluently, yet they often hallucinate and misattribute sources, which is especially consequential in Islamic settings where users expect grounding in canonical texts (Qur'an and Hadith) and jurisprudential (fiqh) nuance. Retrieval-augmented generation (RAG) reduces some of these limitations by grounding generation in external evidence. However, a single ``retrieve-then-generate'' pipeline is limited to deal with the diversity of Islamic queries. Users may request verbatim scripture, fatwa-style guidance with citations or rule-constrained computations such as zakat and inheritance that require strict arithmetic and legal invariants. In this work, we present a bilingual (Arabic/English) multi-agent Islamic assistant, called Fanar-Sadiq, which is a core component of the Fanar AI platform. Fanar-Sadiq routes Islamic-related queries to specialized modules within an agentic, tool-using architecture. The system supports intent-aware routing, retrieval-grounded fiqh answers with deterministic citation normalization and verification traces, exact verse lookup with quotation validation, and deterministic calculators for Sunni zakat and inheritance with madhhab-sensitive branching. We evaluate the complete end-to-end system on public Islamic QA benchmarks and demonstrate effectiveness and efficiency. Our system is currently publicly and freely accessible through API and a Web application, and has been accessed approx1.9M times in less than a year.
A bilingual multi-agent Islamic assistant named Fanar-Sadiq employs specialized modules and tool-using architecture to handle diverse religious queries with accurate scripture retrieval, fiqh answers, and deterministic calculations.
retrieval-augmented generation RAG multi-agent system tool-using architecture intent-aware routing deterministic citation normalization quotation validation zakat calculation inheritance calculation madhhab-sensitive branching