X Algorithm
The For You Feed Algorithm
Explore the open-source recommendation system that powers personalized content ranking on X. Built with Rust, Python/JAX, and Grok.
The ultimate educational visualization. Explore the Phoenix Transformer layers, attention masks, and the full pipeline flow.
Analyze posts before publishing. Get your viral score, optimize content, and track history.
Simulate how the algorithm ranks posts. See how engagement drives position in the feed.
Calculate how engagement probabilities translate to ranking scores using actual weights.
Interactive exploration of every stage in the recommendation pipeline.
Understand how topic clustering affects your content distribution across niches.
Find the best time to post based on freshness decay and audience activity patterns.
Visualize how different engagement types affect your ranking score with interactive heatmaps.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FOR YOU FEED REQUEST โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HOME MIXER โ
โ (Orchestration Layer) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โ
โ โ THUNDER โ โ PHOENIX โ โ
โ โ In-Network โ โ Out-of-Network โ โ
โ โ Posts you โ โ ML-based โ โ
โ โ follow โ โ discovery โ โ
โ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โ
โ โ โ โ
โ โโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ โ
โ โผ โ
โ โโโโโโโโโโโโโโโ โ
โ โ FILTERING โ โ Spam, duplicates, blocks โ
โ โโโโโโโโโโโโโโโ โ
โ โ โ
โ โผ โ
โ โโโโโโโโโโโโโโโ โ
โ โ SCORING โ โ Grok engagement prediction โ
โ โโโโโโโโโโโโโโโ โ
โ โ โ
โ โผ โ
โ โโโโโโโโโโโโโโโ โ
โ โ SELECTION โ โ Top K by weighted score โ
โ โโโโโโโโโโโโโโโ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ RANKED FEED RESPONSE โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ