The High Court has given the government six months to complete the development of a national policy and legal framework governing use of artificial intelligence (AI) in the country, declining to compel Parliament to enact legislation within 90 days.
Justice Edward Muriithi said the State has a constitutional obligation to take legislative, policy and other measures to protect Kenyans from violations of their fundamental rights, including access to healthcare, adequate housing, sanitation, food, clean water, social security and education.
However, he said the Executive and Parliament must be allowed to complete the ongoing process of developing an AI policy and legislation within a reasonable period, rather than having the court dictate the content or timetable of new laws.
Members of the National Assembly follow proceedings during a past session.
Photo credit: File | Nation Media Group
The court orders followed a petition filed by rights activists John Wangai, Peter Agoro and Antony Manyara challenging the absence of a comprehensive framework governing AI systems used across many public offices.
They cited automated tools affecting health insurance, national examinations, recruitment, traffic enforcement, policing and education funding.
They sought to stop alleged high-risk uses pending development of safeguards, including automated exam marking, AI-assisted public recruitment, smart cameras and biometric trackers for instant traffic fines, and facial-recognition surveillance linked to predictive policing.
The petitioners argued that several government agencies were already using, or preparing to deploy, artificial intelligence systems in public services without a comprehensive legal framework to protect citizens.
They identified the Social Health Authority (SHA), which they alleged was using an algorithm to determine or adjust household health insurance contributions; the Kenya National Examinations Council (Knec), over alleged automated marking, grading and generation of examination results; and the Public Service Commission (PSC), over alleged AI-powered shortlisting, ranking and interviewing of candidates for public jobs.
They also cited the National Transport and Safety Authority (NTSA), claiming it was using smart cameras and biometric trackers linked to automated traffic fines and licence demerit points.
The petitioners further accused the Inspector-General of Police and the Ministry of Interior of deploying AI-integrated surveillance cameras with real-time facial recognition and predictive policing systems.
They also questioned the alleged use of AI-based poverty-scoring models by the Ministry of Education to determine bursaries, scholarships, school funding and Higher Education Loans Board allocations.
They warned that uncontrolled deployment of such technologies could expose Kenyans to deepfakes, election interference, discrimination through automated decisions, job losses, consumer harm, threats to academic integrity and misuse of intellectual property. Other risks cited include cited discrimination, privacy violations, denial of services, identity theft, consumer harm and misuse of intellectual property.
Other systems identified included poverty-scoring models used to allocate bursaries, school capitation and Higher Education Loans Board funding.
CCTV cameras installed on Moi Avenue. The cameras will capture traffic offenders and ensure security within the city.
Photo credit: File | Nation
The petitioners sought declarations that the government had failed to develop an AI policy and law, and orders compelling the Cabinet Secretary and Principal Secretary to prepare a framework and table legislation within separate 90-day periods.
However, the court found that the petitioners had not proved specific constitutional violations. “In the present petition, the court finds that the petitioners have not proved a violation or threat to any right by the respondents,” it said.
SHA said its means-testing model used public data, including the 2021 Kenya Continuous Household Survey. It cited an appeal process for members and denied tracking or profiling individuals.
SHA added that 202,282 members had appealed their assessments. Successful appeals reduced total assessed contributions from Sh58.5 million to Sh54.6 million, a reduction of about Sh3.95 million.
The Public Service Commission also denied using AI in recruitment, saying shortlisting and selection remained manual.
The court found no evidence that Knec had deployed an AI marking system. It also found no proof that the PSC used AI-based shortlisting, ranking or automated interviews.
The government said it launched the Kenya Artificial Intelligence Strategy 2025–2030 in March 2025. It cited consultations involving public agencies, private companies, academics and county governments, and said a draft National AI and Other Emerging Technologies Policy was published in July 2026.
The strategy covers digital infrastructure, data governance, research, innovation and commercialization. The Ministry of Information, Communications and the Digital Economy invited public comments on the draft policy, setting August 4, 2026, as the submission deadline.
The judge said the Constitution sets no fixed deadline for enacting an AI law. Courts, he said, should not take over Parliament’s role or dictate the content of legislation.
“The State shall take legislative, policy and other measures, including the setting of standards, to achieve the progressive realization of the rights guaranteed under Article 43 of the Constitution,” he quoted from Article 21(2).
The court noted that existing laws also address some risks. Section 35 of the Data Protection Act protects people from decisions based solely on automated processing where these have legal effects or significantly affect them, and allows requests for reconsideration in specified circumstances.
The petitioners had not identified a specific system or proved that required safeguards were missing.
“There is no doubt that Artificial Intelligence presents serious constitutional questions of possible rights violation,” said Justice Muriithi, noting that the respondents accepted the need for responsible governance.
He said the Executive and Legislature should be allowed to complete their work within a reasonable period of time.
The court dismissed the rights-violation claims but held the delay question in abeyance for six months, allowing policy and legislative work to be completed.
The case is set to be mentioned on May 15, 2027, for further directions.