All projectsAll 37 tractates read

מַעֲשֶׂה בְּ…

Ma’aseh b’… “It once happened that…”: the Talmud’s way of saying story time.

Finding the stories in the Talmud

The Babylonian Talmud is mostly legal argument, but stories are scattered through it: rabbis travelling, quarrelling, getting things wrong, being kind. No index tells you where they are. This project teaches an AI to find them, and checks its work against a scholar who has spent his career on exactly these stories.

Scroll, and watch two stories surface
Ketubot 67bכתובות סז:
תָּנוּ רַבָּנַן: ״דֵּי מַחְסוֹרוֹ״ — אַתָּה מְצֻוֶּוה עָלָיו לְפַרְנְסוֹ, וְאִי אַתָּה מְצֻוֶּוה עָלָיו לְעַשְּׁרוֹ. ״אֲשֶׁר יֶחְסַר לוֹ״ — אֲפִילּוּ סוּס לִרְכּוֹב עָלָיו וְעֶבֶד לָרוּץ לְפָנָיו. אָמְרוּ עָלָיו עַל הִלֵּל הַזָּקֵן שֶׁלָּקַח לְעָנִי בֶּן טוֹבִים אֶחָד סוּס לִרְכּוֹב עָלָיו וְעֶבֶד לָרוּץ לְפָנָיו. פַּעַם אַחַת לֹא מָצָא עֶבֶד לָרוּץ לְפָנָיו, וְרָץ לְפָנָיו שְׁלֹשָׁה מִילִין. תָּנוּ רַבָּנַן: מַעֲשֶׂה בְּאַנְשֵׁי גָּלִיל הָעֶלְיוֹן שֶׁלָּקְחוּ לְעָנִי בֶּן טוֹבִים אֶחָד מִצִּיפּוֹרִי לִיטְרָא בָּשָׂר בְּכׇל יוֹם. לִיטְרָא בָּשָׂר מַאי רְבוּתָא? אָמַר רַב הוּנָא: לִיטְרָא בָּשָׂר מִשֶּׁל עוֹפוֹת. וְאִיבָּעֵית אֵימָא בְּלִיטְרָא, בָּשָׂר מַמָּשׁ.
A real page. Charity law all around, and two stories hiding in it, lit up.Text: Sefaria, William Davidson edition (CC BY-NC)

מאי קא משמע לן

Mai ka mashma lan · so what's the point?

What this is

A story in the Talmud doesn’t announce itself. It can be two sentences long or run across several pages. It often starts in the middle of a legal point. The same Hebrew words turn up in a ruling and in a story. Scholars learn to spot them over years of reading.

The goal is a complete catalogue of every story in every tractate, free for anyone to read in Hebrew and English side by side.

5,349

pages read: every tractate, all 37

  • Stories found with high confidence~1,800
  • More found with lower confidence, about 4 in 5 of them stories~1,200
  • Bible retellings, found and set aside102

היכי דמי

Heikhi dami · what does that look like?

How it works

  1. א

    Skim for events

    Every sentence on every page is labelled: is something happening here, or is it argument? Pages with no events at all are set aside, which saves most of the work.

  2. ב

    Ask which passages are stories

    The AI reads each remaining page and marks the passages that are stories. It works from a written rulebook built from the expert's own rulings.

  3. ג

    Look again, right next door

    The Talmud often tells the same kind of story two or three times in a row with different people. The AI tended to find one and stop. So a second pass looks at the passage beside every story it found and asks: is there another one here?

  4. ד

    Set the edges

    Each story gets a clear start and end, so it doesn't swallow the legal discussion around it.

  5. ה

    Join what the page split

    Page breaks in the Talmud are arbitrary. Stories that run across one are joined back together.

  6. ו

    Read it twiceNew

    The AI doesn't give exactly the same answer twice, so every tractate is read twice. A passage called a story both times is a high-confidence story. The rest go to the AI judges and the expert to sort.

An example of step ג

Found first

The people of Upper Galilee buy a poor man of good family meat, every day.

Missed, right beside it. Now caught.

Hillel buys a poor man who had come down in the world a horse, and a servant to run before him. One day there is no servant, so Hillel runs ahead of him himself, for three mil.

פַּעַם אַחַת לֹא מָצָא עֶבֶד לָרוּץ לְפָנָיו, וְרָץ לְפָנָיו שְׁלֹשָׁה מִילִין.

Ketubot 67b. Both are lit on the page at the top.

מנא הני מילי

Mena hani milei · how do we know?

How well it works

As of November 2026

about

97in 100

of the stories on the expert's own lists are found

more than

9in 10

of the passages it calls a story really are one

about

4in 5

of its story start and end points land exactly where the expert put them

The second look is working

On Yevamot, adding step ג raised the share of stories found:

Before
89%
With the second look
~93%
80%100%
How we measured. We’d love to round these up. We didn’t.+

The expert, Prof. Jeffrey Rubenstein, wrote lists of the stories in five tractates in 2005, twenty years before this tool existed. So the first number can’t be flattered by anything we did. It comes from the two lists we never tuned the tool on, Eruvin and Yevamot: of his 154 stories there, the tool finds 149. The second comes from his reviews of passages the tool proposed, and from a sample of what it found across the whole Talmud. The third compares start and end points with those same 2005 lists. These are not yet as good as we want, and the tool isn’t perfectly repeatable: two identical runs can differ by a story or two in a hundred. So we compare runs in pairs before believing a change.

הלכה כמותו

Halakhah kemoto · the ruling follows him

How an expert keeps it honest

Prof. Jeffrey Rubenstein of New York University, one of the world’s leading scholars of Talmudic stories, reviews what the tool finds. He reads each passage in Hebrew and English and answers a few short questions. Is this a story? Does it start and end in the right place? Is it one story or two?

His rulings become a written rulebook, in his own words. When he decides a hard case, the decision is written down and the AI works from it from then on.

From the rulebook

A bare report of something isn’t a story. But:

“A man stole another man’s cow and sold it. Rava ruled… In this case you may have a story.”

Still working on it: two AIs, one expert

Two different AI models

judge every passage against his rulebook

Where they disagree

plus a random sample, to keep them honest

The expert decides

a few passages, not the whole Talmud

We have run this test twice, and the two judges don’t yet agree with him closely enough to decide on their own. Each run has still taught us something: the first exposed a rule missing from our rulebook. And a Claude grader, checked against 300 of his rulings, was right 32 times out of 33 when it said “story.” It is already helping sort the lower-confidence passages. Exactly how the AIs and the expert share the work is still being worked out.

“The AI was confusing attribution with characters. When it sees ‘Rabbi X said that Rabbi Y said…’, it thought there was a story with characters, but it’s just legal attribution.”
Prof. Rubenstein, in his first review. That one insight removed 53 false alarms.

תיובתא

Teyuvta · the Talmud's word for “refuted.” We've earned a few.

What we got wrong along the way

Humbled

At first, half its picks were wrong.

The first version, in January 2026, flagged legal citations (“Rabbi X says in the name of Rabbi Y”) as stories. The expert's first review showed us why. Each review since has made it better.

Wrong question

We were measuring the wrong thing.

96% agreement

For months the headline number was “the expert agreed 96% of the time.” That only tells you how good the tool's picks are, not how many stories it missed. The expert's 2005 lists, written long before the tool, let us measure the misses. It's a humbler number, and the honest one.

Too generous

Our test was too generous.

The way we matched the tool's stories to the expert's gave credit for a nearby passage, not the right one. When we tightened it, two scores fell by about 7 points. The tool hadn't changed; the scores were just finally accurate.

Retracted

We took back our own best result.

We once credited the skimming step with the biggest improvement in the whole project. Re-checking it, we found the experiment had been set up wrong. We withdrew the claim.

Noisy

The same run twice doesn't give the same answer.

Two identical runs on Yevamot disagreed on 3 of 102 stories. A one-story change between two runs means nothing, so now we always compare in pairs.

Off by one

We counted from zero. He counted from one.

We sent the expert passage numbers that started at 0, with links to Sefaria, which starts at 1. So when he corrected a story on Ketubot 106a, we moved it one passage too far. Now every message says which number comes first.

Fooled twice

Two readings agreeing isn't proof.

We trusted a story more when both readings found it. But for stories caught by the second look, both readings use the same prompt and make the same mistake together. Re-reading them one by one, we found dozens that were not stories.

חברותא

Ḥavruta · study partners

The team

Scholarship & validation

Jeffrey L. Rubenstein, Ph.D.

Skirball Professor of Talmud and Rabbinic Literature, New York University

  • Talmudic Stories: Narrative Art, Composition, and Culture (1999)
  • Rabbinic Stories (2002)
  • The Culture of the Babylonian Talmud (2003)
  • Stories of the Babylonian Talmud (2010)

Technical development

Simon B.

Not a software engineer, but plays one on TV, with Claude Code as co-star.

Built with

  • Sefaria: the free library of Jewish texts, Hebrew and English aligned sentence by sentence
  • Google Gemini: the AI that reads the pages
  • Anthropic Claude: the second AI judge, the grader, and the development assistant

תיקו

Teiku: “let it stand.” The Talmud’s verdict when a question stays open. This one is still in progress: next is sorting the lower-confidence passages with the expert, and settling with him exactly where a story ends.