When the Drafter is Algorithmic: Rethinking Pleading Rules in the Age of Artificial Intelligence

Introduction

The integration of Artificial Intelligence (AI) into contemporary legal practice has revolutionised how legal professionals approach their work.1 AI offers opportunities for efficiency and access to justice through its key applications such as legal research and document review.2 On the downside, the rapid adoption of AI raises significant concerns about ethical implications, legal accountability, and the potential for systemic bias.3 These challenges necessitate the crafting of a balanced legal framework that fosters innovation while safeguarding fundamental legal principles.4 Within this broader debate, one particularly pressing issue is the use of AI tools in drafting pleadings as evident from the case underpinning this commentary.5 This emerging practice presents distinct legal and ethical concerns, yet the Kenyan legal system has yet to craft a regulatory framework to govern the use of AI in legal drafting.6 This regulatory gap may lead to judicial decisions that resolve the immediate dispute but fall short of providing a forward-looking approach to the responsible integration of AI in Kenya’s legal system.

The 2025 case of Savla v Commission on Administrative Justice ended in favour of the applicant.7 Justice J. Chigiti declared that the Commission on Administrative Justice had breached the applicant’s rights to equality, dignity, information, and fair administrative action.8 The court also ordered the Commission to provide a comprehensive schedule detailing the status of all the applicants’ complaints within two months and awarded him the costs of the suit.9 The respondents appealed the decision on the grounds that their failure to file a response arose due to confusion occasioned by multiple applications filed by the respondent within a very short period of time.10 In addition, the appellants alleged that the respondents’ pleadings were generated using AI as a ground for challenging the suit.11 In April 2026, Justice J. Chigiti reversed his earlier judgment after it emerged that the respondent, Nayan Savla, had illegally relied on machine-generated pleadings.12

Paragraph eighty-one of the judgment is particularly significant, as the judge stated that using artificial intelligence to generate pleadings may give one party an unfair advantage, thereby limiting the opposing party’s access to justice. The judge further argued that personalised AI drafting tools, being outside the existing rules of drafting, depart from established practice and risk creating a litigation disaster through the lack of uniformity.

The court’s objection to AI-assisted pleadings

The drafting of Pleadings in Kenya is regulated by Order 2 of the Civil Procedure Rules. The essence of order 2 is that it regulates the substance and format of pleadings. Crucially, rule 15 allows for the striking out of pleadings with a safeguard provided in rule 14, prohibiting technical objections based on mere want of form.13 As expressly mentioned in the judgment, the rationale for having these rules of drafting is to create a universal standard that all litigants and lawyers adopt when engaging with the courts in Kenya.14 The uniformity in drafting is argued to ensure that all litigants have fair access to justice . A departure from these rules by the use of unknown tools or AI is argued as creating a litigation disaster, leaving the judges with no guidance during proceedings.15 Another argument against the use of AI in drafting pleadings is that it may confer an unfair advantage on the user over other litigants. Its use has been likened to bypassing the established rules governing the drafting of pleadings, thereby undermining fairness in the litigation process. The merits of the arguments against AI in drafting are discussed in the following section.

Critiquing the decision

Artificial intelligence and the silence of procedural rules

The need for uniformity in drafting cannot be emphasised enough; however, this should not be taken to mean that artificial intelligence has no place in legal practice. Instead, the judgment highlights the need to ensure that the adoption of AI does not alter established procedural safeguards or undermine the fairness and equal access to justice that those safeguards are intended to protect. This concern must be understood within the broader context of the legal profession’s long-standing technological evolution. Historically, the legal profession has evolved from the analogue stage to the computational stage characterized by the emergence of AI and its application to law.16 AI-powered tools are helping lawyers to save valuable time by automating tedious, time-consuming tasks such as document review, legal research, and contract drafting.17 In addition, lawyers rely on AI technology to draft documents,18 the systems backed by AI are capable of quickly producing accurate and high-quality work.19

The present decision appears to reflect a degree of reluctance towards the incorporation of artificial intelligence in legal drafting, particularly where its use may disrupt established procedural norms. This reluctance is notable given that the AI-generated pleadings themselves did not appear to contain any hallucinations or substantive inaccuracies; in that regard, a stronger basis for criticism may have been the respondent’s failure to disclose the use of AI in their preparation. However, this should not be mistaken for institutional resistance. The draft Judiciary AI Practice Directions shows a move towards disclosure requirements as opposed to outright rejection of AI in legal practice.20 The prevailing judicial approach seems to be one of regulated integration rather than outright rejection. The question that remains is how to achieve the effective integration of AI technology while maintaining trust and confidence, minimising risk of error and bias, and ensuring sufficient training across the legal profession.21

The concerns raised about the use of AI in the legal profession are valid and need to be addressed. The absence of comprehensive regulations governing the use of AI technology in the legal profession raises concerns about the ethical use of AI.22 Judge Chigiti rightly noted that drafting mechanisms assisted by AI are not expressly contemplated under the Civil Procedure Rules.23 However, the absence of a regulatory provision presents an invitation to consider the development of  guidelines and practice directions on the ethical use of AI in legal practice and a further considerations of implications of its use where it creates discrepancies. Responding effectively to these legal and ethical challenges will require a collaborative approach involving legal professionals, technologists, policymakers, and ethicists.24 Crucially, legal practitioners are expected to continually build AI literacy through ongoing training, and they must adhere to ethical and professional standards when using AI tools.25 A starting point for the legal field to consider, as it develops regulations that protect the ethics of the practice in light of AI use, are the pillars of privacy, confidentiality, accountability, and supervision.26 Privacy and confidentiality require informed consent, strong data protection measures, and systems to detect and address security risks.27 Accountability and supervision ensure that lawyers are trained to oversee AI, that responsibility for its use is clearly assigned, and that outputs are transparent and traceable.28

The Kenyan court system has, in recent years, demonstrated a clear capacity to adopt technological innovations that enhance the efficiency of the litigation process. This has been demonstrated through the integration of virtual courts, the electronic filing system, and the case tracking system.29 Building on this trajectory, the regulated integration of AI technologies represents a logical and progressive next step, with the potential to further improve access to justice and strengthen overall judicial efficiency.

Common concerns regarding AI use include the potential for the spread of inaccurate information through AI hallucinations.30  Hallucinations refer to a phenomenon whereby AI systems generate plausible but inaccurate or fabricated responses.31 In legal matters where precision is paramount,  inconsistency with legal doctrines and judicial precedents as a result of AI hallucinations may lead to wrong legal advice or decisions.32 Courts have, in some instances, struck out or questioned decisions due to the inclusion of AI-generated hallucinations. In Mata v. Avianca, Inc., the plaintiff’s counsel cited six fictitious judicial opinions that had been produced by ChatGPT.33 When the court challenged these citations, the submitting attorneys attempted to conceal their methodology, which prompted the judge to impose sanctions for conduct undertaken in bad faith.34 It is important to note that the present case did not identify any instance of hallucinations. The commission could not point to any fabricated citations or false cases.35

Drafting of pleadings using AI gives the user an unfair advantage over the other litigants

The most controversial part of the judgment was the argument that the use of AI to draft pleadings gave the applicant an unfair advantage over the Commission.36 The judges’ concern was that the use of AI represented a deviation from the uniform standards required of all litigants. The judge explicitly described the applicant’s personalised, machine-driven drafting methods as deplorable because they allowed the applicant to bypass the nature of legal documentation required by the rules, while his opponent had to adhere to the stated rules.37 The notion of unfair advantage in this judgment is better understood as one litigant being permitted to deviate from established rules of practice while the other adheres strictly to them. This has been misconstrued in public discourse as the use of AI tools inherently making one party more capable than the other.

The merits of this argument have already been discussed above and include the need for uniformity and the assurance that all litigants enjoy the equal benefit of the law as espoused under Article 27 of the Constitution. This argument can however be challenged to the extent that it ignores the fact that the use of AI for a self-represented litigant would serve as a levelling tool that facilitates the right to access justice under Article 48 of the Constitution. The high cost of lawyers and the complexity of the law has historically locked people out of justice, consequently, this judicial deficit has perpetuated poverty and compromised fundamental rights.38 AI systems can help bridge this gap by simplifying complex legal doctrines, thereby reducing structural barriers to understanding the law without a lawyer and enabling more accessible, lower-cost legal assistance.39 Proponents of AI often frame it as a powerful equaliser in a society marked by deep inequalities,40 particularly within the legal profession, where legal fees and the complexity of the law create significant barriers to access. Properly deployed, AI is not intended to replace lawyers, but to expand access to justice by supporting self-represented litigants and helping laypersons navigate complex legal issues.41 However, its use must be approached with caution, especially given the risks posed by AI-generated inaccuracies or hallucinations.

The question of strict compliance with set rules of procedure is of central importance to the argument. The judge argued that the court could neither tell the technology used to draft the pleadings nor the commands that the applicant gave to the computer to generate the results that he generated through AI.42 This section of the judgment significantly contrasts with what Order 2 of the Civil Procedure Rules envisioned. Order 2 rule 3(1) focuses on the final output and does not mandate the litigant to explain their drafting process, research methodology, or the specific software used.43 Rule 4 provides an explicit list of matters that a party is legally required to plead specifically, yet none of the judge’s requirements fall within these rules.44 Rule 16 provides that a pleading is perfected by the signature of an advocate or the party suing.45 The law only regulates the final commitment to the facts, not the process. The human drafter remains solely responsible for the sworn facts. In the judgment, the applicant had verified the pleadings and argued personal responsibility for all factual statements on oath.46 On this basis, the judges’ reasoning appears to conflate the uniformity of an applicable standard and that of the method used to meet the standard. The decision raises questions as to the presumed additional obligations to litigants which are not prescribed under the rules.

David Engstrom posits that rules in the context of legal proceedings should be treated as protective guardrails rather than barriers.47 Arguably, the strike-out order can be interpreted as more of a barrier as it does not mandate correcting the AI-assisted pleading or require verification of its contents; it simply eliminates the litigant’s access to the court on the basis of the tool used, not the quality of the output.

As courts continue to evaluate the appropriate role of AI in judicial processes, they can start by implementing pilot projects such as encouraging controlled experiments in low-stakes cases, to compare AI-assisted motions with traditional drafting.48 Alongside these practical trials, regulatory efforts should focus on reinforcing practitioners’ professional duty to verify, edit, and ultimately take responsibility for AI-generated outputs. A lawyer is mandated to always review the work product of a generative AI just as the lawyer must do so for the work of non-lawyer assistants, such as paralegals.49

Beyond professional legal practice, AI also presents an opportunity to reduce legal costs and improve access to justice. To tackle the issue of legal fees as a barrier to court access, self-represented litigants should be encouraged to leverage and guide computer-driven legal assistance.50 With appropriate regulation and clear institutional guidance, AI therefore has significant potential to enhance both the accessibility and effectiveness of Kenyan courts.

Conclusion

The decision in Savla v Commission on Administrative Justice represents one of the earliest judicial confrontations in Kenya with the use of artificial intelligence in litigation. While the court’s concerns regarding fairness, procedural uniformity, and the risk of misuse are legitimate, its approach ultimately conflates the method of drafting with the legal sufficiency of the final pleading. The Civil Procedure Rules regulate what pleadings must contain and how parties assume responsibility for them; they do not prescribe the technological tools through which those pleadings are prepared. This raises an important policy question for lawmakers as to whether the rules should be reviewed in light of the growing use of artificial intelligence in litigation. In this regard, a key research question emerges: whether the current procedural framework adequately accommodates the use of AI in legal drafting, or whether it reveals gaps that require reform. Against this background, this commentary has argued that the absence of explicit procedural authorisation for AI should not be construed as a prohibition. Rather, it ought to be understood as a regulatory gap that calls for deliberate reform.

Closely supervised AI has the potential to reduce litigation costs, improve efficiency, and expand access to justice. The appropriate judicial response, therefore, is not exclusion, but regulation: clear professional guidelines, mandatory human oversight, and procedural safeguards capable of detecting inaccuracies and preventing abuse. In this way, procedural rules can serve as guardrails that preserve the integrity of the legal process while allowing Kenya’s legal system to evolve with technological change.

Image was generated using Adobe Firefly.

1 Enas Mohammed, Ahmed Qtaishat, Anas Mohammed, Exploring the role of AI in modern legal practice: opportunities, challenges and ethical implications, Journal of Electrical Systems, 3030, 2024, https://pdfs.semanticscholar.org/7828/77a8679e1811ad00094d934faee36c23ea1a.pdf accessed on 13 May 2026.

2 Ibid.

3 Yatama Zahra, Regulating AI in legal practice: challenges and opportunities, 3 Journal of Computer Science Application and Engineering, 2025, 10.

4 Ibid.

6 Paragraph 85 of the judgment; The rules committee has not yet amended nor introduced drafting tools or mechanisms that are assisted by electronic tools, technology or artificial intelligence.

7 Savla v Commission on Administrative Justice (Application E120 of 2025).

8 ibid

9 ibid

10 Paragraph 3: It is the applicant’s case that failure to file a response arose due to confusion occasioned by multiple applications filed by the Respondent within a very short period of time, namely, The Originating Motion dated 24th September 2025, an application dated 25th November 2025 and The Amended Originating Motion dated 3rd December 2025, which was never served upon the Respondent.

11 Paragraph 45; He argues that the applicant’s allegation that his pleadings were generated through AI can’t stand since the applicant did not tender any proof at all by way of metadata, forensic report, identified fabricated authority, false quotation nor identified inaccurate citation.

12 Paragraph 91; The court was misled into embracing pleadings, which were a machine generated, and a judgment that flows from this illegal process cannot stand. The same must be set aside which I hereby I do.

13 Order 2, rule 15: 1)At any stage of the proceedings the court may order to be struck out or amended any pleading on the ground that—(a)it discloses no reasonable cause of action or defence in law; or(b)it is scandalous, frivolous or vexatious; or(c)it may prejudice, embarrass or delay the fair trial of the action; or(d)it is otherwise an abuse of the process of the court; rule 14: No technical objection may be raised to any pleading on the ground of any want of form.

14 Paragraph 78: The rationale behind having the rules of drafting cannot be gain said. It creates a universal standard in the pleadings that all litigants and lawyers use and adopt when engaging with the courts in Kenya.

15 Para 80: To allow a departure from the rules of drafting will create a litigation disaster, leaving the judges with no guiding beacons to propel the proceedings. This will ultimately reflect on the judgments that are informed by such an unregulated terrain.

16 Albert H Yoon, Technological challenges facing the judiciary, Cambridge University Press, 2 February 2023- https://www.cambridge.org/core/books/legal-tech-and-the-future-of-civil-justice/technological-challenges-facing-the-judiciary/88715E4AE8EA80E526D752949C155F04 accessed on 25 April 2026.

17 Manjari Singh, review on role of artificial intelligence in the life of legal profession, 6 International Journal of Legal Science and Innovation 3, 1088.

18 Bucher Andrea, Navigating the Power of Artificial Intelligence in the Legal Field (2025), 62Houston Law Review, 824.

19 Ibid, 7.

20 Para 11, Draft Practice Directions on the use of AI in courts, A litigant in person who has used an AI tool in the preparation of any document filed in court shall include a disclosure statement in the form set out in Annex B to these Practice Directions.

21 International Bar Association and The Center for AI And Digital Policy, The future is now: Artificial Intelligence and The Legal Profession, 2024, 6.

22 Meni Aprianil, Joemarthine Chandra, Nabila Aliya, The Impact of Artificial Intelligence on the Legal Profession, 1 Journal of Law, Society and Living Norms(2025), 58.

23 Paragraph 85 of the judgment; The rules committee has not yet amended nor introduced drafting tools or mechanisms that are assisted by electronic tools, technology or artificial intelligence.

24 Enas Mohammed et al, Exploring the role of AI in modern legal practice: opportunities, challenges and ethical implications, Journal of Electrical Systems, 3045.

25 Enas Mohammed et al, Exploring the role of AI in modern legal practice: opportunities, challenges and ethical implications, Journal of Electrical Systems, 3046.

26 Bucher Andrea, navigating the power of Artificial Intelligence, 842.

27 Ibid, 841.

28 Ibid, 841.

29 Commonwealth Secretariat, Developing a People-Centered Access to Justice Strategy: A Blueprint for Social Transformation in Kenya and Beyond, 2026 https://thecommonwealth.org/publications/developing-people-centred-access-justice-strategy-blueprint-social-transformation-kenya-and-beyond/implementation-staj-blueprint accessed on 14 May 2026.

30 Meni Aprianil et al, The impact of Artificial Intelligence in the Legal Field, 61.

31 Bakht Munir, Hallucinations in legal practice: A comparative case law analysis, International Journal of Law, Ethics and Technology, 18 June 2025, https://ssrn.com/abstract=5265375 accessed on 14 May 2025.

32 Ibid.

33 Dylan Restrepo, Nicholas Restrepo, Frank Huo and Neil Johnson, When AI output tips to bad but nobody notices: Legal implications of AI’s mistakes, Cornell University, 25 March 2026, 1-2, https://arxiv.org/abs/2603.23857 accessed on 14 May 2025.

34 Ibid, 2.

35 Paragraph 61: It is his case that his documents contain no fabricated cases, false citations, or invented quotations identified by CAJ and the allegation is therefore speculative, scandalous and irrelevant to the core question whether CAJ was served and whether it acted diligently.

36 Paragraph 81: The generation of pleadings through unknown tools or artificial intelligence gives an unfair advantage to the person drafting using such tools.

37 Paragraph 80: The fact that the applicant acts in person does not give him leverage or permission adopt his unique drafting tools, structures and methodologies that are exclusively available to him. To allow that would enable him to unfairly enjoy a higher hand over the Commission. When it comes to the duty to comply with the rules of draft pleadings all litigants must be placed on an equal playing ground unless otherwise permitted by the court. The use of personalized drafting tools, structures and methodologies that are not provided for under the rules of drafting like the ones the Applicant has admittedly used is deplorable.

38 Ashwin Telang, The promise and peril of AI legal services to equalize justice, Harvard Journal of Law and Technology, 14 March 2023-<https://jolt.law.harvard.edu/digest/the-promise-and-peril-of-ai-legal-services-to-equalize-justice> accessed on 27 April 2026.

39 Ibid.

40 Lisa Kagel, AI for social impact: transforming communities through innovation, TechnoServe, https://www.technoserve.org/blog/ai-for-social-impact/ accessed on 14 May 2026.

41 Mostafa Suliman, Pro se advocacy in the AI era: Benefits, challenges, and ethical implications, New York State Bar Association, 10 February 2026, https://nysba.org/pro-se-advocacy-in-the-ai-era-benefits-challenges-and-ethical-implications/ accessed on 14 May 2026.

42 Paragraph 87: The court cannot tell which tools or technology the ex parte applicant used to draft the pleadings as of today. He did not furnish the court with the names of the tools nor tell the court how they work. It is next to impossible for the court to know the commands that the applicant gave to the computer to generate the results that he generated through tools or AI.

43 Order 2, Rule 3(1), Civil Procedure Rules: Subject to the provisions of this rule and rules 6, 7 and 8, every pleading shall contain, and contain only, a statement in a summary form of the material facts on which the party pleading relies for his claim or defence, but not the evidence by which those facts are to be proved, and the statement shall be as brief as the nature of the case admits.

44 Order 2, Rule 4, Civil Procedure Rules: A party shall in any pleading subsequent to a plaint plead specifically any matter, for example performance, release, payment, fraud, inevitable accident, act of God, any relevant Statute of limitation or any fact showing illegality—(a)which he alleges makes any claim or defence of the opposite party not maintainable;(b)which, if not specifically pleaded, might take the opposite party by surprise; or(c)which raises issues of fact not arising out of the preceding pleading.

45 Order 2, rule 16, Civil Procedure, Rules: Every pleading shall be signed by an advocate, or recognised agent (as defined by Order 9, rule 2), or by the party if he sues or defends in person.

46 Paragraph 62: He argues that he used ordinary digital tools (including legal research tools) to assist in writing, but he personally reviewed, edited and adopted every document, and he remains personally responsible for all factual statements on oath and legal citations.

47 Stephanos Bibas, Lawyer’s Monopoly and the Promises of AI, The Yale Law Journal Forum(2025), 929.

48 Ibid.

49 John Browning, Robot lawyers don’t have disciplinary hearings—real lawyers do: the ethical risks and responses in using generative artificial intelligence, 40 Georgia State University Law Review, 950.

50 Stephanos Bibas, Lawyer’s monopoly and the promises of AI, 929.

Stay Updated

Subscribe to our newsletter to receive the latest research, publications, and blog posts directly in your inbox.