How Shalem works under the hood: a transparent breakdown

There is a reasonable suspicion users have about AI-driven religious or spiritual products. The suspicion is that the product is mostly a generic LLM in a costume — that the "Jewish wisdom" is whatever a model happened to confabulate when asked for Jewish wisdom, dressed up with a serif font and a Hebrew letter as a logo.

So we want to be specific about what Shalem actually does, because the architecture is built around real source retrieval and verification rather than open-ended generation.

This is a transparent breakdown of how Shalem works. It is technical in places. It is also editorial — most of the consequential choices are about what counts as a real source text, what counts as a defensible translation, and where the engine is allowed to generate versus where it must cite directly.

What the engine does

A user talks to Shalem by voice or text. They might ask a direct question ("Can I use the same pot for milk after meat if I wash it?" or "What is this week's parsha about?"), share what's happening ("I'm anxious about a job interview tomorrow" or "my grandmother died last week"), set a goal for a week, or ask for a verse for their moment.

Shalem reads the message and replies in the right form:

  1. Ask anything about Jewish life. Shalem retrieves relevant passages from a library of more than 50,000 passages across 51 classic works — including the Hebrew Bible (all 24 books, including all 150 Tehillim), Pirkei Avot, the Talmud's wisdom and teachings (Ein Yaakov), the Midrash Pirkei DeRabbi Eliezer, the great Musar works (Mesillat Yesharim, Orchot Tzadikim, Sha'arei Teshuvah), the whole Mishnah, and the codes of Jewish law (Mishneh Torah, Shulchan Arukh with Mishnah Berurah, Kitzur Shulchan Arukh, Sefer HaChinukh and Chafetz Chaim) — all in openly licensed English translations. It gives a direct answer that quotes the sources with exact references. When authorities disagree, it shows each view. For a ruling on your own situation, it points you to your rabbi.
  2. Share what's happening. When you share a feeling or moment, your input is converted to a numerical embedding and matched against a curated collection of 1,278 bits of Torah wisdom from Torah, Talmud, Midrash and Hasidic tradition. Shalem brings the matched bit of Torah wisdom, writes a personal reflection, and gives all three practices at once: Echo, Naming and Walking.
  3. Work on something for a week (Path). When you set an intention in your own words, Shalem builds a 7-day Path from the 1,278 curated bits of Torah wisdom: one bit of Torah wisdom, a reflection, and three practices each day, marked with a Hebrew letter from א to ז.
  4. A verse for this moment. Shalem chooses a verse for what you're going through and explains it in plain words.

Across all four forms, replies are written by AI from those sources and checked against them before the user sees them.

Hard rules in the editorial layer

This is the part that matters more than the retrieval pipeline:

  • Every cited text comes from the verified source library. Citations are checked against the library of 50,000+ passages and 1,278 curated bits of Torah wisdom before the reply is shown. If a passage cites Talmud or Shulchan Arukh, the tractate, folio, or section reference is real and verifiable.
  • No invented rabbinic authorities. If a teaching is attributed to a named commentator or authority, the attribution comes from the underlying source text.
  • Openly licensed English translations. Source texts come from openly licensed English translations rather than unverified on-the-fly translation of long passages.
  • Showing disagreements and pointing personal rulings to your rabbi. When halachic authorities disagree (for example, Ashkenazi and Sephardi practice, or Rambam and the Rema), Shalem lays out each view with its sources. For a personal ruling on your own situation, Shalem points you to your rabbi.
  • Safety boundaries. If something you share sounds serious, Shalem will encourage you to reach out to someone who can help. Shalem is a companion, not a crisis service. If you are in danger, call your local emergency number.
  • User-controlled memory and privacy. Shalem remembers what you're carrying so you don't start from zero each day. What you share is private and never sold. You choose what Shalem remembers, and you can switch memory off or delete your account any time.

The two layers of sources: 50,000+ passages and 1,278 bits of Torah wisdom

Shalem draws on two connected source collections:

  1. The full text library (50,000+ passages from 51 classic works):

- The Hebrew Bible (Torah, Nevi'im, Ketuvim), including all 150 Tehillim - Pirkei Avot - The Talmud's wisdom and teachings, as collected in Ein Yaakov - Midrash: Pirkei DeRabbi Eliezer - Musar: Mesillat Yesharim, Orchot Tzadikim and Sha'arei Teshuvah

  1. The curated collection of Torah wisdom (1,278 pieces) behind reflections and Paths:

- All 150 Tehillim, indexed by emotional register (lament, gratitude, supplication, trust, wisdom). - Selected aggadic Talmud, especially narratives from Berakhot, Sanhedrin, Sotah, Bava Metzia, Avot (Pirkei Avot), and Ta'anit. - Narrative Midrash, favoring parabolic and lived-experience material. - Hasidic wisdom and teachings from Breslov, Chabad, Pshischa, and related traditions focusing on the interior life.

Selection criteria across the library emphasize emotional and practical applicability, accessibility without prior Hebrew or yeshiva background, openly licensed English translations, and cross-denominational respect.

What this means for users

When you ask Shalem a question or share what's happening, the cited text is real. You can verify the reference and read the surrounding context.

When authorities disagree on a question of Jewish law or custom, you see the different views clearly rather than a flattened summary. And because you control what Shalem remembers, you can build an ongoing conversation across days or switch memory off whenever you prefer.

A request

If you have used Shalem and a response has either worked unusually well or missed the mark, we want to hear from you. The system improves through real feedback.

Email support@shalemapp.com with the question or moment you shared and the response you got, and tell us what landed or didn't.


This post is published by Shalem — Jewish Wisdom Chat — talk it through with Torah.