X Open-Sources 'For You' Feed Ranking Algorithm
rohanpaul_ai · x · 2026-08-14
X (formerly Twitter) has open-sourced the core ranking algorithm for its 'For You' timeline under the Apache v2 license.
Core Algorithm Mechanisms:
- Behavioral Prediction Scoring: Feed scores are weighted predictions of user behavior. The system calculates probabilities for favorites, replies, reposts, clicks, dwell time, follows, mutes, blocks, and more, combining them using explicit positive and negative weights.
- Social Graph Advantage: Posts from accounts you already follow get an advantage over posts from strangers.
- Fairness & Anti-Spam: Newer or less-seen accounts receive an explicit boost, while repeated posts from the same author are pushed down. X deliberately reduces similar posts appearing together, even at the cost of predicted engagement.
- Independent Safety Rules: Safety and spam rules operate separately. A post can rank highly but still be removed later; the exact same post can be visible to followers but blocked from recommendation to non-followers.
This release does not include the entire stack; some enforcement rules, Grok prompts, and deployment infrastructure are withheld.
Related event: X Open Sources 'For You' Algorithm(16 posts)→
More from coding & agent
- VASP: visual-anchored agent tops scientific poster generation with 94.3 mAP figure extraction — Huihan Wang · 2026-11-30
- Dev shows agents auto-verifying and sending SAFE fundraising docs in parallel — Scobleizer · 2026-11-30
- Ex-Citadel MD: AI will automate equity long-short workflows within 3 years; job seekers should build eval suites — _AustinCalvert_ · 2026-11-30
- Why Google bans users: wrapping Gemini CLI in Claude Code violates consumer ToS — thomasahle · 2026-11-30
- After two Claude account bans, a dev switches to Google AI and moves his Anthropic stock bets to Google — yangyi · 2026-11-30
- Antigravity remote control may not be enabled for enterprise accounts — gharik · 2026-11-30