Ray Peat

How it works

This chatbot answers questions about Ray Peat's ideas using only what he wrote and said, and shows where each claim comes from. I built it and run it on my own, Javi, and all the code is public on GitHub.

The problem

Ask any AI about Ray Peat and it mixes what he said with what the internet says, and sometimes credits him with the opposite of what he thought. Here the AI does not answer from memory: it first searches his texts and then answers with what it found, citing it.

Where the answers come from

What happens when you ask

How I know it doesn't make things up

I measured it with 30 questions. Another AI acts as judge: it splits each answer into claims attributed to Peat and checks them one by one against his texts.

On top of that, every time I change the bot's instructions a suite of 34 questions runs with automatic checks: that it cites the expected sources, that literal quotes really exist and that it does not answer about topics unrelated to Peat.

What it is built with

Privacy and limits

No accounts, cookies or ads, and IP addresses are not stored. The details are on the privacy page. Answers may contain errors and are not medical advice.

The code

It is at github.com/javimp21/peatying, under the MIT license. The README also tells the problems that came up and how I solved them. Ray Peat's texts are not in the repository.