Understanding Kenya's emerging AI regulatory framework, data protection obligations, corporate liability and the legal risks facing businesses.
A bank rejects a loan application after an automated system assesses the applicant as high-risk. An employer uses software to shortlist candidates, unaware that the system may be excluding qualified applicants on discriminatory grounds. A professional adviser relies on a computer-generated report that contains information which turns out to be inaccurate.
In each situation, technology has influenced a decision with potentially serious consequences. But when that decision is challenged, who is answerable?
Is it the company that developed the software, the institution that purchased it, or the person who relied on its conclusions?
These questions are becoming increasingly relevant in Kenya as businesses, financial institutions, public agencies and professional firms incorporate artificial intelligence into their operations.
The legal difficulty is not simply that technology is advancing faster than legislation. It is that established legal principles must now be applied to decisions produced through systems whose internal processes may be difficult to understand, explain or independently verify.
For businesses, the central question is no longer whether artificial intelligence can improve efficiency. It is whether the organisation can demonstrate that its use of the technology is lawful, fair and accountable.
1. Does Kenya Have a Legal Framework for Artificial Intelligence?
Kenya has taken important steps towards developing a national approach to artificial intelligence.
The Kenya National Artificial Intelligence Strategy 2025–2030, launched in March 2025, sets out the Government's policy direction for the development and adoption of AI. It addresses matters such as digital infrastructure, data governance, innovation, research and commercialisation.
The strategy is significant because it recognises artificial intelligence as an important part of Kenya's economic and technological development.
However, a national strategy is not the same thing as legislation. It does not, by itself, establish a comprehensive statutory liability regime for every AI developer, supplier or user.
That distinction matters.
A business considering the deployment of an automated decision-making system must examine the existing legal obligations applicable to its activities. Depending on the circumstances, those obligations may arise under:
- The Constitution of Kenya, 2010.
- The Data Protection Act, 2019.
- The Consumer Protection Act, 2012.
- The Employment Act, 2007.
- The Evidence Act, Cap. 80.
- The Copyright Act, 2001.
- Applicable financial services legislation and sector-specific regulatory requirements.
- General principles of contract, negligence and civil liability.
The absence of a single comprehensive AI statute does not mean that businesses operate in a legal vacuum.
Consider an employer who relies on an automated system to terminate an employee's employment. The employer cannot avoid the requirements of the Employment Act merely because the recommendation originated from software.
Likewise, a financial institution cannot assume that automated processing removes its obligations to customers under applicable financial, consumer protection and data protection laws.
The law continues to regulate the underlying activity even when the means of carrying it out have changed.
2. Who Is Responsible When an Automated Decision Causes Loss?
Responsibility for an automated decision is likely to become one of the more difficult questions in technology-related litigation.
Traditionally, determining liability involves identifying a legal duty, examining the conduct complained of and establishing whether that conduct caused a legally recognisable loss.
Artificial intelligence complicates that analysis because several parties may participate in producing a single outcome.
A software developer may design the system. A technology company may supply it. Another organisation may integrate it into its operations. An employee may then rely on its recommendation when making a decision affecting a customer.
If the decision causes loss, the existence and extent of each party's liability will depend on the applicable legal duties, contractual arrangements, facts and evidence.
It would be incorrect to assume that the developer is always responsible. It would be equally incorrect to suggest that the organisation deploying the technology must invariably bear every resulting loss.
For instance, a business may have a contractual claim against a technology supplier if the system fails to perform according to agreed specifications. A person affected by an unlawful decision may have a separate claim against the organisation responsible for making that decision.
These claims may arise from different legal relationships.
The difficulty becomes greater where a system produces an inaccurate conclusion without an obvious programming defect. A claimant may need to establish whether the problem arose from defective data, inappropriate deployment, inadequate supervision or another identifiable cause.
Businesses should therefore examine three matters before relying on automated systems:
- The decision: What is the system authorised to determine, and what remains subject to human approval?
- The responsibility: Which party is contractually and legally responsible for the system's performance and its use?
- The evidence: Can the organisation reconstruct how a disputed decision was reached?
A contractual disclaimer stating that software may produce errors does not necessarily resolve every question of liability. Its effect will depend on the applicable law, the wording of the contract and the nature of the claim.
The more consequential the decision, the more important it becomes to establish a clear chain of responsibility.
3. Data Protection: The Legal Problem Behind Automated Decision-Making
Much of the information required to operate modern AI systems originates from individuals.
Businesses hold employee records, customer correspondence, financial information, medical records and other forms of personal data. The fact that this information is already held lawfully does not mean it can automatically be used for every technological purpose.
Kenya's Data Protection Act, 2019 establishes obligations concerning the collection, use, disclosure and security of personal data.
Section 35 is particularly relevant.
It recognises a data subject's right not to be subjected to a decision based solely on automated processing, including profiling, where that decision produces legal effects or similarly significant consequences.
The provision contains specified exceptions, including certain contractual circumstances, decisions authorised by law with appropriate safeguards, and decisions based on consent. It also provides mechanisms through which affected persons may seek reconsideration or a decision that is not based solely on automated processing.
Consider a lending institution that automatically rejects a customer's application using a system that assesses spending patterns, transaction histories and other personal information.
The legal questions extend beyond whether the system accurately predicts credit risk.
They may include whether the information was processed lawfully, whether the decision falls within section 35, whether the customer received the required notification and whether the institution can comply with a valid request for reconsideration.
The same concerns may arise in recruitment, insurance, healthcare and other activities involving consequential automated assessments.
An organisation introducing such systems should establish:
- The lawful basis for processing the information.
- Whether the data was collected for a compatible purpose.
- Whether individuals have received the required information about processing.
- Whether a data protection impact assessment is necessary.
- Whether the system creates risks of inaccurate or discriminatory outcomes.
- Whether applicable rights to human intervention or reconsideration can be exercised.
- Whether personal data is transferred outside Kenya and, if so, under what legal safeguards.
A further difficulty arises where businesses submit confidential information to external technology platforms.
An employee who uploads customer records to an AI service may create legal exposure even where the intention was merely to improve efficiency.
The relevant question is not simply whether the platform is secure. It is whether the business was legally entitled to disclose the information to that provider in the first place.
4. Can an Algorithmic Decision Violate Constitutional Rights?
The use of automated systems by public institutions raises questions that go beyond ordinary contractual relationships.
The Constitution of Kenya, 2010 protects rights that may be affected by the way such systems are designed and deployed.
Article 27 guarantees equality and freedom from discrimination. Article 31 protects privacy. Article 47 guarantees fair administrative action, while Article 50 protects the right to a fair hearing in proceedings to which it applies.
These provisions may become relevant where automated systems influence public decisions concerning licensing, eligibility for public services, regulatory enforcement or other administrative matters.
Suppose a public authority introduces a system that automatically identifies businesses for enforcement action based on predetermined indicators.
The authority may have a legitimate reason for using technology to improve regulatory efficiency.
However, if a person is adversely affected, questions may arise concerning the legal basis of the decision, the fairness of the procedure, the accuracy of the information used and the availability of reasons and appropriate remedies.
A public authority cannot assume that a computer-generated determination is beyond legal scrutiny merely because it was produced through a technical process.
At the same time, not every use of an automated system constitutes unlawful administrative action. The constitutional analysis must consider the nature of the decision, the authority exercising the power, the applicable legal requirements and the actual effect on the affected person.
A further challenge concerns transparency.
Where a decision is based on a system whose reasoning is difficult to explain, how can an affected person meaningfully challenge the outcome?
This is not merely a technological concern. It goes to the practical ability to exercise legal rights.
The question Kenyan courts may increasingly confront is whether an institution has provided sufficient reasons for a decision when the underlying assessment was substantially automated.
5. Artificial Intelligence and Evidence in Kenyan Courts
The use of artificial intelligence in legal practice introduces a distinction that deserves particular attention: the difference between information generated by a system and evidence capable of proving a fact.
A computer-generated summary may be useful in understanding a lengthy document. An automated transcription may assist an advocate reviewing proceedings. A research tool may identify potentially relevant authorities.
None of these functions automatically establishes that the resulting material is accurate or admissible.
The Evidence Act provides the framework for the treatment of electronic records, including sections 78A, 106A and 106B.
Section 106B addresses the admissibility of specified forms of computer output and the conditions applicable to their production. The requirements must be considered in the context of the particular electronic record and the manner in which it is tendered.
However, admissibility is not the same thing as reliability.
An electronic record may satisfy the applicable formal requirements while remaining open to challenge concerning its accuracy, authenticity, interpretation or evidential weight.
The distinction becomes particularly important where artificial intelligence has transformed the original material.
For example, an automated transcription of a witness's testimony may contain errors arising from background noise, overlapping speech or the misidentification of speakers.
If the transcript is subsequently relied upon in litigation, the party producing it may need to explain its relationship to the original recording and the steps taken to verify its accuracy.
Similarly, a generated report may contain statements that do not appear in the underlying documents.
The practical safeguards should include:
- Preserving original electronic records wherever possible.
- Maintaining a reliable record of how material was obtained and processed.
- Distinguishing original evidence from generated summaries or interpretations.
- Verifying quotations, statutory provisions and judicial authorities against their sources.
- Identifying material alterations, corrections and uncertainties.
- Ensuring compliance with applicable evidentiary requirements before production in court.
For advocates, the professional obligation to exercise independent judgment does not disappear when a technological tool is used.
A legal submission containing a fabricated authority remains defective regardless of whether the error originated from an automated research platform.
The value of technology in legal practice therefore depends not only on the speed at which information can be produced, but also on the ability to verify its accuracy.
6. The Employment Relationship: Can an Employer Rely on AI to Make Personnel Decisions?
Employers are increasingly able to automate recruitment, performance assessments, workplace monitoring and disciplinary screening.
These systems may improve consistency and reduce administrative work. They may also introduce risks that are not immediately apparent to the employer.
A recruitment tool trained on historical employment data may reproduce patterns of exclusion. A performance assessment system may draw conclusions from incomplete information. Workplace monitoring software may collect more personal information than is reasonably necessary.
Under Kenyan employment law, the employer remains subject to applicable statutory duties concerning fair labour practices, lawful termination and procedural fairness.
Sections 41, 43 and 45 of the Employment Act are particularly relevant when considering termination of employment.
An employer cannot ordinarily establish the fairness of a dismissal merely by producing a computer-generated recommendation.
It must still demonstrate compliance with the applicable legal requirements, including the existence of a valid and fair reason and the observance of the required procedure.
This is especially important where an automated system has influenced a decision but the employer cannot explain the information or criteria on which the recommendation was based.
For employers, the better approach is to use technology to support personnel decisions rather than to replace the exercise of legally required judgment.
Where automated tools materially influence employment outcomes, their operation should be capable of appropriate review and challenge.
7. Corporate Governance: What Should Company Directors Be Asking?
The decision to introduce artificial intelligence into a business is often treated as a matter for the information technology department.
That approach becomes inadequate when the technology influences financial decisions, regulatory compliance, customer relationships or the handling of confidential information.
Under the Companies Act, 2015, directors owe statutory duties to their companies, including duties concerning the exercise of reasonable care, skill and diligence.
These duties do not create automatic personal liability whenever a technology system fails. They do, however, make the adequacy of corporate decision-making and oversight relevant.
A board approving a substantial technology investment should understand the commercial purpose of the system, its material risks and the safeguards required for its operation.
It should also consider whether management has the expertise and resources necessary to supervise the technology.
Before approving a consequential AI deployment, directors should ask:
- What business problem is the technology intended to solve?
- What information will it access or process?
- What decisions will depend on its output?
- Has the supplier's performance been independently assessed?
- What contractual remedies exist if the system fails?
- Can the business suspend or reverse its use where serious errors are identified?
- How will complaints, incidents and regulatory inquiries be handled?
These questions are not intended to discourage technological adoption.
They reflect an ordinary principle of corporate governance: material business risks should be understood before an organisation commits itself to them.
8. Intellectual Property: Who Owns Work Produced With Artificial Intelligence?
The commercial use of generative systems has introduced uncertainty into the ownership and protection of creative and technical work.
Businesses now use such systems to produce software code, advertising materials, designs, reports and other commercially valuable content.
However, purchasing access to a platform does not necessarily mean that every output is protected by copyright or that the customer acquires unrestricted ownership rights.
Kenya's Copyright Act, 2001 governs copyright protection, including the treatment of eligible works and questions of authorship and ownership.
The legal analysis may depend on the nature of the work, the human contribution involved and the relevant statutory provisions.
Contractual terms are also important.
A technology supplier may grant broad rights to use outputs while imposing restrictions on particular forms of exploitation. An organisation may also encounter problems where generated material reproduces protected third-party content.
For technology founders, these questions can affect the value of the business itself.
A company developing software should ensure that its contracts with employees, consultants and external developers properly address ownership and licensing.
Where proprietary information is used to develop or improve a system, the company should also consider confidentiality, trade secrets and restrictions on subsequent use.
The central commercial concern is whether the business possesses the rights necessary to exploit, license, transfer or sell the technology it has developed.
These matters are particularly important during investment transactions and acquisitions, when intellectual property ownership may form a substantial part of the company's valuation.
9. The Problem With Technology Contracts
Many businesses adopt software services by accepting standard contractual terms without examining the allocation of legal and commercial risk.
This may be convenient for ordinary consumer applications. It can be problematic where the technology performs an important business function.
Consider a company that depends on an external platform to process customer transactions or manage confidential records.
If the provider suddenly suspends the service, loses data or changes its contractual terms, the consequences may extend beyond inconvenience.
The company may face operational disruption, contractual claims from its own customers and regulatory exposure.
A technology contract should therefore be examined in light of the actual business risks involved.
Particular attention should be given to:
- Service obligations: What performance standards has the provider undertaken to meet?
- Data ownership and access: Can the customer retrieve its information in a usable form?
- Confidentiality: What restrictions apply to the provider's use of business information?
- Liability: Which losses are recoverable, and what limitations or exclusions apply?
- Intellectual property: Who owns customised software, improvements and related materials?
- Termination: What happens to business data and ongoing operations when the agreement ends?
- Dispute resolution: Which law governs the agreement, and where will disputes be determined?
Where a supplier operates outside Kenya, these questions may become more complicated.
A favourable contractual clause may offer limited practical protection if enforcement against the supplier is prohibitively expensive or otherwise difficult.
Businesses should therefore consider not only the rights stated in an agreement, but also whether those rights can realistically be enforced.
10. Does Kenya Need a Dedicated Artificial Intelligence Law?
The development of a dedicated legislative framework presents a genuine policy question.
One argument in favour of comprehensive legislation is that existing laws were not designed specifically for systems capable of generating content, making predictions and influencing decisions at scale.
A dedicated framework could clarify responsibilities, establish risk-based obligations and provide more specific rules concerning transparency, oversight and accountability.
However, comprehensive legislation also presents difficulties.
Technology changes quickly. A law drafted around particular technical methods may become outdated, while excessively prescriptive requirements could impose disproportionate burdens on smaller businesses and emerging innovators.
Kenya must therefore consider how to protect individuals and markets without unnecessarily restricting beneficial innovation.
There is also a distinction between regulating the technology itself and regulating the activities for which it is used.
An automated tool used to organise internal documents does not ordinarily present the same level of risk as a system used to determine access to credit, assess medical information or influence public enforcement decisions.
A proportionate regulatory approach should recognise those differences.
In our view, Kenya's immediate priority should include effective application of existing laws, clearer sector-specific guidance and stronger institutional capacity to assess technologically complex disputes.
A dedicated statutory framework may provide additional certainty, but it should complement rather than displace established constitutional and legal protections.
11. What Kenyan Businesses Should Do Before Deploying AI
Businesses do not need to wait for new legislation before addressing the risks arising from artificial intelligence.
A company considering the adoption of automated systems should begin by identifying the activities for which the technology will be used and the legal consequences of those activities.
The necessary safeguards will differ according to the nature of the business.
A small enterprise using software to prepare routine marketing material will face a different risk profile from a bank using automated systems to evaluate credit applications.
Nevertheless, several principles apply across sectors:
- Establish responsibility: Identify the persons authorised to approve, supervise and review the system's use.
- Protect information: Determine whether personal or confidential data may lawfully be disclosed to the provider.
- Verify important outputs: Do not rely on generated information without appropriate review where accuracy is material.
- Review contractual exposure: Examine warranties, liability provisions, confidentiality and data access arrangements.
- Preserve records: Maintain sufficient documentation to investigate disputed decisions and demonstrate compliance.
- Assess consequential decisions: Provide appropriate human oversight where legal rights or significant interests may be affected.
- Review the arrangement periodically: Reassess legal and operational risks when the system, provider or business use changes.
These measures should be proportionate to the risks involved.
The objective is not to create unnecessary administrative procedures. It is to prevent an organisation from discovering its legal exposure only after a dispute has arisen.
12. Our Perspective: Technology Cannot Become a Substitute for Accountability
The growing use of artificial intelligence presents an important opportunity for Kenya.
Businesses can become more productive, public institutions can improve service delivery, and technology developers can create products capable of serving markets well beyond the country's borders.
The law should support those developments.
However, innovation should not come at the expense of accountability.
An individual affected by an unlawful decision should not be left without an effective remedy merely because the decision was influenced by an algorithm. A company should not be permitted to disregard its statutory obligations because a technology provider recommended a particular course of action.
Equally, technology developers should not be exposed to unlimited or undefined liability simply because their products are capable of being misused.
The law must distinguish between the responsibilities of those who develop systems, those who deploy them and those who make consequential decisions using their outputs.
That distinction requires careful attention to contractual relationships, statutory duties, causation and evidence.
Kenya's existing legal framework already provides important starting points. The challenge is to apply those principles consistently while recognising the particular characteristics of emerging technologies.
The question for businesses is therefore not whether they should embrace artificial intelligence.
It is whether they are prepared to accept and manage the legal responsibilities that accompany its use.
Advocate's Note
Artificial intelligence may change how decisions are reached, but it does not remove the need for lawful conduct, sound corporate governance or reliable evidence.
Before introducing automated systems into consequential business operations, organisations should examine the applicable regulatory obligations, contractual arrangements, data protection requirements and allocation of responsibility.
Kago Mburu Advocates advises businesses, technology developers and investors on commercial agreements, regulatory compliance, data protection, corporate governance and disputes arising from emerging technologies.
Legal risk should be considered when the technology is being adopted, not only when its use becomes the subject of a dispute.
