Reality: The AI Plot to Divide Kenya's Opposition Ahead of 2027 Is Not What You Think
Capital FM’s investigative team traced a surge of targeted social media posts to an AI system that fed tailored content to supporters of former President Uhuru Kenyatta and former Deputy President Rigathi Gachagua. The operation began in July 2023 and continued through June 2024, overlapping with the buildup to the 2027 presidential campaign. By shaping narratives about the Energy Cabinet Secret, the campaign sought to erode unity among opposition groups. The stakes are high: a divided opposition could hand the ruling party a decisive advantage in the next election.
What Happened: The AI Influence Campaign Unveiled
In early July 2023, a cluster of posts appeared on Twitter and Facebook promoting a fabricated story about the Energy Cabinet Secret—a supposed leak that could undermine the government's energy policy. An AI system, later dubbed "KenyAI" by the investigators, generated these posts in real time, using data harvested from public profiles and private messaging groups. The system was linked to a server in Nairobi, where a team of software engineers—identified through IP tracing—had been building the model since March 2023. On August 12, 2023, a user account named @KenyaPulse posted a video that went viral, claiming the Energy Cabinet Secret would expose corruption among senior officials. By September, the post had amassed 15,000 likes and 3,000 shares, with comments echoing the narrative. The investigation, conducted by Capital FM’s digital security unit, relied on a mix of forensic analysis and open‑source intelligence. According to the source account to Capital FM, the AI’s output was calibrated to resonate with supporters of Kenyatta and Gachagua by incorporating references to their past policies and public statements. A small concrete detail: a single post used a photo of Rigathi Gachagua in a 2018 rally, overlaying the caption "Energy for all—true or false?". The operation ceased in late June 2024, after a leak to the press prompted a swift response from the Kenyan Ministry of Information.
Why It Matters
Digital manipulation is not a new phenomenon in Kenya, but the use of AI to create persuasive, context‑specific content marks a significant escalation. The campaign demonstrates how automated systems can scale misinformation to reach millions without human oversight, reducing the cost and increasing the speed of political influence. Ordinary voters, who rely on social media for news, may receive distorted narratives that shape their perceptions of policy and leadership. This erosion of trust can lead to disengagement or, conversely, to radicalized support for fringe parties. In the broader African context, the incident mirrors trends seen in Nigeria and Tanzania, where state‑backed AI tools have been used to influence electoral outcomes. For everyday citizens, the practical impact is a more polarized political landscape, where misinformation can drive real‑world actions such as protests or boycotts. The Kenyan case also raises concerns about the regulatory framework for AI, as current laws do not address automated content creation or the accountability of developers. Addressing these gaps will require new legislation that balances innovation with safeguards against manipulation. The political cost is clear: a divided opposition weakens democratic checks and balances, potentially entrenching the ruling party’s hold on power.
“"This operation demonstrates how AI can turn ordinary political messaging into a weapon of division," said Dr. Amina Njeri, a political scientist at the University of Nairobi, during a live interview with Capital FM on September 2, 2024.”
What We Don’t Know Yet
Despite the investigation’s depth, several critical questions remain unanswered. The identities of the developers behind KenyAI have not been publicly disclosed; the team may have operated under a front company registered abroad, obscuring ownership. Funding sources are equally opaque, with no trace of financial records linking the operation to any political party or donor. The exact reach of the campaign is difficult to quantify: while the viral post garnered millions of impressions, it is unclear how many users were actively persuaded to change their stance on the Energy Cabinet Secret. Moreover, the long‑term effects on voter behavior remain speculative, as no post‑campaign survey has been conducted to measure shifts in opinion. The Kenyan government’s response, including potential investigations into the developers and the possibility of criminal charges, has not yet materialized. Finally, the role of social media platforms in moderating or amplifying the content is still under scrutiny, with no definitive statement from Facebook or Twitter regarding compliance with local regulations.
Key Takeaways
- Kenya’s Capital FM traced an AI‑driven campaign targeting former leaders Kenyatta and Gachagua.
- The operation, active from July 2023 to June 2024, promoted a fabricated Energy Cabinet Secret narrative.
- Digital manipulation with AI raises new legal gaps, as current Kenyan laws do not address automated content creation.
- The campaign’s scale and speed highlight the growing risk of AI‑driven misinformation in elections.
- Future investigations will focus on developer identities, funding, and potential legal actions by the government.
What to Watch
In the next 24 to 72 hours, several developments could clarify the situation. The Kenyan Ministry of Information is expected to release an official statement on the investigation’s findings, potentially naming the developers or indicating the origin of the AI system. President William Ruto’s spokesperson may comment on whether the administration will pursue legal action against those involved. Social media analytics firms, such as Brandwatch, will likely publish a real‑time dashboard of the campaign’s spread, offering insights into engagement metrics. The Kenyan Parliament’s Committee on Information Technology is scheduled to hold a hearing on digital misinformation on September 5, 2024; testimonies from tech experts and political analysts will be pivotal. Key individuals to monitor include Dr. Amina Njeri, who may provide expert commentary, and the chief technology officer of the Ministry, who could reveal policy changes. Observers should also watch for any regulatory proposals aimed at tightening AI content controls, as well as potential international cooperation with the United Nations Office on Drugs and Crime (UNODC) to address transnational misinformation networks.
The AI system used a neural network trained on 3 million Kenyan tweets, according to a report by Capital FM.
The revelation of an AI‑based influence campaign against Kenya’s opposition leaders underscores the fragility of democratic processes in the digital age. While the immediate effects on voter sentiment are still being measured, the incident serves as a stark reminder that technology can be weaponized to shape political

