Made this in a free evening. Index an permissive license translation of the Bible (WEB) into a RAG database to allow returning passages of similar semantic meaning. Lots of fun. For example, "more money more problems" returns Ecclesiastes 5:9-13 which, I'll just say, is spot on..
"Moreover the profit of the earth is for all. The king profits from the field. He who loves silver shall not be satisfied with silver, nor he who loves abundance, with increase. This also is vanity. When goods increase, those who eat them are increased; and what advantage is there to its owner, except to feast on them with his eyes? The sleep of a laboring man is sweet, whether he eats little or much; but the abundance of the rich will not allow him to sleep. There is a grievous evil which I have seen under the sun: wealth kept by its owner to his harm."
Anyway - thought it was fun enough to share. It's slow and I vibe coded it so I haven't sorted out how to make it not take 15 seconds to vector search against the full 4GB index.
Slow, but interesting. I used the query "government" and got back passages in Romans 13 (as I expected), but also passages in Daniel and Ezra describing decrees by government officials, which made sense.
>Jacob kissed Rachel, and lifted up his voice, and wept. Jacob told Rachel that he was her father’s relative, and that he was Rebekah’s son. She ran and told her father. When Laban heard the news of Jacob, his sister’s son, he ran to meet Jacob, and embraced him, and kissed him, and brought him to his house. Jacob told Laban all these things. Laban said to him, “Surely you are my bone and my flesh.” Jacob stayed with him for a month. Laban said to Jacob, “Because you are my relative, should you therefore serve me for nothing? Tell me, what will your wages be?”
This passage lists a lot of names repeatedly, and Jacob is in the genealogy of Jesus. Genealogies also list a lot of names. So perhaps somehow it’s jumping from Jesus to Jacob?
Eccl7:13 "Consider the work of God: for who can make that straight, which he hath made crooked?"
and it came back with:
Ecclesiastes 7:12-15
For wisdom is a defense, even as money is a defense; but the excellency of knowledge is that wisdom preserves the life of him who has it. Consider the work of God, for who can make that straight which he has made crooked? In the day of prosperity be joyful, and in the day of adversity consider; yes, God has made the one side by side with the other, to the end that man should not find out anything after him. All this I have seen in my days of vanity: there is a righteous man who perishes in his righteousness, and there is a wicked man who lives long in his evildoing.
My search returned what might as well have been a random assortment of bible verses. It made me wonder what Terry Davis would have thought of modern AI. Would it be the natural evolution of his shortcut for random bible verses that he built into TempleOS, or would it be the opposite and a voice of evil?
Fun exercise. Type in pokemon or japanese. You can really see the nearest neighbor text in embedding space. Pokemon gives passafes referencing animals and japanese passages referencing foreigners
yes, this is quite fun - very distant in time and geography, but converging in semantic space.
天照大 (Amaterasu)
> He brought me into the inner court of the LORD’s house; and I saw at the door of the LORD’s temple, between the porch and the altar, there were about twenty-five men with their backs toward the LORD’s temple and their faces toward the east. They were worshiping the sun toward the east.
神武天皇 (Emperor Jimmu)
> As he was worshiping in the house of Nisroch his god, Adrammelech and Sharezer his sons struck him with the sword; and they escaped into the land of Ararat. Esar Haddon his son reigned in his place.
Searched for "sexual exploration". One of the results i got returned was from corinthians and read:
The wife doesn’t have authority over her own body, but the husband does. Likewise also the husband doesn’t have authority over his own body, but the wife does.
I'm so glad this religion of peace sees consent as profoundly unimportant
You could make the case I've just been indoctrinated in this stuff (genuine believer) but I take that to be a profoundly progressive verse given the context Paul is writing. Notice the symmetry.
You have to keep reinterpreting it until it aligns with whatever the masses currently consider to be true. This has been going on forever. The current hot reinterpretation is to say we’ve been wrong in what the scriptures teach about same-sex relationships and aaacktshually.. it’s fine.
"Moreover the profit of the earth is for all. The king profits from the field. He who loves silver shall not be satisfied with silver, nor he who loves abundance, with increase. This also is vanity. When goods increase, those who eat them are increased; and what advantage is there to its owner, except to feast on them with his eyes? The sleep of a laboring man is sweet, whether he eats little or much; but the abundance of the rich will not allow him to sleep. There is a grievous evil which I have seen under the sun: wealth kept by its owner to his harm."
Anyway - thought it was fun enough to share. It's slow and I vibe coded it so I haven't sorted out how to make it not take 15 seconds to vector search against the full 4GB index.
For the solution, read Henry George!
<https://en.wikipedia.org/wiki/Retrieval-augmented_generation>
https://en.wikipedia.org/wiki/Bible
(To put it in Hacker terms, where I suspect RAG could be a more familiar term than Bible)
>Jacob kissed Rachel, and lifted up his voice, and wept. Jacob told Rachel that he was her father’s relative, and that he was Rebekah’s son. She ran and told her father. When Laban heard the news of Jacob, his sister’s son, he ran to meet Jacob, and embraced him, and kissed him, and brought him to his house. Jacob told Laban all these things. Laban said to him, “Surely you are my bone and my flesh.” Jacob stayed with him for a month. Laban said to Jacob, “Because you are my relative, should you therefore serve me for nothing? Tell me, what will your wages be?”
This passage lists a lot of names repeatedly, and Jacob is in the genealogy of Jesus. Genealogies also list a lot of names. So perhaps somehow it’s jumping from Jesus to Jacob?
Eccl7:13 "Consider the work of God: for who can make that straight, which he hath made crooked?"
and it came back with:
Ecclesiastes 7:12-15 For wisdom is a defense, even as money is a defense; but the excellency of knowledge is that wisdom preserves the life of him who has it. Consider the work of God, for who can make that straight which he has made crooked? In the day of prosperity be joyful, and in the day of adversity consider; yes, God has made the one side by side with the other, to the end that man should not find out anything after him. All this I have seen in my days of vanity: there is a righteous man who perishes in his righteousness, and there is a wicked man who lives long in his evildoing.
Here is the link to the demo: https://safi.selfalignmentframework.com/
Choose the Bible Scholar agent and use deepseek or Gemini 3.5 for the LLM.
天照大 (Amaterasu)
> He brought me into the inner court of the LORD’s house; and I saw at the door of the LORD’s temple, between the porch and the altar, there were about twenty-five men with their backs toward the LORD’s temple and their faces toward the east. They were worshiping the sun toward the east.
神武天皇 (Emperor Jimmu)
> As he was worshiping in the house of Nisroch his god, Adrammelech and Sharezer his sons struck him with the sword; and they escaped into the land of Ararat. Esar Haddon his son reigned in his place.
The wife doesn’t have authority over her own body, but the husband does. Likewise also the husband doesn’t have authority over his own body, but the wife does.
I'm so glad this religion of peace sees consent as profoundly unimportant