Grok build was opensourced after it did something similar https://news.ycombinator.com/item?id=48877371