According to AIbase, Elon Musk officially announced on January 20, 2026, the open sourcing of the next-generation recommendation algorithm for X Platform (formerly Twitter). The algorithm released this time is powered by the same Transformer architecture as the xAI Grok model. Musk stated that although the current algorithm still seems "clumsy" and requires significant improvements, X Platform has chosen to fully open the real algorithm running in production environments, aiming to drive technological iteration through real-time transparency.

Elon Musk, xAI, Grok

The algorithm ranks content by predicting the overall probability of users liking, replying, retweeting, clicking, and watching, achieving a more refined "For You" recommendation. All recommended content learns directly from user behavior and integrates followed accounts with discovered content seamlessly.

Musk emphasized that no other social media companies currently achieve such a level of algorithmic transparency. To maintain leadership and authenticity, X Platform promises to update the complete code published on GitHub every 4 weeks, allowing global developers to witness and optimize the "heart" of this social media platform together.

Link: https://github.com/xai-org/x-algorithm