ComingUp ComingUp
How the X “For You” algorithm works

How the X “For You” algorithm works

May 16, 2026 AI & Machine Learning
algorithm machine learning open source

Gallery

How the X “For You” algorithm works

About

X open sourced their algorithm so i read through it and used claude code to write a plain english breakdown of all steps

Comments (2)

Shaniya Rippin Shaniya Rippin 1 month ago

Solid breakdown, the candidate sourcing phase is way more interesting than I expected, especially how they handle cold-start users. Wondering if the ranking model uses any real-time signals or if it's all batch-computed embeddings under the hood.

Raymundo Gerhold Raymundo Gerhold 1 month ago

Useful breakdown but the real question is how much of the actual ranking logic is even in there. Open sourcing an algorithm doesn't mean much if the training data and weighting constants are hidden somewhere else. Did you notice any obvious gaps where key decision points seem completely missing from what they published?