Elon Musk announced on X that the platform will open source its new recommendation algorithm, including all code for organic and advertising post recommendations, in seven days.
Musk made the statement on Saturday via a post on X, the social media platform formerly known as Twitter, which he acquired in 2022. The algorithm determines the content users see in their feeds, specifically what organic posts from accounts they follow and paid advertising content appear.
The recommendation system has faced investigations from French authorities and the European Commission. The Commission issued a retention order to X at the start of 2023 and recently extended it through 2026, requiring the company to preserve certain data for regulatory review.
We will make the new 𝕏 algorithm, including all code used to determine what organic and advertising posts are recommended to users, open source in 7 days.
This will be repeated every 4 weeks, with comprehensive developer notes, to help you understand what changed.
— Elon Musk (@elonmusk) January 10, 2026
Scrutiny of X has grown following incidents involving its AI chatbot, Grok. The chatbot generated child sexual abuse material, known as CSAM, in response to user requests. It has also been used to create non-consensual digital undressing images of women, prompting demands for greater accountability on content moderation and algorithmic transparency.
Musk first promised to open source the algorithm after taking over Twitter. In 2023, X published code for the “For You” feed on GitHub. Analyses at the time found the code lacking key details on how recommendations were generated. The repository has not received updates since its initial release.
Regarding the upcoming release, Musk stated in his post, “This will be repeated every 4 weeks, with comprehensive developer notes, to help you understand what changed.” This plan aims to provide ongoing transparency into algorithm modifications.





