Mon, 2 Nov 2026
Home › AI
X · Grok

X publishes its feed algorithm on GitHub, and it is all built on Grok

X released a description and outline of its post-ranking system. The EU had earlier fined X $140 million.

Osamah Ismail · Founder & Editor-in-Chief
· 1 min read · Updated:
X publishes its feed algorithm on GitHub, and it is all built on Grok
Image: xAI

On January 20, X published a description and outline of the code behind its post-ranking feed on GitHub.

What's inside?

According to the documentation, the new system runs "entirely on a Grok-based transformer". In other words, Grok's AI decides which posts appear in your feed.

Musk's promise

Elon Musk had promised on X to open the algorithm "within 7 days" and to publish updates "every four weeks".

Pressure on X

  • In December the European Union fined X $140 million under the Digital Services Act (DSA) over transparency obligations
  • California's attorney general is investigating inappropriate images generated by Grok
Sources: X (GitHub), TechCrunch
Osamah Ismail

Founder and editor-in-chief of Kurd Developers. Phone and tech news on YouTube, Instagram and TikTok.