About TorahAI
TorahAI answers questions about Jewish texts from the texts themselves. It is an open alpha: a test version, open to anyone, that can be wrong.
How an answer is made
- Your question is searched in a library of about 470,000 passages: the Tanakh, the Mishnah, the Babylonian Talmud, the Rambam's Mishneh Torah and the Shulchan Arukh, with their main commentaries, in Hebrew or Aramaic and, where one exists, in English.
- An AI model reads the passages found and judges which ones bear on the question.
- Another AI model writes the answer from those passages only, and gives the exact words it relies on for every statement.
- Before anything is shown, every quotation is checked against the text in the library. A paragraph whose quotation cannot be found there is not shown.
The check proves that the quoted words are really in the source. It does not prove that the source means what the sentence around it says, so read the sources yourself; each one opens on Sefaria. English quotations are translations, and some translations add the translator's explanations between the words of the text; the Hebrew or Aramaic is the text itself.
What it does not do
TorahAI sets out what the sources say and where they disagree. It does not rule, and it is not a rabbi. For a practical question, ask your rav. When nothing in the library answers a question closely enough to cite, it says so instead of guessing. The library holds the classic texts, from the Tanakh to the Shulchan Arukh and its main commentaries. It has no responsa and no later or present-day authorities, so what the sources say can differ from the practice your community follows.
Privacy: what is stored
- Your questions and the answers are saved on our server, with the passages that were found. We need them to check answers, to build shared links and to improve the tool. They are not linked to your name: there are no accounts. They are deleted after 12 months, unless a shared link still shows them. If our checks remove part of an answer before it is shown, we keep that removed part and its question longer, to review and improve the checks; we delete them once they have been reviewed. Please do not type names or other personal details into a question.
- The AI services: to answer, your question is sent with the passages found to Anthropic, whose Claude models judge the passages and write the answer (for a follow-up, also your earlier questions in the conversation and the start of their answers), and the question as rewritten for the search to Google (Gemini), which turns it into numbers for the search. Under the terms of their paid services they do not use it to train their models, and they keep it only for a limited time, for example to detect abuse.
- Repeated questions: if someone else has asked exactly the same question in the last 30 days, you may be shown the answer they were given, marked as an earlier answer and with its quotations checked again. Nothing about who asked it is shown. You can always ask for a new answer.
- A random browser id (a cookie that expires after 30 days) and a scrambled form of your network address (a salted hash, never the address itself) are kept with a record of each request, to apply the daily limits and the spending cap. During those 30 days the record could be matched to a question by its time; after 30 days the browser id and the network hash are removed from it, and only the cost stays.
- Your list of past questions is kept in your browser only; clearing the site's data removes it.
- Shared links are unlisted and not shown to search engines, but anyone who has a link can read it. Only the person who made a link can stop it. A shared answer is kept as long as its link works.
- There are no ads and no analytics or tracking scripts. Fonts are served from this site. The texts open on sefaria.org when you click a source.
- A bot check from Cloudflare (Turnstile) runs on the question page, to tell people from automated scripts. Your browser connects to Cloudflare for it, so Cloudflare sees your network address and some details of your browser. It does not see your questions.
- Connector calls (Claude using TorahAI) are logged with the time, the tool, how long it took, whether it failed, the number of results and how close the best search match was, and counts of checked quotations; the question, draft and quotations are not stored, and no browser id or network hash is kept. The search words are sent to Google (Gemini) as for the site. When Claude connects from claude.ai or the Claude apps, Vercel's access logs (below) see Anthropic's servers, not your address; Claude Code connects from your own computer, so they see your address as for the site.
- The site runs on Vercel and its database on Neon, both in the United States. Vercel keeps its own access logs (with network addresses) for a short time.
- Backups: Neon keeps 7 days of the database's history, and every night an encrypted copy of the saved questions, answers and request records is made and kept for 7 days as a file on GitHub (also in the United States). Something deleted from the database stays in these backups until they expire.
Sources and licences
All texts come from Sefaria, through its public export. Each text has its own licence, shown on its source card next to the name of the edition or translation:
- Public Domain and CC0: free to use.
- CC-BY: free to use with credit to the edition named on the card (licence).
- CC-BY-SA: free to use with credit, and adaptations must be shared alike (licence).
- CC-BY-NC: free to use with credit for non-commercial purposes (licence); this includes some English translations, such as the William Davidson Talmud and the Touger translation of the Mishneh Torah.
- Licence not stated by Sefaria: Sefaria gives no licence for these editions (often editions it compiled from several sources).
The full list of editions in the library, with the licence of each, is on the editions and licences page.
TorahAI is a non-commercial project. The quotations shown are short and always credited to their edition.
The “Related by topic” lists under an answer come from Sefaria's topics: the topics, and which passages each one gathers, are Sefaria's work, partly drawn from collections such as the Aspaklaria index. Each topic name opens its page on Sefaria.
Use TorahAI inside Claude
If you use Claude, you can connect it to TorahAI: Claude then searches this library, reads the passages and checks its quotations against the texts before it answers. The answer is written on your own Claude plan; there is nothing to sign up for here.
- Claude on the web or the desktop app (Claude Cowork): in Settings, under Connectors, add a custom connector named TorahAI with the URL
https://enzee.dev/api/mcp. If it asks how to sign in, choose No sign-in: TorahAI has no accounts. - Claude Code:
/plugin marketplace add natanzaman/torahai-plugin, then/plugin install torahai@torahai. The plugin also sends Claude back once to check its reply with TorahAI when the reply used TorahAI and its exact text was not checked or did not pass.
Claude does not always reach for a connector by itself. To have it search TorahAI first, start your question with Use TorahAI:, for example Use TorahAI: until when may the evening Shema be recited? In a Claude Cowork project, to have Claude use it without being asked, add this line to the project's instructions: For any question about Jewish law or Jewish texts, use the TorahAI connector.
Everyone using the connector shares one daily limit; when it is reached, Claude is told to try again tomorrow. An answer given in Claude is Claude's own: TorahAI checks the quotations Claude sends it and does not keep the answer.
Contact
To report a problem, an answer that is wrong or offensive, or a shared page that should be taken down, write to contact@enzee.dev. Include the link if there is one.