X open-sources core algorithm code for 'For You' recommendation feed
IgorBrigadir · x · 2026-08-15
X has open-sourced the core algorithm repository powering the 'For You' feed. The codebase contains the logic determining which posts viewers see, combining in-network content with out-of-network discovery via ML-based retrieval, content filtering, safety systems, ranking strategies (e.g., Phoenix), and recommendation components (e.g., SimClusters).
It includes various service modules like Home Mixer, Grok-related code, ranking policies, and visual filters. This offers a deep dive into the ranking mechanisms of a major social platform for recsys enthusiasts, with ongoing updates planned to reflect production changes.
Related event: X Open Sources 'For You' Algorithm(16 posts)→
More from Infra
- Samsung's new memory chief warns record quarters don't mean competitiveness is back — tengyanAI · 2026-11-30
- Which free local AI model to download for your GPU, from 6GB to 24GB VRAM — alex_verem · 2026-11-30
- tqLLM 1.9.0: C++ LLM engine claims 4.6x Strata on 16GB, adds AMD RX 580 support — pmttyji · 2026-11-30
- oMLX 0.8.4 doubles Inkling 2 Mini decode speed on Mac, adds concurrent MTP — pcuenq · 2026-11-30
- Tencent issues $5.4B notes as AI costs turn cash flow negative; AMD closes World Labs deal with Fei-Fei Li — YvesMulkers · 2026-11-30
- Banks in Europe and Asia plan higher spending on local data storage to cut US cloud reliance — AIFlow_ML · 2026-11-30