GitHub - xai-org/x-algorithm: Algorithm powering the For You feed on X

Submit
github.com

GitHub - xai-org/x-algorithm: Algorithm powering the For You feed on X

AI summary of the linked article

This GitHub repository contains the core code that determines which posts appear in the For You feed on X. It combines in-network posts from accounts a viewer follows with out-of-network posts found through ML-based retrieval, filters them using a range of inputs, and ranks them with a transformer model. The August 13, 2026 release added key configuration parameters, visibility filtering code, and the Phoenix model's training code with synthetic data generation. The September 18, 2026 update adds reports showing whether posts were withheld in a country after a legal demand, and the August 14, 2026 notes say the Brazil2026ElectionFilter removes posts from accounts reported to Brazil's Electoral Court, unless the viewer follows the account.

Recommended by 2 curators
No comments yetWhat caught your eye? Start the discussion.