(Vibe) coding a simulated legal client using generative AI
This article presents an exploratory design-based action-research case study of a generative AI-powered simulated client in a university constitutional law course. A legal academic without prior programming experience used AI coding tools to develop a web interface through which students conducted spoken client interviews. A subsequent iteration introduced automated, rubric-based feedback on written legal memoranda. The design draws on experiential learning, authentic learning, and reflective practice, while assigning factual role-play to the simulated client and retaining responsibility for legal analysis with students. A qualitative review of transcripts identifies opportunities for critical questioning, attention to client priorities, and reflective discussion, alongside uneven participation and departures from the intended division of legal work. These findings and descriptive student surveys support a preliminary account of feasibility and perceived usefulness, but do not establish improved learning or comparative effectiveness. The article contributes a documented development process, an account of design constraints and revisions, and priorities for further evaluation of AI-supported experiential legal education.
Authors
- Stuart Hargreaves (ORCID: https://orcid.org/0000-0003-4917-897X)
Institutions
- Chinese University of Hong Kong (HK)
Publication Details
- Journal
- International Journal of Educational Technology in Higher Education
- Published
- 2026-11-30
- DOI
- https://doi.org/10.1186/s41239-026-00635-4
- Primary Topic
- Legal Education and Practice Innovations
- Type
- article
- Field-Weighted Citation Impact
- 0.00