X Open-Sources Its 'For You' Ranking Algorithm, Adding a Shadowban Transparency Tool
X published a far larger open-source release of its recommendation code on GitHub, plus a tool letting active users check visibility labels on their account.
Overview
X released an expanded open-source version of the code that powers its “For You” feed on August 13, 2026, publishing it to a new GitHub repository under the Apache License 2.0, according to TechCrunch and the repository itself on GitHub. Alongside the code, X is rolling out a self-service tool that lets frequent posters check whether visibility labels have been applied to their account or posts.
What We Know
- The GitHub repository describes itself as containing “the core code that determines which posts a viewer sees in the For You feed on X.”
- According to TechCrunch, the new release makes the codebase “roughly 10 to 15 times larger than it was before,” compared with X’s earlier open-source releases of its recommendation code.
- The ranking pipeline blends in-network posts from followed accounts with out-of-network discoveries using internal systems named Phoenix, Thunder, and SimClusters, per the GitHub repository.
- A new “Under the Hood” transparency tool is rolling out inside X’s settings, letting users who have posted “10 or more times over the past month” download an aggregate JSON file of their account stats, according to TechCrunch. TechCrunch reports the tool “will initially be available to a test group of accounts at least a year old as a pilot, before rolling out more broadly.”
- X’s VP of Product Keith Coleman told TechCrunch that “some of those systems, like the ranker and the score, you can even run yourself outside the company.”
- Not everything was published. TechCrunch reports that systems using Grok to predict whether a post could be violating a rule were left out of the release, a step the outlet says is “meant to protect X from bad actors who could use this information to work around the company’s rules to flood the network with spam.”
- Separately, the GitHub README states that a limited set of files were withheld, including “Grox prompts” — the “j2 files with the specific LLM prompts” used by an automated system the README says “runs as posts are published” with “classifiers for categories such as spam, adult content and violent media” — along with “some botmaker rules.” The repository frames the general rationale for withholding files this way: “One challenge with making code that impacts post distribution public is that people could use it to try to game the system.”
What We Don’t Know
Neither source cited above directly reconciles “Grok,” the system TechCrunch says was excluded for predicting rule violations, with “Grox,” the classification system named in the repository’s own documentation — it is not established in the available reporting whether these refer to the same component or two separate ones. Beyond the eligibility criteria reported by TechCrunch, there is no independent detail available yet on exactly how the “Under the Hood” export maps to visibility outcomes for individual accounts.
Analysis
By pairing a much larger code release with a self-service audit tool, X is directly targeting years of user speculation about “shadowbanning” — the belief that a platform is quietly suppressing an account’s reach without notice. Coleman’s framing to TechCrunch, that outside developers can “run” the ranker and scoring systems themselves, suggests X wants the release treated as verifiable rather than merely descriptive. Whether that holds up will depend in part on the systems the company chose to keep out of the repository, and how much of the visibility-labeling process the new “Under the Hood” export actually exposes to the users checking it.