Elon Musk’s X has open-sourced its ‘For You’ timeline algorithm, aiming to boost transparency, invite collaboration, and set new standards for how social platforms reveal their inner workings.
Elon Musk’s X, formerly Twitter, has open-sourced the latest version of its recommendation algorithm that powers the ‘For You’ timeline, marking a significant step toward algorithmic transparency.
Announcing the move, the platform’s engineering team said: “Today, as part of our effort to make our platform transparent, we are open-sourcing the latest code used to recommend posts on the ‘For You’ timeline. Our algorithm is always a work in progress. We will continue to refine our approach to surface the most relevant content to our community.”
The team added: “For this release, we aimed for the highest possible degree of transparency, while excluding any code that would compromise user safety and privacy or the ability to protect our platform from bad actors, including undermining our efforts at combating child sexual exploitation and manipulation. Today’s release also does not include the code that powers our ad recommendations.”
The release covers the ‘For You’ recommendation engine but excludes advertising systems, safety-critical modules, and any code that could undermine privacy or security. By opening the algorithm, X is enabling developers, researchers, and the public to study, improve, and provide feedback on how content is curated.
This move reflects broader industry pressure in 2025 for technology companies to reveal how algorithms shape online experiences. Open sourcing is widely recognised for promoting collaboration, accelerating development, and strengthening trust. Iconic examples include Linux, Android, and Firefox, with leading firms like Google, Microsoft, and Meta also maintaining open source projects.
X’s recommendation algorithm curates content across the ‘For You’ timeline, Search, Explore, and Notifications. By making this code public, the platform is positioning itself as part of the larger open source movement, potentially setting a precedent for social platforms to disclose their core systems while balancing transparency with user safety and privacy.














































































