What happened
Elon Musk announced on May 15, 2026 that X published a major update to its For You feed recommendation algorithm on GitHub, the platform's second major open-source code release after the original 2023 publication, according to reporting from WebProNews. The update shipped 187 changed files and more than 18,000 lines of new code, including an end-to-end inference pipeline that can run locally, a pre-trained transformer model, and a content-understanding service, and the repository reportedly climbed past 18,000 GitHub stars within hours of release. The published code confirms what creators had suspected from distribution data alone: replies are weighted at roughly 13.5 in the ranking model versus 0.5 for a like, and if a reply gets a response from the original poster, that exchange jumps to a weight of 75. The code also confirms aggressive demotion of posts containing external links, with independent testing in Q1 2026 showing reach reductions as steep as 94% compared to identical text-only posts, and near-total suppression for non-Premium accounts since March 2026.
Why X's algorithm matters now
MagnetizeX builds founder visibility systems for B2B firms.
X publishing its actual ranking code removes the guesswork that usually surrounds platform algorithm changes, there is no need to reverse-engineer the link penalty from engagement data because the weighting is now visible in the repository itself. For B2B founders who use X to drive traffic to a blog post, product page, or newsletter, this is a direct instruction from the platform: native, text-only threads that keep people replying and reading in-app now outperform anything with a link by a wide margin, and that gap only grows for accounts without X Premium. The fix is not complicated, it just requires giving up the habit of linking out.
- Stop linking out in the post body, link in the first reply instead.With reach reductions up to 94% for link-containing posts, move any link you want to share into the first reply to your own post rather than the original text, which keeps the main post native while still surfacing the link to interested readers.
- Write for replies, not likes, given the 13.5x weighting gap.End posts with a specific, answerable question or a deliberately incomplete take that invites disagreement. A post that generates 10 genuine replies now outranks a post that generates 100 likes.
- Budget for X Premium if link-driven distribution matters to your strategy.The suppression of link-containing posts is described as near-total for non-Premium accounts since March 2026. If driving traffic off-platform is part of your content strategy, Premium is no longer optional, it is the access fee.
By the numbers: The May 15 update shipped 187 changed files and more than 18,000 lines of new code, and the repository passed 18,000 GitHub stars within hours of release.
What to do this week
Take your last five X posts that included an outbound link and rewrite one as a native, text-only thread with the link moved to the first reply. Compare impressions after 48 hours against your usual link-in-post format, since the platform's own published weighting predicts a meaningful gap.