Eskwai for Students: Generative AI Assistant for Legal Education in Ghana
Summary
This paper presents Eskwai for Students, a generative AI assistant for legal education in Ghana, using retrieval-augmented generation on a database of over 12K case laws and 1.4K legislation. Deployed in a 30-month study with 3.1K law students, it provides insights into AI usage in legal education in the Global South.
View Cached Full Text
Cached at: 05/18/26, 06:31 AM
# Eskwai for Students: Generative AI Assistant for Legal Education in Ghana
Source: [https://arxiv.org/html/2605.15380](https://arxiv.org/html/2605.15380)
11institutetext:ETH Zurich, Switzerland
22institutetext:Charité \- Universitätsmedizin Berlin, Germany
33institutetext:Kwame AI Inc\., U\.S\.Philemon BaduPatrick Agyeman\-BuduSamuel AnsahEvans AtompoyaEvan IgwiloLord BaahFrederick Abu\-BonsrahVictor Kumbol
###### Abstract
Recent advances in generative AI have shown their potential to be leveraged for legal education\. Yet, work on the development and deployment of such systems for legal education in the Global South is limited\. In this work, we developed Eskwai for Students, a generative AI assistant to help law students with their legal education\. Eskwai for Students is a retrieval augmented generation \(RAG\) system that provides answers to a wide range of legal questions for law students grounded in a curated database of over 12K case laws and 1\.4K legislation in Ghana\. We deployed Eskwai for Students in a longitudinal study of 30 months \(2\.5 years\) used by 3\.1K law students in Ghana who made 32K queries\. We evaluated the helpfulness of our AI, and provided insight into the kinds of queries law students submit to this generative AI tool, which raises some ethical concerns\. This work contributes to an understanding of how law students in the Global South are using generative AI for their studies and the ways it could be leveraged responsibly to advance legal education\.
## 1Introduction
Recent advances in generative AI are reshaping legal work and education, offering new tools such as large language models \(LLMs\) and retrieval\-augmented generation \(RAG\) systems that can automate cognitive tasks, summarize legal doctrines, and assist in legal research and drafting\[[12](https://arxiv.org/html/2605.15380#bib.bib40),[13](https://arxiv.org/html/2605.15380#bib.bib39)\]\. These technologies have the potential to democratize access to legal knowledge and enhance student engagement, preparing graduates for a digitized legal profession\[[12](https://arxiv.org/html/2605.15380#bib.bib40),[5](https://arxiv.org/html/2605.15380#bib.bib7)\]\. However, the integration of generative AI into legal education presents unique challenges in the Global South, where disparities in technological infrastructure and access to curated legal data persist\[[12](https://arxiv.org/html/2605.15380#bib.bib40),[8](https://arxiv.org/html/2605.15380#bib.bib23)\]\.
Empirical studies in North America, Europe, and select Asian jurisdictions have begun to map the pedagogical opportunities and pitfalls of generative AI in legal education\[[12](https://arxiv.org/html/2605.15380#bib.bib40),[11](https://arxiv.org/html/2605.15380#bib.bib37),[2](https://arxiv.org/html/2605.15380#bib.bib3),[1](https://arxiv.org/html/2605.15380#bib.bib2),[4](https://arxiv.org/html/2605.15380#bib.bib8)\]\. These studies highlight that generative AI can effectively scaffold student understanding by providing on\-demand explanations, generating hypotheticals, and serving as a platform for critical analysis and revision of legal texts\. Notably, generative AI has been shown to boost student engagement, personalize learning experiences, and support the development of research and writing skills\[[12](https://arxiv.org/html/2605.15380#bib.bib40)\]\. Experiments with law students reveal that structured training in AI usage significantly enhances the quality of legal analysis and drafting, while unstructured or unguided exposure may lead to overreliance, superficial engagement, or the uncritical acceptance of AI\-generated outputs\[[12](https://arxiv.org/html/2605.15380#bib.bib40),[6](https://arxiv.org/html/2605.15380#bib.bib16)\]\.
Despite these insights, there is a significant gap in the literature addressing the specific needs and constraints of legal education in developing countries, where access to digitized legal databases is limited, and curricula are shaped by local statutes and case law, and socio\-political realities that may not be reflected in the training data of mainstream generative AI models\[[12](https://arxiv.org/html/2605.15380#bib.bib40),[8](https://arxiv.org/html/2605.15380#bib.bib23)\]\. This raises critical questions about the applicability, reliability, and equity of deploying generative AI tools in these contexts\.
Concerns about academic integrity, equity, and cognitive offloading are heightened in resource\-constrained environments\[[12](https://arxiv.org/html/2605.15380#bib.bib40)\]\. Issues such as plagiarism, unequal access to technology, and the risk of undermining rigorous legal reasoning are particularly salient\[[12](https://arxiv.org/html/2605.15380#bib.bib40),[3](https://arxiv.org/html/2605.15380#bib.bib6),[7](https://arxiv.org/html/2605.15380#bib.bib18)\]\. Nevertheless, generative AI holds promise for bridging gaps in access to justice and legal knowledge, especially for marginalized students\[[12](https://arxiv.org/html/2605.15380#bib.bib40)\]\.
This study addresses these gaps by evaluating "Eskwai for Students", a RAG system grounded in Ghanaian legal authorities \(12K cases and 1\.4K legislation\) and deployed over 2\.5 years with 3\.1K law students\. By assessing its effectiveness and analyzing student queries, this research contributes to understanding the opportunities and challenges of generative AI in legal education in the Global South\. Our key contributions are \(1\) the design and deployment of an AI for legal education in Ghana, and \(2\) an evaluation of its usage and utility in a real\-world learning environment in a large scale longitudinal study\.
## 2Related Work
In this section, we describe related work on using generative AI for learning support in legal education\.
In a two\-year randomized control experiment, undergraduate law students were assigned to three groups: prohibition, unguided exposure, and structured training to use ChatGPT and evaluated using multiple choice questions and a take\-home writing assignment that required open\-ended legal analysis and critical thinking\. Students who had structured training had the best scores, followed by students with unguided exposure, and lastly those who were prohibited\[[12](https://arxiv.org/html/2605.15380#bib.bib40)\]\. In a follow\-up after a year, interestingly, the performance gap between students who used AI with and without guidance reduced\[[12](https://arxiv.org/html/2605.15380#bib.bib40)\]\. In a similarly designed study, 164 undergraduate law students were assigned to three groups: no AI assistance, optional access to AI, and 10\-minute training and optional access to AI, and evaluated on an issue\-spotting task\.\[[6](https://arxiv.org/html/2605.15380#bib.bib16)\]Training significantly improved AI adoption \(15%\) and examination performance \(27%\)\. In contrast, access without training did not improve performance\. After decomposing the overall effect by principal stratification, it was found that training primarily increases the number of students who use AI rather than enhancing the scores of individual students\[[6](https://arxiv.org/html/2605.15380#bib.bib16)\]\. These two studies show that providing guidance or structured training improves generative AI usage and learning outcomes\. However, students can develop mastery with long\-term use even without initial guidance\.
In contrast, some studies also report a mixed effect\. For instance, in a study that evaluated 206 law students on a task that required reviewing legal complaints, it was found that AI assistance reduced the task completion time but had no significant impact on the accuracy of results\[[10](https://arxiv.org/html/2605.15380#bib.bib30)\]\. Again, in another study, undergraduate law students were provided with training on the use of GPT\-4 and took a second set of final exams with the aid of GPT\-4\. The authors found that GPT\-4 assistance improved student results by 29% in multiple\-choice questions but had no effect on the essay component of the exams, which included difficult tasks like issue\-spotting\[[9](https://arxiv.org/html/2605.15380#bib.bib24)\]\. Interestingly, depending on the baseline results, there was a significant variation in the outcomes\. The worst\-performing students on the baseline test saw about 45% improvement in scores, whereas the best\-performing students saw about 20% decline in scores\[[9](https://arxiv.org/html/2605.15380#bib.bib24)\]\. These data suggest that the value of generative AI learning support may depend on the specific task and baseline performance of the students\.
Lastly, Hemrajani et al\. recruited 50 advanced law students to blindly evaluate the outputs of several AI models and a human expert across legal tasks, including issue spotting and summarization, drafting, legal advice, research, and reasoning in a consumer law problem\[[8](https://arxiv.org/html/2605.15380#bib.bib23)\]\. The AI models excelled in the drafting and issue\-spotting tasks, either matching or surpassing the human expert\. However, they underperformed in the legal research task, frequently generating hallucinations\[[8](https://arxiv.org/html/2605.15380#bib.bib23)\]\. Hallucinations are a well\-known limitation of generative AI models, and it is unsurprising that the legal research task resulted in the worst performance by the AI models\. RAG is an effective strategy to mitigate this risk by providing context from relevant documents to ground the answers\.
In this work, we built a RAG system grounded in a corpus of case law and legislation, an improvement over these previous works, which relied on the training data of the LLMs, a design that is less prone to hallucination\. Also, unlike these previous works, we evaluated this system over an extended 2\.5\-year period with a large cohort of 3\.1K students using the system without any limitations, providing more real\-world evaluation data\. By analyzing the queries made by students, we provide insights into the kinds of feedback and assistance that students expect from an AI system, which can inform the design of future systems\.
## 3System Overview
Eskwai for Students111See the Eskwai Website:[https://eskwai\.kwame\.ai](https://eskwai.kwame.ai/)consists of a web app component and an AI component\.
### 3\.1Web App
The web app \(Figure[1](https://arxiv.org/html/2605.15380#S3.F1)\) provides a mobile\-friendly interface \(Figure[2](https://arxiv.org/html/2605.15380#S3.F2)\) to use Eskwai both on desktop and mobile devices\. It currently consists of 3 main features: Ask Kwame, Library, and Briefcase\. The Ask Kwame feature enables users to submit queries and get responses with verifiable inline citations and has 3 modes: Research, Review, and Draft\. With Research, users can ask questions and get instant, trustworthy answers from case law, legislation, or the web\. With review, they can analyze contracts and other legal documents by summarizing, flagging issues, and asking questions\. With Draft, they can quickly generate and revise drafts of legal documents such as court processes, contracts, and correspondence\. Library enables users to view our database of cases, legislation, regulations, and templates designed for effortless navigation with intelligent search, sort, and filters\. Briefcase allows users to upload, store, and organize their files in a workspace designed for effortless navigation with intelligent search, sort, and filters\. These files can then be used in Ask Kwame\.
Figure 1:Screenshots of EskwaiFigure 2:Screenshots of Mobile Version of Eskwai
### 3\.2AI Architecture
The AI component uses a RAG system \(Figure[3](https://arxiv.org/html/2605.15380#S3.F3)\) consisting of a retrieval component that uses open\-source models and a generative component that uses a commercial model \(the models used have changed over the years\)\. It generates a response to queries, grounded in a database of cases and legislation, as well as user documents, and provides inline citations to the exact passages used to generate the response\. We created 5\-sentence chunks from a corpus of cases \(12K\) and legislation \(1\.4K\), which we curated primarily from lawyers with access to legal content\. We then computed embeddings using an open\-source embedding model of the chunks and saved them in ElasticSearch on a virtual machine on Google Cloud Platform\. When a query is submitted, our system first computes an embedding of the query using the same embedding model and then computes cosine similarity scores with the precomputed embeddings to retrieve the top N chunks\. We then rerank the chunks using an open\-source reranking model and get the top 30 chunks\. We then pass the passages as context, along with a prompt, to a generative model using a GPT API from OpenAI\. The answer is streamed to the user on the web app, which also shows the inline citations, which, upon clicking, open and highlight the supporting passage in the case, legislation, or user document\.
Figure 3:Overview of Eskwai RAG System
## 4Deployment and Evaluation
We launched Eskwai in September 2023, targeting lawyers and law students, publicizing mainly on social media\. In this work, we evaluated usage by law students on the platform between 1st September 2023 and 28th February 2026 \(30 months, 2\.5 years\)\.
### 4\.1Usability
During the evaluation period, Eskwai recorded significant engagement from the law student community\. A total of 3,127 students across more than 15 Ghanaian universities utilized the platform, collectively submitting 32,919 queries on Ask Kwame\. Most users accessed Eskwai on mobile devices\. Users could provide upvotes or downvotes on the answers in response to a question, "Was this helpful?", which was used to calculate a helpfulness score\. User interaction was relatively limited, with 1,131 votes cast on the responses provided by the platform\. Notably, only 3% of the total queries received votes, indicating a relatively low rate of direct feedback through the voting mechanism\. The platform’s helpfulness score was 68\.4% indicating generally positive user satisfaction with room for improvement\. Users who downvoted could pick from the options of possible reasons or write their own reason\. Some reasons included the following: the answer did not address the specific question asked, lacked critical details such as specific cases and legislation, contained incorrect or misleading information, provided a simplistic response, provided an overcomplicated response, and contained outdated information\. Analyses of the downvoted answers over the years revealed that most of them stem from \(1\) our database lacking specific cases and legislation referenced in queries, \(2\) lacking up\-to\-date cases and legislation, and \(3\) vague and imprecise queries from users\. Additionally, Eskwai demonstrated operational efficiency, with an average response latency of 7\.1 seconds per query, underscoring its capacity to deliver timely legal information\.
### 4\.2Query Characteristics
We analyzed the queries qualitatively to obtain broad themes and categories with the help of ChatGPT \(version March 2026\)\. Specifically, we uploaded the queries into ChatGPT and asked it to perform qualitative analyses by generating categories of queries along with examples for each\. We then refined categories after reading through a random sample of queries and updated the list of representative example queries\. Analysis of user queries reveals several distinct categories reflecting the academic and practical needs of law students \(Table[1](https://arxiv.org/html/2605.15380#S4.T1)\)\.
Legal Opinion:These queries involved requests for legal analysis on hypothetical or doctrinal scenarios\. Some required structured responses, such as IRAC \(Issue, Rule, Application, Conclusion\), or APA style and were aligned with coursework or assignment tasks\. Examples include essay\-length responses and critical evaluations of legal principles\.
Specific Cases and Breakdown:These queries requested a breakdown of cases, including summaries, facts, holdings, and judicial reasoning\. They sometimes only had the names of cases without additional requests\.
Procedural Explanations:These queries focused on procedural aspects of legal practice, such as the steps involved in litigation processes\.
Definitions and Concept Clarification:These queries involved requests for definitions of legal terminology and explanations of foundational legal concepts\.
Application of Legal Authorities:These queries involved requests for cases or legislation to apply, support, or refute legal arguments, topics, principles or specific parts of legislation\.
Exam Question Generation:These queries requested the generation of exam questions for studies\.
Study Support:These queries requested support in studies, such as drafting a study timetable or asking how to solve questions\.
Legal Drafting Tasks:These queries involved drafting legal documents, such as court processes, agreements, or letters\.
Analysis of documents:These queries involved performing analysis on uploaded documents, such as requesting summaries and asking questions about them\.
Table 1:Categories of queries along with examples
### 4\.3Discussion
The evaluation of Eskwai’s deployment among law students highlights several key themes\. The substantial number of student users and queries indicates a strong demand for AI\-driven legal research tools within academic settings\. The helpfulness score reflects a generally positive reception, though the low percentage of queries with votes suggests that students may be less inclined to provide explicit feedback\. The platform’s rapid response time is a critical factor in its usability and overall effectiveness\. Overall, the evaluation demonstrates that Eskwai supports a wide range of academic and practical legal tasks, with particular strength in analytical writing and case law assistance\. However, ethical concerns remain given that students use Eskwai for generating answers to their homework problems, which could shortcut the learning process for these students\. An important next step is to partner with law faculties so that we place restrictions on the type of questions our AI provides answers to, depending on the stage of the curriculum\. For example, for earlier stages of their legal education, it will be important for students to perform activities like briefing cases without AI help for learning\. Whereas in later stages, where they might do more application\-type tasks, it might no longer be necessary to manually brief cases, but use AI for that, as they would have mastered those foundational skills\.
## 5Limitations and Future Work
In this work, we did not evaluate the impact of the tool on learning outcomes\. In the future, we will perform this evaluation using various approaches such as pre/post test analysis and randomized control trial on local and national exams\.
Only a small percentage of queries received votes, which is expected in real\-world settings like this\. We will explore approaches to incentivize votes, such as giving AI credits for votes\.
Future work will tackle the reasons for downvotes to improve the helpfulness score, such as setting up partnerships to ensure we have comprehensive, up\-to\-date cases and legislation, and also train users on proper prompting approaches\. One feature we recently implemented is "Magic Query," which automatically refines users’ queries to be more precise and address the issue of bad prompting\. We will also work on new features to enhance learning, such as test\-taking and voice conversations for case simulations, and partner with law faculties to put in guardrails to address ethical concerns around the use of Eskwai by their students\.
## 6Conclusion
In this work, we developed Eskwai for Students, a generative AI assistant to help law students with their legal education\. Eskwai for Students is a RAG system that provides answers to a wide range of legal questions for law students grounded in a curated database of over 12K case laws and 1\.4K legislation in Ghana\. We deployed Eskwai for Students in a longitudinal study of 30 months \(2\.5 years\) in Ghana that was used by 3\.1K law students who made 32K queries\. Our evaluation showed that it had a decent helpfulness score of 68\.4%\. Analysis of the queries showed a wide range of use cases, including doing homework problems, which raises ethical concerns around students’ usage of Eskwai\. This work contributes to an understanding of how law students in Ghana are using generative AI for their studies and the ways it could be leveraged to responsibly advance legal education\.
\{credits\}
#### 6\.0\.1Acknowledgements
We are grateful to the annotators who annotated the cases and legislation for Eskwai\. This work was done with funding from the Afrodeutscher Startup Competition \(AiDia 2023\)\.
## References
- \[1\]M\. Ajevski, K\. Barker, A\. Gilbert, L\. Hardie, and F\. Ryan\(2023\)ChatGPT and the future of legal education and practice\.The Law Teacher57\(3\),pp\. 352–364\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p2.1)\.
- \[2\]M\. Alsbrook and A\. K\. Chase\(2024\)Three blind drafts: an ai\-generated classroom exercise\.Second Draft37,pp\. 1\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p2.1)\.
- \[3\]A\. Balan\(2024\)Examining the ethical and sustainability challenges of legal education’s ai revolution\.International Journal of the Legal Profession31\(3\),pp\. 323–348\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p4.1)\.
- \[4\]J\. Bliss\(2024\)Teaching law in the age of generative al\.Jurimetrics Journal64,pp\. 111–134\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p2.1)\.
- \[5\]P\. Burgess, I\. Williams, L\. Qu, and W\. Wang\(2024\)Using generative ai to identify arguments in judges’ reasons: accuracy and benefits for students\.Law, Technology and Humans6\(3\),pp\. 5–22\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p1.1)\.
- \[6\]B\. M\. Chen and H\. Bao\(2026\)Training for technology: adoption and productive use of generative ai in legal analysis\.arXiv preprint arXiv:2603\.04982\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p2.1),[§2](https://arxiv.org/html/2605.15380#S2.p2.1)\.
- \[7\]S\. Farber\(2024\)Harmonizing ai and human instruction in legal education: a case study from israel on training future legal professionals\.International Journal of the Legal Profession31\(3\),pp\. 349–363\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p4.1)\.
- \[8\]R\. Hemrajani\(2025\)Evaluating the role of large language models in legal practice in india\.arXiv preprint arXiv:2508\.09713\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p1.1),[§1](https://arxiv.org/html/2605.15380#S1.p3.1),[§2](https://arxiv.org/html/2605.15380#S2.p4.1)\.
- \[9\]H\. Jonathan, S\. Daniel,et al\.\(2023\)AI assistance in legal analysis: an empirical study\.73 Journal of Legal Education \(forthcoming\.Cited by:[§2](https://arxiv.org/html/2605.15380#S2.p3.1)\.
- \[10\]A\. Nielsen, S\. Skylaki, M\. Norkute, and A\. Stremitzer\(2024\)Building a better lawyer: experimental evidence that ai can increase legal work efficiency\.Center for Law & Economics Working Paper Series10\.Cited by:[§2](https://arxiv.org/html/2605.15380#S2.p3.1)\.
- \[11\]J\. Regalia\(2024\)From briefs to bytes: how generative ai is transforming legal writing and practice\.Tulsa L\. Rev\.59,pp\. 193\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p2.1)\.
- \[12\]T\. Schrepel\(2026\)Generative ai in legal education: a two\-year experiment with chatgpt\.Law, Innovation and Technology,pp\. 1–42\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p1.1),[§1](https://arxiv.org/html/2605.15380#S1.p2.1),[§1](https://arxiv.org/html/2605.15380#S1.p3.1),[§1](https://arxiv.org/html/2605.15380#S1.p4.1),[§2](https://arxiv.org/html/2605.15380#S2.p2.1)\.
- \[13\]H\. Surden\(2023\)ChatGPT, ai large language models, and law\.Fordham L\. Rev\.92,pp\. 1941\.Cited by:[§1](https://arxiv.org/html/2605.15380#S1.p1.1)\.Similar Articles
AILQA: Evaluating AI-Driven Legal Question Answering Systems for the Indian Legal System
This paper introduces AILQA, an AI-driven system for legal question answering in the Indian legal context, using embedding and generative models with retrieval-augmented generation (RAG). It evaluates performance on Indian legal texts and the All India Bar Exam, finding that AI-generated responses can sometimes outperform reference answers.
Adesua: Development and Feasibility Study of an AI WhatsApp Bot for Science Learning in West Africa
This paper presents Adesua, a WhatsApp-based AI teaching assistant for science education in West Africa, integrating retrieval-augmented generation with curated textbooks and exam questions. A 6-month feasibility study in Ghana showed high perceived usefulness (93.75% helpfulness) but with a small sample size.
Customizing models for legal professionals
Harvey, a generative AI platform for legal professionals, partnered with OpenAI to create a custom-trained case law model that reduces hallucinations and improves reasoning for complex legal tasks like document drafting and contract analysis. The custom model, trained on 10 billion tokens of U.S. case law, achieved 97% lawyer preference over standard foundation models.
Meet My AI Government and Legal Agents: Research, Analysis, Drafting, and Execution
The author introduces GLAW, an autonomous multi-agent AI system for legal and government tasks involving research, analysis, drafting, and execution, and invites discussion on its risks and safeguards.
AI Outperforms Law Professors in Stanford Law Study
A Stanford Law study found that law professors prefer AI-generated answers over those written by fellow instructors in blind evaluations, with AI winning 75% of head-to-head matchups, indicating potential for AI to transform legal education.