Fanar-Sadiq: A Multi-Agent Architecture for Grounded Islamic QA
Paper · 2026 · Ummar Abbas, Mourad Ouzzani, Mohamed Y. Eltabakh et al.
Summary
An assistant can give a fluent answer to a religious question while getting something essential wrong: the wording of a verse, the source of a statement, the conditions attached to a ruling, or the arithmetic of an inheritance distribution. Fanar-Sadiq addresses these different failures by giving different kinds of questions different execution paths. Its central proposition is that reliable Islamic question answering requires more than finding relevant passages and asking a generator to explain them. Sometimes the right operation is document retrieval; sometimes it is copying an authoritative record; sometimes it is applying an explicit calculation.
The system accepts Arabic and English questions. A routing component identifies the requested task and sends it to a specialist component. Jurisprudential questions receive answers based on retrieved documents, with citations linking the explanation to its sources. Requests for scripture go through dedicated verse retrieval or database queries. Zakat and inheritance questions use deterministic calculators after the necessary parameters have been extracted. Other components handle supplications, Islamic dates, prayer times, and the direction of prayer. The resulting answer carries references and execution metadata, allowing the system to preserve information about how it reached the response.
Across the paper’s benchmark suite, Fanar-Sadiq obtains an average accuracy of 76.5. Its strongest comparative result is on IslamicFaithQA, an open-ended Arabic-English benchmark, where it scores 65.4 against Gemini-3-Pro’s 56.6. On the Arabic FatwaQA benchmark, its 65.1 is close to Gemini-3-Pro’s 67.0. The pattern is less favorable on inheritance multiple-choice questions: Fanar-Sadiq reaches 72.2 on QIAS Task 1, whereas Gemini-3-Pro reaches 94.5. The authors suggest that translating a computed inheritance distribution into a benchmark answer option introduces an additional failure point. That explanation is plausible, but the paper does not isolate its contribution experimentally.
The work is therefore both an implemented architecture and an evaluation of the complete service. It shows that an assistant assembled around specialized operations can compete with strong general-purpose alternatives while doing particularly well on the reported open-ended questions. It does not establish which individual component causes each improvement, because the main evaluation does not remove routing, retrieval, citation handling, or calculators separately. The deployment evidence is substantial in scale: the authors report approximately 1.9M uses within less than a year, and positive feedback on 77.4% of the 6,441 queries that received a like or dislike. Those observations establish use and favorable feedback among respondents, instead of a direct measurement of religious correctness.
Interesting ideas
Match the operation to the requested outcome. A quotation, a numerical result, and an explanation have different correctness conditions. Fanar-Sadiq uses intent classification to choose an operation suited to those conditions. This principle applies to technical support, scientific assistants, and administrative services: identify whether the user needs an existing record, a calculation, or an interpretation before deciding how to produce an answer.
Keep authoritative text outside free composition. Scripture retrieval and supplication lookup return stored material without asking a generator to recreate it. Semantic matching can help locate the record, but the selected record supplies the wording. The same separation is useful for statutes, contractual clauses, technical specifications, and dictionary quotations, where a plausible reconstruction may still be unacceptable.
Separate language interpretation from exact execution. The calculators accept structured parameters and apply explicit rules. This moves arithmetic and legal allocation away from unrestricted prose generation, while leaving language processing responsible for understanding the request and explaining the result. The approach transfers to financial calculations, unit conversion, eligibility checks, and other tasks whose answers must satisfy formal constraints.
Represent disagreement as alternative outcomes. The inheritance component can return distributions associated with different jurisprudential policies. It does not always compress a legitimate disagreement into an apparently universal result. Systems supporting competing standards, scientific assumptions, or regulatory regimes can use the same strategy: identify the policy, compute within it, and preserve the alternatives when the policy changes the answer.
Make evidence a structured part of the response. Fanar-Sadiq maintains source metadata, citation identifiers, and execution traces alongside prose. That structure makes references easier to inspect and failures easier to locate. It is reusable in research search, document analysis, and decision support, where an answer’s usefulness depends in part on whether its supporting material can be recovered.
Evaluate the output that matters. For generated SQL, the paper compares database results instead of requiring identical query strings. For inheritance, it also evaluates calculator outputs against distributions extracted from fatwas. These choices recognize that different surface expressions can encode the same result. The broader lesson is to define correctness at the level of the intended operation while keeping separate checks for safety, assumptions, and presentation.
Treat fallback behavior as part of the design. The architecture specifies alternatives for malformed classification output, unresolved references, unavailable locations, and failed SQL generation. Such behavior matters because a system’s practical reliability includes what happens when its preferred path fails. Reusable fallbacks should preserve their limitations explicitly: changing execution strategy must not silently strengthen the evidence behind the answer.
Deep dive: Fanar-Sadiq: A Multi-Agent Architecture for Grounded Islamic QA
Fanar-Sadiq routes Islamic questions to retrieval, scripture lookup, and deterministic calculators, with evidence checks and benchmark results. · about 39 minutes to read
How Mova uses it
Mova is a small, transparent language system written in Rust. Its native path builds dependency trees, reads frames, maintains a text’s world, and answers with reasons. It also has explicit mathematical operations, domain routing interfaces, source-bound evidence stores, and configured worker capabilities. These provide several points of contact with Fanar-Sadiq, but they do not establish an implemented Islamic assistant or a measured transfer from this paper.
The status marks below are proposals against the documented mechanisms. “Already present” refers to a mechanism within its stated scope; it does not claim that Mova implements Fanar-Sadiq’s full workflow. “New” identifies a proposed addition whose implementation is not established by the digest. Every proposed benefit remains unverified until evaluated.
Idea: Match execution to the requested outcome. Where: System Architecture and Figure 2. Area: task routing. Mova: частково є (layers routing and the configured native deputy in tools/octopus). Mova could distinguish requests for a quotation, a calculation, and an explanation before selecting a capability. Its configured planner already concretizes supported tasks, but broad semantic recognition remains limited. Why Mova: choosing the operation explicitly would connect language understanding to a checkable result.
Idea: Keep domain admission separate from task selection. Where: Case Study and Appendix A. Area: routing. Mova: частково є (layers::needs_domain and domain coverage interfaces). Fanar-Sadiq first decides whether a query belongs to its religious service, then identifies the operation inside that service. Mova could preserve these as separate decisions, with separate evidence and failure records. Why Mova: a domain match would no longer imply that a particular handler understands the requested action.
Idea: Define intent classes around available capabilities. Where: Section 3.1 and Appendix C.1. Area: semantic parsing. Mova: частково є (deployment-configured capability vocabulary in tools/octopus). Mova could require each task label to name an admitted operation and its argument schema. This would extend the existing configured boundary without claiming unrestricted task understanding. Why Mova: operational labels become useful because they lead to concrete, inspectable actions.
Idea: Retain a structured routing observation. Where: Appendix C.1.1. Area: interpretability. Mova: вже є (native deputy observations, selected capabilities, and retained results). The paper’s intent, language, rationale, and retrieval fields suggest a reviewable routing record. Mova already retains related evidence in supported workflows; a shared schema could make records easier to compare. Why Mova: diagnosis improves when the interpretation and the executed operation remain distinguishable.
Idea: Validate the classifier’s output before dispatch. Where: Appendix C.1.1–C.1.2. Area: interface validation. Mova: частково є (explicit worker protocols and bounded capability admission). Mova could reject unknown labels, missing arguments, or inconsistent flags before invoking a handler. Fanar-Sadiq’s cleanup of malformed output supplies a concrete interface concern rather than a reason to trust any classifier. Why Mova: syntactic validity and task admissibility should be checked before execution.
Idea: Provide an explicit fallback classifier. Where: Appendix C.1.2. Area: classification. Mova: нове. Mova could test a small rule-and-statistics fallback over reviewed task exemplars when its primary interpretation fails. The transferable idea is a second bounded decision procedure; the paper’s embedding implementation need not be copied. Why Mova: supported requests might remain usable after a parser or interface failure, with the fallback recorded for review.
Idea: Calibrate uncertainty against routing outcomes. Where: Appendix C.1.2–C.1.3. Area: statistics. Mova: нове. The paper attaches confidence to routing decisions, including a similarity-margin score for fallback predictions. Mova could measure whether a routing score predicts actual handler suitability before using it to admit actions. Why Mova: a number labeled confidence should earn operational meaning through observed errors, especially when the wrong route changes correctness conditions.
Idea: Build routing evaluation from genuine requests. Where: Appendix C.1.3. Area: evaluation data. Mova: нове. Mova could create an anonymized, independently reviewed collection of supported and unsupported requests for the native deputy. The current digest establishes configured task families, but no corresponding user-query benchmark. Why Mova: realistic ambiguity, omitted referents, and mixed requests can reveal failures that examples written around handlers overlook.
Idea: Preserve annotation disagreement. Where: Appendix C.1.3 and Appendix A. Area: annotation statistics. Mova: частково є (treeagree agreement reports and reviewed disputes). Fanar-Sadiq reports annotator agreement for routing data. Mova could extend its existing agreement discipline from parser outputs to task labels, recording unresolved cases separately. Why Mova: uncertainty in the reference interpretation should remain visible when evaluating the system against it.
Idea: Distill a narrow decision offline. Where: Appendix A. Area: learning architecture. Mova: частково є (teacher-separated training and native assessment). The paper trains a lightweight domain classifier from offline teacher labels. Mova already uses teachers outside assessment; a narrow task recognizer could follow that separation, with its own reviewed labels and regression gate. Why Mova: expensive supervision can support a bounded native capability without becoming the runtime answerer.
Idea: Keep authoritative wording outside free composition. Where: Sections 3.2 and 3.5; Appendices C.5 and C.9. Area: source fidelity. Mova: частково є (dictindex exact sentence witnesses and provenance). Mova could expose exact-record retrieval as a capability distinct from explanation. Existing corpus evidence already preserves original text, but that does not establish a general quotation service. Why Mova: quotations and definitions need recoverable wording rather than reconstructed approximations.
Idea: Separate candidate discovery from final record selection. Where: Appendix C.5. Area: dictionary retrieval. Mova: частково є (dictindex statistical proposals and Nautilus review). Fanar-Sadiq retrieves candidate occasions and then selects canonical records. Mova’s free dictionary work already separates proposals from admission; the same distinction could govern user-facing lookup. Why Mova: broad retrieval can improve coverage while a later check protects the identity of the returned entry.
Idea: Use canonical keys after semantic selection. Where: Appendix C.5. Area: data identity. Mova: вже є (dictindex stable posting hashes and source identifiers). Mova could retain the exact entry or posting identifier selected by a lookup rather than relying on its displayed label. This is consistent with its existing evidence identities. Why Mova: a friendly name can change, while a stable key keeps the result connected to its evidence.
Idea: Preserve multiple fields in retrieved entries. Where: Appendix C.5. Area: lexicography. Mova: частково є (dictindex credits, examples, labels, and gloss metadata). A dictionary lookup could return original text, reviewed gloss, source, language, and entry identity as separate fields. Fanar-Sadiq’s supplication records illustrate why flattening everything into prose loses distinctions. Why Mova: the free dictionary benefits when source material and editorial interpretation remain independently inspectable.
Idea: Parse references before searching semantically. Where: Appendix C.9 and Algorithm 2. Area: reference resolution. Mova: нове. Mova could recognize explicit document, section, entry, or record references and resolve them directly before broader retrieval. Unknown or invalid identifiers should produce a specific failure. Why Mova: a precise reference should lead to a precise lookup, reducing unnecessary ambiguity and avoiding an unrelated semantic match.
Idea: Validate ranges against the source structure. Where: Appendix C.9 and Algorithm 2. Area: data validation. Mova: нове. Requests for contiguous passages could be checked against the actual document’s boundaries before retrieval. The proposed transfer concerns indexed documents generally, rather than scripture alone. Why Mova: an apparently valid number or range may still identify material that does not exist in the selected source.
Idea: Separate original text from normalized search text. Where: Appendices C.7.1 and C.9. Area: data processing. Mova: частково є (dictindex original sentences and normalized lemmas). Mova could preserve exact source strings while using explicitly derived forms for matching spelling variants or punctuation. Why Mova: normalization can improve access without silently changing the evidence that a user or reviewer needs to inspect.
Idea: Separate language interpretation from exact calculation. Where: Section 3.3 and Appendix C.6. Area: mathematics. Mova: вже є (math exact rationals, units, expressions, and quantitative world readers). The paper reinforces an existing architectural choice: language should identify quantities and operations, while an exact component computes. Why Mova: arithmetic correctness becomes independently testable even when interpretation remains uncertain.
Idea: Validate extracted parameters before computing. Where: Appendix C.6. Area: mathematical interfaces. Mova: частково є (math typed quantities and unit dimensions). Mova could add domain-specific checks for finite values, allowed signs, required fields, and compatible assumptions around each calculator. Why Mova: exact arithmetic cannot rescue an invalid input interpretation; validation must cover the boundary between language and calculation.
Idea: Make policy choices explicit in formulas. Where: Appendix C.6. Area: mathematical policy. Mova: частково є (source-carrying principles and domain explanations). Fanar-Sadiq explains why it chooses a particular threshold policy. Mova could attach a policy identifier and source to any domain formula whose selection is contestable. Why Mova: a mathematically correct result can depend on a substantive choice that should not disappear inside code.
Idea: Represent disagreement as alternative outcomes. Where: Section 3.3 and Appendix C.7. Area: logical reasoning. Mova: частково є (yom-hadin enumerated judgment paths and viewpoint-module direction). Mova already documents multiple justified legal-study paths. The paper suggests making policy-specific computed outputs equally explicit in other domains. Why Mova: alternatives can preserve genuine disagreement while keeping each derivation internally checkable.
Idea: Organize computation into inspectable phases. Where: Appendix C.7 and Figure 3. Area: algorithm design. Mova: частково є (math::steps, deduct, and explanation chains). A domain solver could expose eligibility, initial allocation, remainder handling, and final checking as distinct stages. Why Mova: phase records reveal whether an error arose from input interpretation, rule selection, or arithmetic adjustment.
Idea: Check global invariants after local rules. Where: Appendix C.7. Area: formal validation. Mova: частково є (groupant invariants and exact mathematical checks). The inheritance workflow checks whether allocations fit the estate after applying individual entitlements. Mova could express comparable conservation or consistency requirements in domain groupants. Why Mova: individually plausible steps may still produce an impossible combined result.
Idea: Keep intermediate symbolic results when formatting answers. Where: Results & Discussion, QIAS analysis. Area: evaluation interfaces. Mova: нове. Mova could retain the computed result separately from the answer option or textual form used to report it. Why Mova: the paper’s inheritance result highlights a possible failure between solving a problem and selecting its expected representation.
Idea: Test answer-option alignment independently. Where: Results & Discussion. Area: evaluation. Mova: нове. Mova’s school assessments could separately measure recognition of the correct option from an already available internal answer. This would be a diagnostic experiment, not evidence that its current errors have that cause. Why Mova: a reader may need better reasoning, better option comparison, or both, and those require different repairs.
Idea: Make evidence a structured response component. Where: Sections 3.4–3.5 and Appendix C.12. Area: provenance. Mova: вже є (reason-bearing answers, source-bound groupants, and corpus evidence). Fanar-Sadiq’s answer-plus-metadata interface supports an existing Mova principle. A consistent response schema could connect native reasons, retrieved sources, and worker receipts without treating them as equivalent evidence. Why Mova: provenance should survive composition across capabilities.
Idea: Distinguish retrieved sources from cited sources. Where: Appendix C.8. Area: evidence accounting. Mova: нове. Mova could record which retrieved witnesses actually support an answer, rather than presenting all candidates as its bibliography. Why Mova: retrieval shows availability, while citation asserts use; keeping these separate makes explanations more honest and review more efficient.
Idea: State scope before presenting a ruling. Where: Appendix C.8. Area: pragmatics. Mova: частково є (frame attribution, world context, and domain justification). Domain answers could expose relevant assumptions before their conclusions, using typed context fields where possible. Why Mova: a statement can be valid under a condition without being valid for the user’s unstated circumstances.
Idea: Preserve an explicit hierarchy of evidence. Where: Appendix C.8. Area: knowledge representation. Mova: частково є (source-bearing principles and the distinction between narrative facts and external knowledge). Mova could let domains declare their own admissible source relations and precedence rules. Why Mova: source authority is domain-dependent, and a retrieval relevance score should not silently decide it.
Idea: Evaluate the output that matters. Where: Appendix C.10.2. Area: semantic evaluation. Mova: частково є (typed correspondences and finite relation comparisons). Mova could compare query results or solved quantities when surface forms differ, while preserving the stated domain of comparison. Why Mova: semantically equivalent programs or expressions need not share text, but finite agreement still does not prove unrestricted equivalence.
Idea: Use exact and set-based comparisons appropriately. Where: Appendix C.10.2. Area: evaluation semantics. Mova: нове. Structured-output tests could declare whether order matters, whether duplicates matter, and which fields define identity. Why Mova: an evaluator can otherwise reject harmless reorderings or accept results that have lost an important structural distinction.
Idea: Train bounded query translation from templates. Where: Appendix C.10.1. Area: data generation. Mova: нове. A native translator for a small query language could learn or induce rules from reviewed parameterized examples, with valid source values. Why Mova: constrained generation offers a practical bridge between language frames and executable operations without requiring general program synthesis.
Idea: Test spelling variation without changing the target operation. Where: Appendix C.10.1. Area: robustness. Mova: частково є (morphological rules and spelling-aware language work). Mova could build controlled query variants whose intended structured result remains fixed. Why Mova: such tests distinguish failures of access from failures of the underlying operation, while keeping the reference answer stable.
Idea: Validate generated queries before execution. Where: Appendix C.10. Area: operational safety. Mova: частково є (vfs, wasi-host, and explicit worker execution bounds). A database capability could admit only an approved read-only query subset and enforce resource limits. Why Mova: semantic usefulness does not remove the need to constrain what an executable request may access or consume.
Idea: Evaluate retrieved examples as a separate setting. Where: Appendix C.10.3 and Table 8. Area: experimental design. Mova: нове. Mova could compare a query translator with different amounts of retrieved demonstration context while keeping the test questions unchanged. Why Mova: this reveals whether the translator already knows an operation or depends on finding a nearby example.
Idea: Build domain tests from independently stated outcomes. Where: Appendix C.7.1–C.7.2. Area: benchmark construction. Mova: частково є (source-bound corpus preparation and separate assessment). Reviewed source documents could supply structured problem inputs and independently stated expected results for bounded solvers. Why Mova: realistic distributions test rule coverage beyond examples written by the implementation’s author.
Idea: Retain data from failed or incomplete extraction. Where: Appendix C.7.1. Area: data quality. Mova: вже є (sources verification, enrich partial-failure handling, and immutable indexing boundaries). The paper’s separate extraction outputs reinforce this existing discipline. Why Mova: unsuccessful records reveal coverage limits and should not disappear from the account of what was processed.
Idea: Record extraction quality flags. Where: Appendix C.7.1. Area: data provenance. Mova: частково є (dictindex discovery classifications and source checks). Mova could attach machine-readable ambiguity flags to derived benchmark items or dictionary evidence. Why Mova: uncertainty about a source’s interpretation should not become an unqualified reference answer downstream.
Idea: Repeat evaluation under an alternative extraction setup. Where: Appendix C.7.2. Area: measurement reliability. Mova: частково є (deterministic reruns and multiple parser witnesses). Mova could distinguish exact reruns from alternative measurement procedures and report both where source extraction requires judgment. Why Mova: identical execution establishes reproducibility, while sensitivity to another reasonable evaluator exposes a different uncertainty.
Idea: Separate correctness, error, and abstention. Where: Section 4.2 and Appendix B.4. Area: evaluation. Mova: частково є (explicit gaps and unsupported-request failures). Mova could report answer coverage alongside correctness instead of treating every missing answer as equivalent to a false assertion. Why Mova: a transparent logical module should receive credit for identifying missing evidence without hiding unresolved tasks.
Idea: Preserve scope warnings in the final answer. Where: Appendices C.3–C.7 and Limitations. Area: response assembly. Mova: частково є (reasons, gaps, assumptions, and bounded worker outcomes). A final renderer should carry forward limitations supplied by a calculator or lookup tool. Why Mova: an accurate tool result can become misleading if presentation removes its conditions.
Idea: Treat fallback behavior as part of the design. Where: Appendices C.1, C.4, and C.10. Area: failure handling. Mova: вже є (missing-context failures and explicit execution limits). Mova could extend its current behavior with tested, capability-specific alternatives where suitable. Why Mova: a fallback should have its own admissibility conditions and outcome, rather than inheriting the authority of the failed path.
Idea: Keep location defaults visible. Where: Appendix C.4. Area: contextual reference resolution. Mova: нове. Any future spatial or time-dependent capability could expose unresolved location as a first-class condition instead of silently adopting a deployment default. Why Mova: deterministic execution at the wrong location still answers the wrong question.
Idea: Model temporal rollover explicitly. Where: Appendix C.3. Area: temporal reasoning. Mova: нове. Mova could represent whether an annual event has passed and whether “next” refers to the current or following cycle. Why Mova: relative-time questions require state and convention, not just matching an event name to a date.
Idea: Separate numerical precision from conventional choice. Where: Appendices C.3–C.4. Area: mathematical interpretation. Mova: частково є (exact arithmetic and units). A domain module could compute precisely while retaining the calendar convention or calculation method that selected the formula. Why Mova: exactness within a convention should not be confused with universal agreement about that convention.
Idea: Cache repeated representations without losing identity. Where: Appendix C.11. Area: performance. Mova: частково є (prepared graph reuse in fast reading and shared document state in mice). Fanar-Sadiq caches embeddings; Mova can apply the broader principle to native parsed or typed observations. Why Mova: repeated work can be avoided while retaining the source and configuration that make a cached result valid.
Idea: Log component outcomes separately. Where: Appendix C.12. Area: operational diagnosis. Mova: вже є (worker receipts, retained state, and cost/run logging). The paper’s per-component timing and failure categories suggest a common diagnostic vocabulary across Mova capabilities. Why Mova: an end-to-end failure becomes actionable when routing, retrieval, execution, and rendering can be inspected independently.
Idea: Keep deployment popularity separate from correctness. Where: Real-world usage and Section 4.2. Area: evaluation interpretation. Mova: частково є (dated measurements and source-bound evidence roles). Mova reports could distinguish usage, satisfaction, task completion, and independently checked accuracy. Why Mova: each answers a different question, and none should silently stand in for another.
Idea: Preserve the boundary between supervision and assessment. Where: Appendix A, Appendix C.10.1, and Appendix D. Area: experimental hygiene. Mova: вже є (offline teacher use, held-out gates, and frozen assessment labels). The paper’s training and evaluation components provide another setting in which this boundary matters. Why Mova: useful teacher-produced material must enter through an admitted training path rather than leaking from a test or a runtime receipt.
The problem and its context
Different questions require different guarantees
The paper begins from a practical difficulty in religious assistance. A user may ask for information whose form is part of its correctness. Returning the approximate meaning of a verse does not satisfy a request for its exact wording. Giving a plausible inheritance explanation does not establish that the listed shares follow the relevant rules. Citing a document does not establish that the document supports the claim attached to it.
These are related reliability problems, but their remedies differ. A quotation needs a canonical record and reference validation. A calculation needs structured inputs, explicit rules, and arithmetic checks. A jurisprudential explanation needs evidence, assumptions, and attention to differences among legal schools. A conversational greeting needs none of the same retrieval machinery.
The authors organize their architecture around that heterogeneity. Their argument is not that document retrieval is unhelpful. It is that the conventional retrieval-and-generation pattern is too uniform when applied to every request. A passage can explain an inheritance rule, but an explanation of a rule and execution of that rule are separate operations.
This distinction also changes what a system should expose to the user. For a calculation, the relevant evidence includes the inputs, deductions, policy assumptions, and resulting allocations. For a quotation, the important record includes the source identifier and exact text. For a legal explanation, citations need to remain connected to the reasoning instead of appearing as an undifferentiated list.
What retrieval contributes
Retrieval-augmented generation supplies an external source of information for an answer. The paper situates this approach through Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks, which combines generation with document access. It also cites Dense Passage Retrieval as an example of dense retrieval and Leveraging Passage Retrieval with Generative Models for the Fusion-in-Decoder approach to using retrieved material.
The authors place retrieval during prediction in the same broader development, discussing RETRO and Atlas. Their account emphasizes factual answering and the ability to use external knowledge. Fanar-Sadiq accepts that foundation, then asks what should happen when the requested operation is not adequately described as finding useful prose.
The paper’s comparison of architectures makes this operational emphasis explicit. It distinguishes evidence support, tool use, scripture-specific retrieval, rule calculators, and natural-language-to-SQL translation. That comparison describes architectural coverage. It should not be read as a controlled performance ranking, because the compared systems are not all evaluated under one shared task setup in that table.
From retrieval to selected actions
The authors connect their approach to ReAct, where reasoning and external actions can alternate, and Toolformer, which investigates learning when to invoke tools. These provide precedents for moving beyond a fixed sequence of retrieval followed by answer generation.
Fanar-Sadiq’s contribution is more specifically a heterogeneous service architecture. The selected action might retrieve a document, fetch a canonical verse, compute a financial obligation, or calculate a prayer timetable. The paper’s use of “multi-agent” includes prompted specialist components as well as deterministic programs coordinated through routing. It does not mean that every specialist is an independently trained conversational participant.
The Islamic application gives the routing choice substantive consequences. A wrongly selected path may do more than reduce answer quality: it can replace a rule-governed operation with an unconstrained explanation. The architecture therefore treats routing as an important reliability boundary, although its measured accuracy also confirms that routing remains imperfect.
Existing Islamic evaluation and systems
The paper describes Qur’an QA 2023 as establishing shared evaluation for passage retrieval and comprehension involving the Qur’an. IslamicEval 2025 adds emphasis on detecting and repairing hallucinated religious content. These tasks help make canonical grounding an evaluable requirement.
For structured reasoning, QIAS 2025 supplies inheritance-focused assessment. The authors also discuss work on ritual jurisprudence and systems that use reranking or repeated retrieval to improve fatwa-style answers. Their account presents those efforts as important advances in text-grounded assistance.
The closest preceding approach discussed is an agentic Islamic QA framework that uses tools for verse verification and repeated evidence gathering. Fanar-Sadiq extends the architectural emphasis toward calculators and geographic or calendar operations under a shared intent taxonomy. Its relationship to the earlier Fanar platform is also operational: the proposed service becomes a specialized component within that broader deployment.
The method, step by step
Entering the specialized service
A query reaching the Fanar chat platform first encounters a domain decision: does it require Islamic sources? If so, the platform sends it to Fanar-Sadiq. Other requests go to general-purpose assistants. This binary decision is separate from the finer routing performed inside Fanar-Sadiq.
The binary classifier is trained through offline knowledge distillation. A larger teacher supplies religious-domain labels, and a smaller classifier learns to predict them. The training collection contains ∼2.13M queries, including 637,748 positives and 1,488,793 negatives. Arabic and English are represented, and the median query length is 52 characters.
The implementation adds a linear classification head to a bge-m3 encoder. The encoder remains frozen, so optimization changes the head instead of the full representation system. Training lasts 20 epochs, uses BF16 mixed precision, and selects a checkpoint through macro-F1 on a stratified validation split of 10%. The reported learning rate is 3 × 10 −4. A threshold of 0.66 turns the prediction score into a binary decision.
Negative examples include ordinary reasoning and mathematical requests. The paper names LMSYS-Chat-1M and WildChat among their sources, alongside MetaMath. Their role is to help the classifier avoid equating a difficult question, or a question containing numbers, with a request needing religious evidence.
Selecting the operation
Inside Fanar-Sadiq, the hybrid query classifier chooses among nine task categories. These include legal rulings, scripture retrieval, general Islamic information, and greetings. The remaining categories cover zakat, inheritance, supplications, calendar questions, and prayer-related timing or direction.
The primary classifier produces a structured object. It contains the predicted task, detected language, confidence, and a brief explanation. It can also include subquestions and a flag indicating whether retrieval is needed. The default temperature is 0.0, and the output budget is 300 tokens.
The system cleans some common output artifacts and can extract a structured object even when it has been wrapped in formatting. If the result cannot be parsed, invocation fails, or confidence falls below 0.5, a fallback compares the query representation with cached intent exemplars. Those exemplars are prepared for each language-intent pairing using Qwen3-Embedding-4B.
The fallback chooses through cosine similarity, which measures the alignment of the query representation with each exemplar representation. Its confidence depends on the gap between the leading candidates. The displayed confidence formula is disrupted by the paper’s mathematical layout, so its precise arithmetic cannot be reconstructed confidently from the available expression. The operational description is clearer: a larger separation between the strongest candidates produces a stronger confidence score.
How Fanar-Sadiq turns a question into an answer
The steps in order.
Handling simple interactions and utility questions
The greeting component illustrates the architecture’s pragmatic side. A social interaction does not need the same process as a legal question. The component detects Arabic through character proportions, using a threshold above 30%, and produces a brief response in the corresponding language.
Though the main architecture describes greeting handling as a lightweight utility, the implementation details include prompted generation and a fixed fallback. Its default temperature is 0.2, with a maximum output of 256 tokens. This is a useful reminder that “tool” does not always mean a purely symbolic program in this system.
Calendar requests use multilingual cues to identify their subtype. The tool can return the current Hijri date, convert dates, resolve named events, or list upcoming events. It uses an Umm al-Qura calendar implementation and a bilingual event collection containing 20+ entries.
The calendar logic also handles rollover. When a requested event has passed in the current Islamic year, the tool selects its occurrence in the following year. Its response preserves the distinction between a computed calendar date and dates determined by regional moon-sighting practice. The warning is part of the output’s meaning, instead of an unrelated disclaimer.
Resolving location and computing prayer information
Prayer-related queries require geographic coordinates, a date, and a calculation method. Location resolution begins with a curated collection of over 8,000 cities. If direct or approximate matching fails, a language component attempts to extract a city name, including transliteration where necessary. External geocoding provides another fallback.
When all location-resolution attempts fail, the implementation uses Doha and explicitly tells the user that it has done so. The stated coordinates are 25.2854°N and 51.5310°E. This behavior keeps the service responsive, but the resulting answer is conditional on a default that may not match the user’s intention.
Prayer times are computed through pyIslam. The selected method supplies the relevant twilight parameters, and the calculation also depends on location, time-zone offset, and date. A deterministic timetable is therefore exact only relative to those inputs and conventions.
For Qibla direction, the paper gives a spherical-geometry expression:
θ = arctan(sin(Δλ) / (cos(ϕ₁) tan(ϕ₂) − sin(ϕ₁) cos(Δλ)))
Here θ is the bearing toward Makkah. The user location has latitude ϕ₁ and longitude λ₁; Makkah has latitude ϕ₂ and longitude λ₂. The longitude difference is defined separately:
Δλ = λ₂ − λ₁
Δλ is the difference between the destination longitude and the starting longitude. The implementation converts the bearing into a compass heading and also reports great-circle distance. The printed expression uses arctan; the paper does not spell out the implementation’s quadrant-handling details.
Retrieving supplications without rewriting them
Supplication lookup separates finding an occasion from reproducing its associated text. The query is embedded and compared with stored occasion descriptions. The default candidate count is 5, and candidates must meet a similarity threshold of 0.2.
A lightweight language component then chooses relevant candidates from the numbered list. The system maps those choices to canonical page-title identifiers. This second stage can improve selection precision, but it does not compose the supplication.
The final record supplies the Arabic text, translation, reference, and related metadata. Returning those fields directly avoids changing diacritics or introducing a paraphrase that might be mistaken for an authenticated wording. The selection process can still fail, but the architecture reduces a distinct risk: generating a new text after locating the right occasion.
Computing zakat from structured parameters
The zakat path extracts asset amounts, liabilities, and relevant prices, then passes them to a deterministic calculator. The supported categories include monetary holdings, agricultural produce, and livestock. Currency conversion and major cryptocurrencies are also described.
The minimum wealth threshold, or nisab, depends on precious-metal prices:
Nisab = min(85 g × P_gold, 595 g × P_silver)
P_gold is the price of gold per unit mass, and P_silver is the corresponding silver price. The quantities 85 g and 595 g specify the metal amounts used to form the candidate thresholds. The calculator chooses their minimum. The authors explain this as a jurisprudential policy intended to broaden eligibility in favor of recipients.
The algorithm aggregates eligible monetary assets and deducts relevant debts. If the resulting wealth reaches the chosen threshold, it applies the monetary rate. The paper writes that step as:
Z_monetary = 0.025 × A_net
Z_monetary denotes the zakat due on qualifying monetary wealth. A_net is the net eligible amount after deductions. If the threshold is not reached, the algorithm assigns no monetary zakat through that branch.
Agriculture follows separate logic. The reported rates are 10% for rain-fed production, 5% for irrigated production, and 7.5% for mixed irrigation. Produce is checked against a 653 kg threshold. Livestock uses schedules rather than the monetary formula.
Validation checks reject negative or non-finite inputs and enforce specified price relationships. The output provides a breakdown by category, details about thresholds, and cautions concerning holding periods and verification of prices. These checks protect arithmetic execution, but they do not independently establish that every user asset has been classified correctly.
Allocating inheritance under explicit rules
The inheritance module accepts a structured description of the deceased and heirs. Its schema covers 27 parameters. The calculation begins by identifying eligible heirs and assigning their fixed entitlements.
The next phase distributes any remainder through the residuary priority chain. The paper describes priorities involving descendants, paternal relatives, and other supported relationships. This ordering is part of the legal logic, not an optimization chosen by the program.
A final phase makes the distribution arithmetically consistent. Awl reduces allocations proportionally when the initial shares exceed the estate. Radd handles a remainder when the applicable rules permit its return to eligible recipients.
Some cases depend on jurisprudential policy. The implementation can return parallel distributions rather than suppressing that difference. The response includes flags for school differences, adjustment metadata, and special-case warnings. Correct execution therefore produces a structured legal calculation with conditions, instead of an unconditional verdict about an incompletely described family situation.
Producing evidence-based explanations
Fiqh questions take a document-retrieval route. The dedicated reasoning tool searches a collection described as containing 50,000+ documents. Its material includes scripture, authenticated Hadith, jurisprudential writing, and contemporary discussions.
The retrieval system uses Qwen3-Embedding-4B representations and can apply reranking, metadata restrictions, and source-diversity controls. The default document limit is 12. Retrieved passages then enter a specialist reasoning prompt.
That prompt asks the answerer to state its assumptions, distinguish a ruling from its supporting material, and acknowledge conflicting sources. It also specifies a source hierarchy and permits a call to exact verse retrieval when a conclusion depends on scriptural wording.
Citation processing follows generation. The system extracts citation tags, associates them with source records, and records which retrieved sources were actually cited. This establishes a useful connection between answer and retrieval history. It does not by itself prove that every cited source entails every attached statement.
The general Islamic-information route uses a related document-grounded process. Its broader retriever is described as operating over 500K+ documents. The paper reports these collection sizes for different components without fully explaining their overlap or version relationship.
Looking up verses and querying scripture structure
A dedicated classifier divides Qur’an questions into specific verses, complete chapters, statistics, and interpretation. It constrains the primary output to that closed set and uses a similarity-based fallback when needed.
Specific references can be numeric, named, or expressed less directly. The verse tool resolves a surah, checks the requested range, and fetches the corresponding database records. Surah resolution first uses the 114 standard names, then approximate matching if required. The stated acceptance threshold for fuzzy resolution is 0.6.
The verse database preserves Uthmanic Arabic with diacritics alongside simplified search text, English translation, and structural metadata. Keeping these representations separate helps search tolerate variation while the answer can still return the canonical stored wording.
Interpretation questions additionally retrieve explanatory documents. Their answerer is constrained to the available evidence and can attach verse-level references. Exact text and interpretation thus share evidence without being treated as the same output.
Complete-chapter and statistical requests can enter the natural-language-to-SQL path. That path generates a database query, validates it, and executes it with restricted access. The database supplies the sequence or count; the language layer explains the returned result.
Training and evaluating the SQL translator
The specialized SQL translator is trained on 48k examples created from paired natural-language and SQL templates. Valid values instantiate references, ranges, divisions, and revelation categories. Approximately ≈10% of the language questions receive spelling or typing variation while their SQL targets stay fixed.
The underlying component is Qwen/Qwen3-4B-Instruct-2507, adapted through supervised fine-tuning with LoRA. The reported setup uses a maximum sequence length of 4096 tokens and 3 epochs. Its learning rate is 1 × 10 −5, with a cosine schedule and warmup ratio of 0.1. LoRA uses rank 8, alpha 16, and dropout 0.05.
At inference, the system retrieves similar demonstrations from more than 200 curated pairs and includes the schema in the prompt. SQL validation checks syntax, columns, suspicious patterns, and complexity. Execution is read-only, bounded by a 5-second timeout and a 1000-row limit.
A specialized translator is the preferred path, followed by a general-purpose alternative and then retrieval if SQL generation fails. This hierarchy maintains service continuity, but the guarantees vary by path. Exact counting through a validated query is a different operation from explaining passages found through retrieval.
Assembling the response
Each specialist returns an answer together with structured metadata. The final assembler combines references, status information, and execution traces. Streaming distinguishes generated text from citations and progress events.
Configuration follows an explicit precedence: stored configuration overrides environment settings, which override built-in defaults. Logging captures component identity, timing, request information, failures, and fallback events. Calculator audit records preserve inputs, assumptions, warnings, and outputs.
These engineering details matter to the paper’s argument because a correct specialist result can be lost or distorted during integration. The architecture attempts to preserve evidence across the complete path, although its evaluation does not separately quantify every assembly or verification failure.
Experiments and results
What the benchmark suite measures
The main evaluation combines open-ended answering with multiple-choice assessment. These formats test related capabilities under different output conditions. Open-ended tasks allow detailed explanations and abstention; multiple-choice tasks require the correct option.
IslamicFaithQA contains 3,810 Arabic-English examples with atomic reference answers. It is intended to expose hallucinated answers and failures to abstain when support is missing. FatwaQA contains 2,000 Arabic question-answer pairs involving jurisprudence and finance.
The multiple-choice collection includes QIAS Task 1, PalmX, and IslamTrust. The paper’s dataset table lists 1,000 Arabic items for QIAS and 1,000 for PalmX. IslamTrust contributes 406 bilingual items focused on ethical alignment.
These tasks should not be treated as interchangeable measurements of one ability. A system can be strong at evidence-backed explanation and weaker at selecting an inheritance option. Likewise, success on value-sensitive choices does not establish accurate scripture quotation or calculator coverage.
Baselines and answer grading
The proprietary comparisons use GPT-4.1, GPT-5, and Gemini-3 variants. The open-source comparisons use ALLaM-7B and Fanar-2-27B. All baselines receive task-specific instructions.
For multiple-choice questions, the requested output is an answer letter without explanation. The evaluation uses 2 demonstrations. Open-ended tasks use zero-shot prompting and ask for detailed answers with evidence.
The baseline systems have no external retrieval, tools, or web access during evaluation. Fanar-Sadiq, by contrast, is the complete tool-enabled service. The comparison therefore assesses the assembled application against standalone alternatives; it does not isolate orchestration while holding information access constant.
Open-ended responses are graded by GPT-4.1 using the question, reference answer, response, and evidence when available. The possible judgments distinguish a correct answer, an incorrect answer, and a response that does not attempt the required answer. Multiple-choice scoring compares the selected option directly with the reference label.
Strong open-ended performance
IslamicFaithQA produces the clearest advantage for Fanar-Sadiq in the reported comparison.
IslamicFaithQA open-ended answer accuracy
Fanar-Sadiq has the highest reported accuracy on this benchmark.
The numbers
| System or setting | accuracy % |
|---|---|
| GPT-4.1 | 41.4 |
| GPT-5 | 51.2 |
| Gemini-3-Flash | 53.4 |
| Gemini-3-Pro | 56.6 |
| ALLaM-7B | 42.7 |
| Fanar-2-27B | 48.2 |
| Fanar-Sadiq (this paper) | 65.4 |
This result is consistent with the architecture’s emphasis on evidence access and specialized operations. It does not demonstrate that routing alone produces the advantage. Retrieval, source coverage, specialist prompts, and verification are all active in the evaluated system.
FatwaQA shows a different ordering at the top. Fanar-Sadiq obtains 65.1, while Gemini-3-Pro obtains 67.0. GPT-5 scores 63.6, and Gemini-3-Flash scores 54.6. The open-source baselines score 44.5 for Fanar-2-27B and 31.5 for ALLaM-7B.
The fatwa results support a narrower conclusion than universal superiority. Fanar-Sadiq performs competitively on this Arabic open-ended task and exceeds several strong alternatives, but the strongest listed proprietary result remains higher.
Multiple-choice performance varies by task
On PalmX, Fanar-Sadiq reaches 85.5. Gemini-3-Pro scores 84.4, GPT-5 scores 82.3, and Gemini-3-Flash scores 81.2. The result suggests that specialization has not prevented the service from answering broad Islamic-culture questions effectively.
IslamTrust produces 94.2 for Fanar-Sadiq. Gemini-3-Pro reaches 95.6 and GPT-5 reaches 95.2. This establishes strong performance on that benchmark’s choices, while leaving the system below those proprietary comparisons.
Inheritance multiple-choice assessment is the conspicuous weakness:
QIAS Task 1 inheritance multiple-choice accuracy
Fanar-Sadiq trails the strongest proprietary comparisons despite its dedicated calculator.
The numbers
| System or setting | accuracy % |
|---|---|
| GPT-4.1 | 89.2 |
| GPT-5 | 93.0 |
| Gemini-3-Flash | 91.5 |
| Gemini-3-Pro | 94.5 |
| ALLaM-7B | 52.4 |
| Fanar-2-27B | 63.5 |
| Fanar-Sadiq (this paper) | 72.2 |
The authors identify symbolic-result-to-option mapping as a likely contributor. A calculator may produce a distribution, but the answerer must recognize which option expresses it. The benchmark score measures that whole process. Without a diagnostic separation, it cannot reveal how frequently computation, input extraction, routing, or option alignment caused the failure.
The reported benchmark average is 76.5 for Fanar-Sadiq. Gemini-3-Pro has 79.6, GPT-5 has 77.1, and Gemini-3-Flash has 75.1. The corresponding open-source averages are 62.4 and 45.9. This aggregate provides a compact overview, but the task-specific pattern is more informative than the average alone.
Routing evaluation
The internal routing classifier is evaluated on real queries sampled from the chat interface. The appendix describes 705 items, independently labeled with majority voting. It reports Fleiss’ κ of 0.76.
The task distribution is uneven. Legal rulings account for 31.4%, general Islamic questions for 29.1%, and inheritance for 17.4%. Smaller classes include timing, calendar, and social requests. Overall accuracy therefore gives more influence to frequent classes than to rare ones.
The hybrid classifier obtains 90.1% accuracy. The zero-shot GPT-5 comparison obtains 89.3%, and Gemini obtains 89.7%. The main text describes the collection as 700 queries, whereas the appendix uses 705; the paper does not reconcile that difference.
The separate binary domain classifier also has inconsistent headline and appendix descriptions. The deployment section refers to 1,700 queries and macro-F1 of 93.40. Appendix A describes 1,716 queries and reports precision 0.922, recall 0.924, F1 0.923, and accuracy 0.944. Both report Cohen’s κ of 0.753, while the appendix additionally gives overall label agreement of 88.2%.
These details should remain separate instead of being merged into a single reconstructed result. They describe related evaluation material, but the paper does not explain whether their differences reflect versions, subsets, or reporting inconsistencies.
Direct evaluation of inheritance calculations
The calculator receives an additional benchmark derived from inheritance fatwas. The authors crawl and clean source pages, extract family inputs from questions, and derive expected distributions from answers.
Tables are preferred where available. Otherwise the extraction process looks for fractions and descriptions of remainder allocation. Quality flags record problems such as unsupported heirs, missing information, ambiguous relationships, and possible scaling.
The construction process yields 887 successful records and 12 failed or partial records. In the primary evaluation, 883 cases receive successful judgments. GPT-5 labels 802 as matches, corresponding to 90.83%. It labels 35 mismatches, 20 partial matches, and 26 unclear cases.
An alternative extraction-and-judging setup produces 747 matches among 884 judged cases, reported as 84.50%, with mean confidence 0.9539. This is useful practical evidence, but the variation also shows that the measurement depends on how source answers become structured references and how comparison is judged.
SQL execution accuracy
The SQL benchmark contains an analytical/retrieval subset of 62 questions and a counting subset of 74. Questions come from usage logs and are manually curated. GPT-5 supplies the reference SQL.
The evaluator executes both predicted and reference queries on the same database. Counts require exact numerical agreement. Returned tuples must match, with ordering enforced where the query requires it and set comparison used otherwise.
The specialized translator obtains 100.00 on analytical/retrieval questions under every reported demonstration setting. The Fanar comparison improves from 62.90 without examples to 80.65 with 1 example and 95.16 with 5 examples.
Counting remains more difficult:
Counting-query execution accuracy on the 74-question SQL subset
Retrieved demonstrations improve both systems, while the specialized translator leads in every setting.
The numbers
| System or setting | accuracy % |
|---|---|
| Fanar, 0 examples | 51.35 |
| Specialized NL2SQL, 0 examples (this paper) | 77.03 |
| Fanar, 1 example | 79.73 |
| Specialized NL2SQL, 1 example | 89.19 |
| Fanar, 5 examples | 83.78 |
| Specialized NL2SQL, 5 examples | 94.59 |
These results establish performance on bounded, domain-specific database questions. They do not establish general SQL competence or correctness on arbitrary unseen schemas.
Deployment evidence
The service’s reported ≈1.9M uses demonstrate deployment at meaningful scale. The feedback collection contains 6,441 rated queries, with likes on 77.4%.
The paper does not describe a random sampling procedure for those ratings or independently verify their factual correctness. Satisfaction can reflect clarity, convenience, or agreement with expectations as well as accuracy. The usage evidence is therefore complementary to the benchmarks, not a replacement for them.
What the ablations show
The paper does not report a main-system ablation that independently removes routing, calculators, citation normalization, or verification.
Its strongest controlled component comparison concerns SQL translation. The authors vary the number of retrieved demonstrations while evaluating the same task subsets. That experiment shows how the specialized translator and Fanar respond to additional examples.
On analytical and retrieval questions, the specialized translator already reaches the reported ceiling without demonstrations. The comparison system benefits substantially from examples. This suggests that, within this small domain, specialization has internalized operations that the general comparison still accesses more effectively through demonstrations.
Counting shows both specialization and contextual examples contributing. The specialized component remains stronger in every setting, but its best reported counting result still contains errors. As a result, the experiment supports a specific design choice—domain adaptation combined with retrieved examples—without proving that generated SQL can be trusted without validation.
The routing comparison is informative but does not isolate fallback value. Hybrid routing is compared with zero-shot alternatives, yet the paper does not report its primary classifier alone, fallback alone, or performance divided by fallback activation. The observed accuracy therefore cannot establish how much the second tier contributes.
The inheritance evaluation offers a different kind of analysis. Two extraction-and-judgment setups produce different match rates. That is evidence about measurement sensitivity and practical calculator validity, rather than an ablation of inheritance rules. It motivates inspection of disagreements but does not identify a single failed rule family.
Finally, the main benchmark pattern suggests where the architecture succeeds and struggles. Open-ended answering benefits from the complete evidence-enabled service, while QIAS exposes a weakness somewhere in the inheritance-answering chain. The authors’ component explanations are reasonable architectural hypotheses. Demonstrating their causal contribution would require matched comparisons that alter one mechanism while preserving the other conditions.
Limitations
Limits acknowledged by the authors
The authors explicitly restrict the system’s role. It supports access to Islamic knowledge but does not replace qualified scholarly authority or provide binding fatwas. This is closely connected to its technical dependence on source coverage, interpretation, and user circumstances.
Retrieval can only supply material present in the indexed collections. Its quality also depends on ranking and source metadata. A fluent synthesis may compress distinctions among legal schools or omit a condition that changes the practical answer.
Routing is another acknowledged weakness. A calculation request can be sent to a prose-oriented legal path, or a question can reach a specialist that is not the best fit. The reported routing accuracy confirms that this is an active concern instead of a merely hypothetical possibility.
The calculators have bounded coverage. Inheritance depends on correctly specified heirs, relevant impediments, and the supported jurisprudential policies. Zakat depends on asset categories, eligible debts, prices, and holding assumptions. Calendar and prayer outputs depend on location, selected conventions, and local practice.
The authors also acknowledge limits of automated evaluation. A judge can miss context, nuance, or a legitimate scholarly difference. This matters especially when one reference answer is used to assess a question whose acceptable response may depend on assumptions.
Their future-work priorities include broader coverage of legal schools, more robust routing, and stronger Hadith quotation validation. Those priorities should not be read as capabilities already demonstrated by the current system.
Limits visible in the experimental design
The comparison with standalone baselines changes several factors together. Fanar-Sadiq receives retrieval and tools; the baselines do not. This is a legitimate application comparison, but it does not determine whether routing, external evidence, specialist prompting, or verification is the principal source of improvement.
The main results lack a matched fixed-RAG baseline using the same underlying answerer, source collection, and retrieval configuration. That omission limits the strongest architectural claim. The study demonstrates a capable tool-routed service, but the benchmark table alone cannot quantify the advantage of intent-aware orchestration over an equally resourced fixed retrieval pipeline.
Citation tracking also has a narrower evidential meaning than proof of support. Extracting a citation tag and linking it to a retrieved record establishes a reference relationship. The paper does not report a separate claim-level entailment score showing that every cited passage justifies the attached statement.
Likewise, “deterministic” describes execution under fixed inputs and policies. It does not establish that parameter extraction is correct, that the policy covers the user’s situation, or that the implementation contains every relevant exception. A deterministic mistake remains repeatable.
The SQL evaluation measures agreement with reference-query results on a small domain database. It usefully avoids rejecting equivalent query strings, but the references themselves are generated with GPT-5. The paper does not describe an independent expert verification of every reference query.
Template-generated training also leaves an important generalization question. The paper tests realistic logged requests, which is valuable, but it does not detail a split designed to exclude shared template structures or closely related query families. Its results therefore establish bounded task performance without fully characterizing structural novelty.
Reporting gaps and unresolved interpretations
Some implementation descriptions require caution. The general architecture characterizes utility handling broadly as deterministic, while greeting generation and supplication selection involve language components. Readers should assess the actual execution path rather than infer that every tool is symbolic.
The corpus sizes of 50,000+ and 500K+ refer to different retrieval descriptions, but their relationship is not fully documented. The routing and binary-classifier dataset discrepancies also remain unexplained. These are reporting limits, not grounds for inventing a corrected figure.
The paper claims effectiveness and efficiency, and it describes caching, bounded contexts, and component timing. However, the reported evaluation does not provide a comparable latency or cost table establishing an efficiency advantage over the baselines. Deployment scale shows operational use, not a controlled speed comparison.
Abstention-aware evaluation is described, yet the main results emphasize accuracy. Without a detailed breakdown of attempts, abstentions, and errors across systems, readers cannot fully compare how each balances answer coverage against incorrect assertions.
The proposed explanation for QIAS performance also remains unresolved. The system may fail during family extraction, policy choice, routing, calculation, or option selection. The paper highlights the last of these, but does not provide a stage-by-stage error accounting that establishes its prevalence.
What came after
The subsequent citation record includes work on a broader Arabic AI stack, an inheritance benchmark, and trustworthy Islamic assistance. The available descriptions establish that these works cite Fanar-Sadiq, but do not explain their experiments or specify which architectural elements they adopt. Their relationship should therefore be described at that evidential level.
Fanar 2.0: Arabic Generative AI Stack places the citation within a broader Arabic generative-AI context. Fanar-Sadiq itself is presented as a specialized service within the Fanar platform, so the citation connects a domain-specific architecture with a wider stack discussion. The available record does not establish whether that later work changes the routing design, reuses its calculators, or reports new results for the service.
MAWARITH: A Dataset and Benchmark for Legal Inheritance Reasoning with LLMs concerns the area where Fanar-Sadiq’s evaluation exposes a particularly important distinction: computing an inheritance distribution and answering a benchmark item are not necessarily the same task. Its title establishes a focus on inheritance data and assessment. The citation record does not reveal whether it directly evaluates Fanar-Sadiq, adopts its extraction procedure, or investigates the option-alignment explanation.
Islamic Large Language Models: From Knowledge Acquisition to Trustworthy and Hallucination-Resistant AI addresses the broader reliability problem surrounding religious assistance. Fanar-Sadiq contributes a concrete architectural response to that problem through task-specific execution, source records, and calculation. The available description does not specify whether the later work reproduces those components, compares them experimentally, or cites them as part of a wider discussion.
These citations identify continuing interest in the paper’s application setting and reliability concerns. They do not yet establish a documented chain of measured improvements built on its architecture. The technical questions left open by Fanar-Sadiq remain concrete: how to attribute gains to individual components, how to verify source support beyond citation presence, how to preserve legal alternatives without oversimplification, and how to connect exact internal results to the answer format an assessment or user actually requires.
Cite
Cite as Ummar Abbas, Mourad Ouzzani, Mohamed Y. Eltabakh, Omar Sinan, Gagan Bhatia, Hamdy Mubarak, Majd Hawasly, Mohammed Qusay Hashim, Kareem Mohamed Darwish and Firoj Alam. 2026. Fanar-Sadiq: A Multi-Agent Architecture for Grounded Islamic QA. Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 6: Industry Track).
@inproceedings{abbas2026fanar,
title = {{Fanar-Sadiq: A Multi-Agent Architecture for Grounded Islamic QA}},
author = {Ummar Abbas, Mourad Ouzzani, Mohamed Y. Eltabakh, Omar Sinan, Gagan Bhatia, Hamdy Mubarak, Majd Hawasly, Mohammed Qusay Hashim, Kareem Mohamed Darwish and Firoj Alam},
booktitle = {Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 6: Industry Track)},
year = {2026},
doi = {10.18653/v1/2026.acl-industry.109},
url = {https://doi.org/10.18653/v1/2026.acl-industry.109}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/abbas-2026-fanar-sadiq-multi-agent-architecture/