
X Algorithm Growth Hacking
A Complete Guide Based on the Open-Source Code
A definitive, tactical reference book for growing on X in 2026, based on the open-sourced Grok-based ranking algorithm.
You can read the contents and the first 2,000 characters.
Free accounts get the whole book.
- By Matan Marudi
- 14 chapters
- Updated Nov 2, 2026
- 33 readers
What’s inside
- X Algorithm Growth Hacking — Router
- How the X Algorithm Actually Works (The Engine Under the Hood)
- The Scoring Formula — What the Algorithm Actually Measures
- Time Decay — Why the First Hour is Everything
- Content Signals — What the Algorithm Rewards and Penalizes
- Account Health — TweepCred and Distribution Baseline
From the first page
Audience & governance: Marketplace (public) reference book. Sources are attributed to the open-source repo xai-org/x-algorithm and named secondary analyses (see Currency & Sources page). Where a number is the author's inference rather than code-confirmed, it is marked as such.
Scope of validity: Built on the xai-org/x-algorithm open-source release (first published 2026-01-20; major update 2026-05-15). xAI ships updates on a 4-week cadence, so treat weight values and feature lists as point-in-time. Last reviewed: 2026-06-14. Refresh cadence: every 4 weeks against the repo changelog.
Preview · 2,000 of 69,382 characters
Contents
- 01X Algorithm Growth Hacking — Routerp.1
- 02Decision Matrixp.2
- 03How the X Algorithm Actually Works (The Engine Under the Hood)p.3
- The Three-Stage Pipelinep.3
- Two Candidate Sources: Thunder and Phoenixp.3
- No Hand-Engineered Featuresp.3
- The Scoring Formulap.3
- The Last ~127 Interactionsp.3
- Agent rulesp.3
- 04The Scoring Formula — What the Algorithm Actually Measuresp.4
- The 15 Predicted Actionsp.4
- The Engagement Weights Tablep.4
- The 150x Conversation Multiplierp.4
- Dwell Time: The Hidden Kingp.4
- Author Diversity Scorerp.4
- The Negative Weights Realityp.4
- Agent rulesp.4
- 05Time Decay — Why the First Hour is Everythingp.5
- The Test Windowp.5
- Why the First 30 Minutes Are Sacredp.5
- Late Amplification (and Why It Is Rare)p.5
- Best Posting Windowsp.5
- Threads and the Extended Windowp.5
- Agent rulesp.5
- 06Content Signals — What the Algorithm Rewards and Penalizesp.6
- What the Algorithm Rewardsp.6
- What the Algorithm Penalizesp.6
- The Tone Modelp.6
- Agent rulesp.6
- 07Account Health — TweepCred and Distribution Baselinep.7
- What TweepCred Measuresp.7
- The 65 Thresholdp.7
- X Premium and TweepCredp.7
- Sentiment Analysis at the Account Levelp.7
- Active vs. Passive Accountsp.7
- Follower Engagement Loopsp.7
- Agent rulesp.7
- 08The Out-of-Network Discovery Engine — How to Get Shown to Non-Followersp.8
- The Two-Tower Model in Detailp.8
- Niche Beats Broadp.8
- Topic Coherence Builds the Fingerprintp.8
- Your Engagement History Shapes Your Match Poolp.8
- How to Optimize for Phoenix Discoveryp.8
- Agent rulesp.8
See all 14 parts
- 09The Complete Tactical Playbook — 12 High-Impact Strategiesp.9
- Strategy 1: Design Every Post for Repliesp.9
- Strategy 2: Reply to Every Reply in the First 30 Minutesp.9
- Strategy 3: Never Put Links in the Main Postp.9
- Strategy 4: Use the Thread Format for High-Dwell Contentp.9
- Strategy 5: Post at Velocity Windowsp.9
- Strategy 6: Seed Engagement Before Publishingp.9
- Strategy 7: Use Video — Even Rough Videop.9
- Strategy 8: Create "Quotable" Contentp.9
- +5 more sections
- 10Common Myths Debunkedp.10
- Myth: The algorithm suppresses small accounts.p.10
- Myth: Posting more = more reach.p.10
- Myth: Hashtags help discovery.p.10
- Myth: Deleting and reposting resets the algorithm.p.10
- Myth: Scheduling tools hurt you.p.10
- Myth: The algorithm changes every week.p.10
- Myth: Only Premium accounts can grow.p.10
- Myth: Going viral makes your account.p.10
- +2 more sections
- 11The Writing Process — X Posts That Beat the Algorithmp.11
- The Anatomy of an Algorithm-Optimized Postp.11
- Five Post Templates That Score Highp.11
- The 5-Minute Pre-Post Checklistp.11
- What to Do in the First 30 Minutes After Publishingp.11
- 12The Playbook in Practice — 30-Day Growth Sprintp.12
- Week 1: Foundationp.12
- Week 2: Optimizationp.12
- Week 3: Amplificationp.12
- Week 4: Compoundingp.12
- Key Metrics to Track Throughoutp.12
- Closing: The One Sentence That Mattersp.12
- 13Currency, Sources & What's Code-Confirmedp.13
- Repository overviewp.13
- Confirmed in the open-source codep.13
- NOT in the open source (community estimates — do not cite as code)p.13
- Corrections logp.13
- Primary sourcesp.13
- Refresh cadencep.13
- 14Promptable Feeds (New in 2025-2026)p.14
- Narrativep.14
- Agent rulesp.14
- Sourcesp.14


