By using this site, you agree to our Privacy Policy and Terms of Use.
Accept
VellaTimesVellaTimesVellaTimes
  • News
    NewsShow More
    A highly detailed rendering of the SMILE satellite orbiting Earth, with its solar panels deployed and the northern lights glowing in the background.
    SMILE Mission Launch: Satellite Prepares for Space
    March 22, 2026
    A sleek modern laptop displaying the Windows 11 desktop in a softly lit contemporary office setting, representing Microsoft's latest performance updates.
    Microsoft Reduces Windows 11 Copilot AI for Performance
    March 22, 2026
    A modern laptop displaying the Windows desktop on a brightly lit office desk.
    Windows 11 Update: Microsoft Cuts AI Bloat to Boost Speed
    March 22, 2026
    Weathered medical supply crates and a white relief tent in a dusty refugee camp, illustrating the delayed humanitarian aid and ongoing crisis in Sudan.
    Sudan Crisis Worsens as Middle East Conflict Disrupts Aid Supplies
    March 22, 2026
    A glowing laser beam illuminating a small stainless-steel disc in a high-tech physics laboratory setting.
    Nuclear Clock Breakthrough: A New Era of Timekeeping
    March 22, 2026
  • Technology
    TechnologyShow More
    A modern laptop displaying the Windows desktop on a brightly lit office desk.
    Windows 11 Update: Microsoft Cuts AI Bloat to Boost Speed
    March 22, 2026
    A majestic federal courthouse building in San Francisco with reporters and professionals gathered on the front steps.
    Elon Musk Found Liable in Twitter Investor Lawsuit
    March 22, 2026
    Professionals working and meeting in a modern technology office with computer screens showing generic AI software interfaces.
    OpenAI workforce plan aims for 8,000 staff by 2026
    March 22, 2026
    Digital stock market graphs and social media icons overlaid on a blurred, dramatic courtroom background.
    Elon Musk Twitter Lawsuit: Jury Finds Billionaire Liable
    March 21, 2026
    A modern smartphone displaying a glowing AI waveform on its screen, resting on a desk in a dimly lit tech office.
    Amazon Alexa Smartphone in Development Under Project Transformer
    March 21, 2026
  • AI
    AIShow More
    A sleek modern laptop displaying the Windows 11 desktop in a softly lit contemporary office setting, representing Microsoft's latest performance updates.
    Microsoft Reduces Windows 11 Copilot AI for Performance
    March 22, 2026
    Nvidia CEO Jensen Huang speaking on a conference stage with AI chip graphics on a large screen and an audience in the foreground.
    Nvidia GTC 2026 Spotlights Inference and AI Agents
    March 22, 2026
    A vibrant and modern open-plan technology office with professionals collaborating around futuristic screens.
    OpenAI Workforce Expansion: Staff to Double by 2026
    March 22, 2026
    Rows of illuminated high-tech server racks in a modern artificial intelligence data center facility.
    Nvidia CEO Jensen Huang Predicts $1 Trillion in AI Chip Sales at Nvidia GTC 2026
    March 21, 2026
    A computer monitor displaying search engine results with glowing digital code overlapping the news headlines, representing AI technology.
    Google AI Headline Rewrites Test Disrupts Search Results
    March 21, 2026
  • Science
    ScienceShow More
    A highly detailed rendering of the SMILE satellite orbiting Earth, with its solar panels deployed and the northern lights glowing in the background.
    SMILE Mission Launch: Satellite Prepares for Space
    March 22, 2026
    A glowing laser beam illuminating a small stainless-steel disc in a high-tech physics laboratory setting.
    Nuclear Clock Breakthrough: A New Era of Timekeeping
    March 22, 2026
    A cross-section view of the Martian landscape revealing an ancient river delta system buried deep beneath the red, rocky surface of Jezero Crater.
    NASA Rover Finds Ancient Buried River Delta on Mars
    March 22, 2026
    A medical professional wearing blue gloves holds a glowing blood sample vial in a modern clinical laboratory setting.
    New Blood Test Uses piRNAs to Predict Older Adult Survival
    March 21, 2026
    A hyper-realistic view of the NASA Perseverance rover exploring the rocky, red landscape of Jezero Crater on Mars under a clear sky.
    Ancient River Delta on Mars Discovered by NASA Rover
    March 21, 2026
  • World
    WorldShow More
    Weathered medical supply crates and a white relief tent in a dusty refugee camp, illustrating the delayed humanitarian aid and ongoing crisis in Sudan.
    Sudan Crisis Worsens as Middle East Conflict Disrupts Aid Supplies
    March 22, 2026
    US President and Japanese Prime Minister seated in the Oval Office during a tense diplomatic meeting with formal lighting and decor.
    Trump Pearl Harbor Remark Stuns Japanese Prime Minister
    March 22, 2026
    Split composition showing US and Ukrainian diplomatic flags in a boardroom alongside a subtle drone silhouette over a dark landscape.
    Ukraine and US Resume Peace Talks in Florida Amid Major Drone Strikes and Russian Advances
    March 22, 2026
    Colombian President Gustavo Petro stands at a podium in a formal setting during a press conference.
    Gustavo Petro Investigation: US Probes Alleged Drug Ties
    March 21, 2026
    Thick gray smoke billowing from an auto parts factory in Daejeon, South Korea, with multiple fire trucks and emergency personnel responding to the massive blaze.
    Massive Daejeon Auto Parts Factory Fire: Casualties and Rescue Efforts
    March 21, 2026
  • Bookmarks
Search
Category
  • News
  • Technology
  • AI
  • Science
  • World
Company
  • About Us
  • Contact Us
  • Fact Checking Policy
  • Terms & Conditions
  • Privacy Policy
  • Copyright Policy
Resources
  • Home
  • Web Stories
  • Bookmarks
  • Interests
  • Disclaimer
  • Sitemap
© 2022 VellaTimes • All Rights Reserved.
Reading: X open-source algorithm: For You feed code on GitHub
Share
Notification Show More
Font ResizerAa
VellaTimesVellaTimes
Font ResizerAa
  • News
  • Technology
  • AI
  • Science
  • World
Search
  • Explore
    • News
    • Technology
    • AI
    • Science
    • World
  • Useful Links
    • About Us
    • Contact Us
    • Fact Checking Policy
    • Terms & Conditions
    • Privacy Policy
    • Copyright Policy
  • Home
  • Web Stories
  • Bookmarks
  • Interests
  • Disclaimer
  • Sitemap
© 2022 VellaTimes • All Rights Reserved.
Technology

X open-source algorithm: For You feed code on GitHub

Rakesh Paul
Last updated: 25/01/2026
Rakesh Paul
Share
7 Min Read
A laptop in a newsroom showing a code repository on screen with an X logo visible on a nearby display.

X has open-sourced the code behind its “For You” feed recommendation system, publishing an updated algorithm repository on GitHub and describing the system as powered by a Grok-based transformer model. The release follows a promise by Elon Musk to open source the new X algorithm and to repeat transparency updates every four weeks.

Contents
What X released and how it’s licensedHow the “For You” feed worksFilters, safety checks, and variety controlsA shift from older, more manual logicTransparency questions and mounting pressure

The newly shared documentation and code aim to show how X gathers, filters, and ranks posts for a user’s feed, mixing content from accounts a user follows with posts pulled from outside their network. Musk also wrote that X’s algorithm is “dumb” and needs “massive improvements,” while saying users can watch the platform “struggle” to improve it in real time “with transparency.”

What X released and how it’s licensed

TechCrunch reported that X published an accessible write-up on GitHub along with a diagram explaining how its feed-generating code works. PPC Land said X released the code and architecture behind its overhauled recommendation algorithm under an Apache 2.0 open source license on GitHub.

AlternativeTo reported that the “For You” feed code is on GitHub under the Apache-2.0 license and described the release as a transparency move that lets the public examine how content is ranked and promoted on the platform. AlternativeTo also said the repository includes roughly 100 files and just under 10,000 lines of code, with 63% written in Rust and 37% in Python.

How the “For You” feed works

TechCrunch said the algorithm considers a user’s engagement history and reviews recent in-network posts when selecting content. TechCrunch also said X analyzes out-of-network posts—content from accounts the user may not follow—using a machine-learning-based approach to find posts the system thinks a user may like.

CGTN similarly said the algorithm collects potential posts from in-network sources (people the user follows) and out-of-network sources (new discoveries from across X). CGTN reported that the system uses an AI model to filter and rank posts, with scoring rules based entirely on the user’s past interactions.

CGTN said posts with higher scores are selected to build the feed, and the scoring tool analyzes past behavior to predict preferences, aiming to increase positive actions such as likes and reduce negative actions such as blocks. TechCrunch added that X’s system is AI-based and “relies entirely” on a “Grok-based transformer” to “learn relevance from user engagement sequences,” while also stating there is no “manual feature engineering for content relevance.”

Filters, safety checks, and variety controls

TechCrunch said the system filters out posts from blocked accounts and content tied to muted keywords, and it also removes content deemed too violent or spam-like. After filtering, TechCrunch said the algorithm ranks remaining posts using signals tied to predicted engagement, including the likelihood a user will like, reply, repost, favorite, or otherwise engage.

CGTN reported additional filtering steps, including removing recently viewed content and posts from blocked accounts before scoring, then filtering out deleted or inappropriate content after scoring. CGTN also said the system aims to keep content varied by preventing repeated posts from the same creator.

A shift from older, more manual logic

AlternativeTo said that, unlike X’s earlier 2023 open-source approach, the new system relies on a Grok-based transformer model and removes nearly all hand-coded logic, learning ranking strategies from user engagement patterns. AlternativeTo also claimed this reduces the impact of tactics such as hashtag stuffing or posting at “so-called optimal times.”

PPC Land described the change as replacing manual heuristic rules with transformer architecture powered by xAI’s Grok language model, calling it a shift from what it characterized as the platform’s earlier “spaghetti code and manual filters.” PPC Land also said the new release includes technical documentation explaining how X evaluates content and accounts, and it exposes parts of the recommendation pipeline such as the RecsysBatch input model and scoring functions written in Rust.

PPC Land reported that X redacted specific weighting constants that would reveal exactly how much different engagement types contribute to overall scoring. That means readers can see the structure and components, while some numeric details that would show precise weighting are not included in the public release described by PPC Land.

Transparency questions and mounting pressure

TechCrunch noted that Twitter (as it was then known) partially open-sourced its algorithm in 2023, but the release was criticized as “transparency theater” and “incomplete.” TechCrunch also said Musk’s earlier stance was that “code transparency” would be “incredibly embarrassing at first” but could lead to rapid improvements and help “earn your trust.”

TechCrunch reported that X did not release its first transparency report until September 2024, after previously releasing multiple transparency reports a year. TechCrunch also said X was fined $140 million in December by European Union regulators, who argued the platform violated transparency obligations under the Digital Services Act and that the verification check mark system made it harder for users to judge account authenticity.

TechCrunch additionally reported that X has faced scrutiny related to Grok, including attention from the California Attorney General’s office and congressional lawmakers tied to claims that Grok has been used to create naked images of women and minors. Against that backdrop, TechCrunch said some observers may view the new open-source push as more “theater,” even as X presents it as transparency.

TAGGED: Apache 2.0, Elon Musk, For You feed, GitHub, Grok, open source, transformer model, X
Share This Article
Facebook Twitter Whatsapp Whatsapp Telegram Copy Link
By Rakesh Paul
I'm the Co-Founder of VellaTimes and an experienced digital marketer. With substantial experience in the blogging industry, I love crafting insightful and engaging news articles on technology, sports, and automobiles.
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


Most Read

Dark Matter Galaxy CDG-2 Discovered by Hubble Telescope

February 26, 2026

US-Israel Strikes on Iran Kill Supreme Leader as Middle East Conflict Widens

March 1, 2026

Kenya Flooding: Heavy Rains Kill Dozens Across the Nation

March 16, 2026

California Establishes New AI Oversight Unit as xAI Probe Continues

February 19, 2026

Iran Nuclear Deal: Trump Weighs Limited Military Strike

February 21, 2026

PixVerse real-time AI video tool launches, rivals Sora

January 14, 2026

Related News

A modern laptop displaying the Windows desktop on a brightly lit office desk.
News

Windows 11 Update: Microsoft Cuts AI Bloat to Boost Speed

Rakesh Paul Rakesh Paul March 22, 2026
A majestic federal courthouse building in San Francisco with reporters and professionals gathered on the front steps.
News

Elon Musk Found Liable in Twitter Investor Lawsuit

Rakesh Paul Rakesh Paul March 22, 2026
Professionals working and meeting in a modern technology office with computer screens showing generic AI software interfaces.
News

OpenAI workforce plan aims for 8,000 staff by 2026

Rakesh Paul Rakesh Paul March 22, 2026

About Us

VellaTimesVellaTimesVellaTimes

VellaTimes is a leading news portal that covers the latest trending news in technology, lifestyle, entertainment, automobiles, travel, and sports.

Explore

  • News
  • Technology
  • AI
  • Science
  • World

Useful Links

  • About Us
  • Contact Us
  • Fact Checking Policy
  • Terms & Conditions
  • Privacy Policy
  • Copyright Policy

Subscribe Us

Subscribe to our newsletter for the Latest News and Top Stories!

© 2022 VellaTimes • All Rights Reserved.
  • Home
  • Web Stories
  • Bookmarks
  • Interests
  • Disclaimer
  • Sitemap
adbanner
AdBlocker Detected
Our site is an advertising supported site. Please whitelist us to support our work.
Okay, I'll Whitelist