Just over the weekend that CES 2026 concluded, Elon Musk, who juggles multiple roles, didn't keep the tech world idle, announcing that he would be in the spotlight "within 7 days."New algorithm code for the open-source X platformThis commitment not only includes the mechanism for determining the content of users' feeds, but also, unusually, discloses the logic behind "ad recommendations," attempting to once again raise the banner of "transparency" amidst regulatory pressure and external skepticism.
Not only will I show it to you, but I also promise to update it every four weeks.
According to Elon Musk's post on the X platform, the X platform code expected to be released next week is quite extensive, covering "all the code used to determine which organic and ad posts are recommended to users." This means the outside world will have the opportunity to glimpse how the X platform decides which tweets appear on a user's feed and why they see specific ads.
Unlike previous "shoot and forget" open-source models, Elon Musk has now pledged to establish a regular update mechanism for this open-source project. In his post, Musk emphasized, "This update will repeat every four weeks, and will include detailed developer notes to help everyone understand what changes have occurred." This appears to be a response to the community's demands for timely code updates, ensuring that the open-source version stays synchronized with the actual live version.
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
A sense of déjà vu? A "half-finished" open-source project from 2023.
This is not the first time Elon Musk has made a similar promise. Back in 2023, when he took over Twitter, he publicly released part of the code for the "For You" recommendation page on GitHub. However, the open-source version at that time was criticized by the developer community for "lacking key details," with many core weights and parameters not fully disclosed. In addition, the repository was hardly maintained after its release, causing its reference value to diminish significantly over time.
Elon Musk's emphasis on "including ad recommendations" and "regular updates" may be an attempt to correct previous mistakes and regain the trust of developers and users.
Transparency measures under regulatory pressure?
Besides responding to community expectations, there is probably a more practical consideration behind this move – regulatory pressure from the European Union.
The recommendation algorithm on the X platform is currently under intense scrutiny by France and the European Commission. The European Commission recently extended a data retention order for X until the end of 2026, indicating that official concerns about the platform's content moderation and algorithm mechanisms remain high. Coupled with the recent controversy surrounding X's AI chatbot Grok for generating illegal content (such as online child sexual abuse and unauthorized digital nude images), the calls for accountability from X are growing louder.
Choosing to fully open-source the algorithm at this time, besides being in line with Elon Musk's consistent advocacy of freedom of speech and transparency, is also seen as a self-protective strategy of "showing the cards" to regulatory agencies, attempting to prove the neutrality and public scrutiny of the platform mechanism.
