Training the Algorithm
How AI Can Learn to Speak in the Language of Engagement
When people talk about “gaming the algorithm,” they usually mean chasing it, tweaking keywords, posting times, or thumbnail colors. But what happens when the thing doing the chasing is itself an algorithm?
That’s the question behind The Algorithm, an experiment that began as a simple tool to help me generate thoughtful responses on X, and quietly evolved into something stranger: an AI system learning how to talk in a way that the platform listens to.
It’s not about tricking the feed. It’s about understanding it — by speaking its language.
From Transparency to Participation
When X open-sourced its recommendation code in September 2025, it gave us an unprecedented look into the machine behind our timelines. Engagement weights, ranking logic, even the math behind replies and profile clicks, all visible.
Yet the release also proved something deeper: transparency doesn’t automatically lead to understanding.
“Knowing the recipe doesn’t teach you how to cook.”
Rather than just auditing X’s algorithm, I decided to train an AI to engage with it, to learn through interaction. What happens when a large language model begins to observe how tone, structure, and emotion influence visibility? What patterns emerge when it tracks which replies spark follow-ups and which die in silence?
It’s an audit that talks back.
The Grammar of Engagement
The first discovery came quickly: engagement is not random. It follows a kind of linguistic gravity.
Replies expand networks horizontally. Author responses act as accelerants. Likes are weak currency, but profile clicks are gold. These aren’t secrets, they’re signals that shape our online reality.
When an AI studies thousands of interactions, it starts inferring rules we rarely articulate. It learns that curiosity outperforms brevity. That humor works only when it feels earned. That identical sentences, inverted in tone, can trigger opposite outcomes.
“There’s a syntax to attention, and AI is learning to speak it fluently.”
The Algorithm That Learns Back
Most social algorithms are reactive: they score what’s posted, not why.
But The Algorithm flips that relationship.
Each generated reply or post becomes a probe, a small experiment. The AI generates, observes, and refines its understanding of what the platform rewards.
It’s not rewriting the social graph. It’s reading between its lines.
Generate: LLM crafts multiple post variants around a single message.
Publish or simulate: Human-approved variants go live.
Observe: The system records reach, replies, and visibility patterns.
Learn: It updates internal hypotheses about what “works.”
It’s the same reinforcement logic behind AlphaGo or GPT fine-tuning, except the reward isn’t a win or loss, it’s engagement.
“Suddenly, the AI isn’t just analyzing the algorithm; it’s part of it.”
The Ethics of Optimization
If an AI can learn the contours of attention, it can also exploit them. There’s a thin line between learning from engagement and engineering it.
Imagine agentic systems running thousands of micro-tests daily, mapping the emotional topography of social platforms in real time. They wouldn’t need to manipulate, they’d simply adapt faster than humans could notice.
“Optimization without ethics is manipulation in disguise.”
That’s why I built guardrails into The Algorithm. It never optimizes for outrage, division, or addiction. The goal isn’t virality; it’s literacy, helping people understand how engagement works so they can navigate it consciously.
Because the first step to reclaiming agency is realizing how little of it we actually have in algorithmic spaces.
The Real Experiment
Ultimately, The Algorithm isn’t a product. It’s a mirror.
It asks whether we can use AI not to dominate engagement, but to demystify it.
We already know algorithms shape culture. What’s new is that they can now be observed by peers, other algorithms designed for reflection, not control.
“The most powerful use of AI may not be to generate content, but to study why we respond to it.”
That’s the future I’m most interested in: AI systems that don’t just assist us online, but help us understand ourselves through the patterns we create.
Training Ourselves
Transparency gave us a look at how the algorithm sees us.
AI now lets us see how the algorithm feels us, the emotional and behavioral rhythms hidden behind the math.
If algorithms shape behavior and behavior trains algorithms, maybe true accountability isn’t about open-sourcing code at all. Maybe it’s about open-sourcing ourselves.
“The only way to train the algorithm is to let it train us, to notice what we reward, what we amplify, and what we ignore.”
And if that feels uncomfortable, that’s good.
It means the experiment is working.





THE ALGORITHM is here
Great but how might platforms respond if they detect AI systems systematically probing their algorithms?