xai-org /

X Algorithm

Live map
Snapshotmain · c65aa17

In-network and learned retrieval feed one ranking, safety, selection, and blending pipeline per request.

Click a building or route
Choose a path

Retrieve, hydrate, score, select, filter, and blend one viewer's feed.

System map9 components · 9 connections
130%
X Algorithm: assemble the For You feed architectureFollow a request across the top into candidate retrieval, then descend through ranking and filtering before the final feed returns.viewer request and pro…viewer ID and request …engagement sequence, f…candidate post IDsviewer and candidate f…weighted candidate sco…selected posts and vie…allowed posts and non-…ordered timeline entriesQueryhydrationFor You serverCandidatepipelineCandidatesourcesCandidatehydrationFeed blenderPhoenix rankerTop-K selectorVisibilityfiltering
Connections
BuildingsEntryServiceComputeStorageRuntimeToolingExternal

Terms, in plain English

In-networkPosts from accounts the viewer follows, retrieved from recent-post storage.

How to study this repo

  1. 1
    Read the pipeline

    Start with PhoenixCandidatePipeline and list its query, source, filter, scorer, and selector stages.

  2. 2
    Trace one candidate

    Follow a post from Thunder or Phoenix retrieval through feature hydration and scoring.

  3. 3
    Separate rank from safety

    Compare score-based ordering with the later visibility decision and blending rules.