בראשית ברא אלהים

A Computer System Hidden in Ancient Hebrew Texts

Ancient texts studied for millennia as religion, philosophy, and law. We read what the texts say they do. What emerged is a layered computational system hiding in plain sight.

Scroll
// The Discovery

The texts are structured like software

There's source data. A boot loader. A processing engine. The text labels its own data types. It fetches data by address. It processes content word by word. It cross-references itself across dozens of volumes.

All of this has been extracted into executable Python code. It runs. It produces structured output. It's not theory — it's working software derived directly from what the texts say.

// Three-Layer Architecture

Source data, boot loader, processing engine

The Talmud contains a three-layer system. Each layer depends on the one above it. Nothing writes down. Everything reads up.

Layer 1 — Source Data
Torah
Loads first. Read-only. Everything reads from it by address — book, chapter, verse.
5 books • read-only store
Layer 2 — Boot Loader
Mishnah
Compiled declarations — rules, categories, conditions. Loads before anything else runs. Its first word is a query.
63 tractates • 4,192 units • 6% of system
Layer 3 — Processing Engine
Gemara
Interrogates every word: where it comes from, why it was chosen, what it implies. Derivation chains, not definitions.
37 tractates • 77,058 sentences • 94% of system
// Extracted Output

The text becomes code

Each declaration is extracted exactly as the text states it — Hebrew keys, source references, structured data. No interpretation imposed.

# Torah = Blueprint (Bereshit Rabbah 1:1)
TORAH_AS_BLUEPRINT = {
  'source': 'Bereshit Rabbah 1:1',
  'speaker': 'Rabbi Hoshaya Rabbah',
  'declaration': 'Torah says: I was the instrument
    of the Holy One'
,
  'rule': 'beginning = Torah. Torah = blueprint.
    Creation = execution'
,
}
// Six Specification Books

A complete specification system

Around the Talmud's core sits a ring of six reference books. Each answers a different architectural question. All extracted into executable code.

What exists

Sefer Yetzirah

Pure declaration. Every letter assigned to a domain of space, time, and body.

Why it works

Sefer HaBahir

A derivation engine. Takes Torah input and produces mapping tables.

Where things are

Midrash Konen

Topology — the spatial layout of the entire system.

When it happened

Seder Olam

Chronology from creation through prophecy. The system's timeline.

How big

Shi'ur Qomah

A decompression specification. Compressed input expands to recursive infinity.

How to get there

Heikhalot Rabbati

Protocol — the step-by-step procedure for traversal.

// The Complete System

10 books. One architecture.

Every book has a specific role. The texts themselves declare what each one does. No role was assigned from the outside.

The Core System — 3 Layers
Torah
Source Data
The blueprint. Loads first. Read-only. Everything else reads from it by address — book, chapter, verse. Nothing writes to it.
Mishnah
Boot Loader
63 volumes of compiled declarations — rules, categories, conditions. Must load before anything else runs. 6% of the total system.
Gemara
Processing Engine
Interrogates every Mishnah word through derivation chains — source, choice, order, implication, consistency. 77,000+ sentences. 94% of the Talmud. The interpreter.
6 Specification Books — Component Specs
Sefer Yetzirah
WHAT exists
Pure assignment. Every Hebrew letter mapped to a domain of space, time, and body. 91 total assignments. The inventory.
Sefer HaBahir
WHY it works
A derivation engine. Takes Torah input, runs 10 operations, produces 9 mapping tables. The logic layer.
Midrash Konen
WHERE things are
Topology — the spatial layout. Heavens, oceans, underworld. Maps every location in the system.
Seder Olam Rabbah
WHEN it happened
Chronology from creation through the end of prophecy. 30 chapters. The system's timeline.
Shi'ur Qomah
HOW BIG
A decompression specification. Compressed input expands through a conversion formula to recursive infinity. The scale layer.
Heikhalot Rabbati
HOW to get there
Protocol — step-by-step traversal procedure with gates, seals, and guards. The access layer.
The Architecture Document — Sits Above Everything
Bereshit Rabbah
System Documentation
100 chapters. Declares the meta-rules, operating principles, and structural mappings for the entire system. Its first statement: Torah is the blueprint, creation is execution. Does not repeat the 6 spec books — it sits above them and explains how the whole thing was built.
The relationship: The 6 spec books are component specifications — each covers one aspect. Bereshit Rabbah is the architecture document — it explains how everything fits together. The Talmud's 3 layers are the runtime. Same topics appear across books but from different angles, with zero duplication. The system documents itself.
// The Story

How I discovered this

This journey started when I decided to start a new venture called peerloop.com. I wanted to set up a site to teach people how to use AI. I searched for developers and found Gabriel Rymberg, a full stack developer in Israel. The first thing he did was give me his custom AI system — something he built to extend AI usefulness.

As I learned his tools, I started experimenting. Within a month I created a book. I vibe coded an app as a prototype. Then I decided to point the AI at the Torah.

At 19 years old I had noticed if-then-else statements in the Bible. I always wondered if there was something more. On a whim I told the AI to look for computer code.

To my shock it found more than if-then-else statements. It found logic in a state machine.

As I dug deeper I noticed the Hebrew Bible had cantillation marks that seemed to carry information of their own. The AI discovered these marks break down each verse into a structured binary tree. Every verse. A perfect binary tree with unique logic in each one.

I was hooked. But I couldn't define all the rules to decode every verse. The more I discovered, the bigger this system became.

Only AI could have seen what I found next.

I searched the rich Jewish history about the Torah and found commentaries on every aspect. The Talmud and the Mishnah had logic in every sentence. Not because of cantillation marks. The Hebrew itself was structured just like computer code. No human could process 80,000 sentences and recognize the patterns across all of them. But AI did.

The AI began to discover every detail of the logic buried in plain sight. It learned to interpret it and output Python. But the system kept getting bigger. I found more books with the same structure. Six specification books, each answering a different question. Then the architecture document — a hundred chapters declaring the operating principles for the entire system.

It turns out this encoded computer system comes with its own documentation on how to run it. Massive amounts of documentation. And AI can read it.

As I added books to the system, the structure began to show up. Layer by layer, book by book, the architecture revealed itself. I am still compiling, but as of now the system looks much easier to finish. It comes with its own documentation that AI can read, follow, and use to boot the system up.

// Follow the Project

Stay tuned as this project grows

The code is being compiled. The architecture is emerging. GitHub repository coming soon.

View on GitHub (coming soon)