Hostname: page-component-76d6cb85b7-mgxrv Total loading time: 0 Render date: 2026-07-14T08:14:31.444Z Has data issue: false hasContentIssue false

RUCAI: An open-source, local-first AI teaching assistant for course planning and classroom support

Published online by Cambridge University Press:  18 June 2026

Frederik Henriksen*
Affiliation:
Department of Communication and Arts, Roskilde University, Denmark
*
Corresponding author: Frederik Henriksen; Email: frmohe@ruc.dk
Rights & Permissions [Opens in a new window]

Abstract

RUCAI is an AI-based open-source software platform designed for humanities and social sciences educational workflows that require traceability to assigned course materials. RUCAI has a teacher-only workspace in which teachers can curate class exercises grounded in curriculum documents (articles, book chapters, and notes). From here, the teacher can set up workspaces grounded explicitly in curriculum materials, learning outcomes, and course requirements for students to use throughout the course. The system is set up to run on institution-controlled infrastructure using FastAPI, PostgreSQL, and a local LLM model serving via Ollama, and is intended to be deployable on a GPU-enabled virtual machine. RUCAI’s primary contributions are practical: (1) it presents a software architecture for local-first, source-grounded educational AI that treats the course as the primary software object; (2) it documents concrete implementation choices for reliable ingestion and retrieval across heterogeneous course materials, including a three-tier extraction pipeline, word-based chunking, and intent-aware retrieval; and (3) it describes a publish-to-student mechanism that lets teachers freeze course context and prompt constraints into student-facing instances. The paper also reports pilot observations, current limitations, and future development directions.

Information

Type
Software Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Table 1. Feature comparison: RUCAI and selected local RAG systemsTable 1. long description.

Figure 1

Figure 1. RUCAI system architecture. Documents are ingested into pgvector-backed chunks; at query time, an intent classifier selects the retrieval scope, and citation normalization groups chunks by source before LLM generation. A student-instance mechanism packages a frozen corpus and a prompt snapshot into a bounded context. All prompts and UI strings are in Danish or English.Figure 1. long description.

Figure 2

Table 2. RUCAI architecture layers and responsibilitiesTable 2. long description.

Figure 3

Figure 2. Example from the student-instance publication window.Figure 2 long description.

Figure 4

Figure 3. Example from the teacher workspace, which supports retrieval-grounded course planning by allowing the instructor to configure source coverage and model settings while maintaining a persistent course-specific chat history. Responses are generated from uploaded curriculum materials and shown alongside source-oriented context for iterative teaching design and reflection.Figure 3 long description.

Figure 5

Table 3. Example of teacher course-planning chat modeTable 3. long description.

Submit a response

Rapid Responses

No Rapid Responses have been published for this article.