Gen Mentor AI Agent

by GeminiLight• 135•• Scanned•Claim this listing•Request removal
Learning Resourceseducationgoal learningintelligent tutoring systemllmllm agent

[WWW '25 Oral - GenMentor] Official code of our paper "LLM-powered Multi-agent Framework for Goal-oriented Learning in Intelligent Tutoring System", accepted by WWW 2025 (Industry Track) as an Oral Presentation.

Gen Mentor is an open-source ai agent by GeminiLight, written mainly in TypeScript, with 135 GitHub stars and the CC0-1.0 license. Its code was last updated Oct 23, 2026.

<div align="center"> <p align="center"> <img src="resources/logo.svg" alt="GenMentor" width="360"/> </p> <p><b>LLM-powered & Goal-oriented Tutoring System</b></p> <p> <a href="https://genmentor.aurax.live">Live app</a> &nbsp;·&nbsp; <a href="https://tianfu.wang/gen-mentor">Website</a> &nbsp;·&nbsp; <a href="https://arxiv.org/pdf/2501.15749">Paper</a> &nbsp;·&nbsp; <a href="https://youtu.be/vTdtGZop-Zc">Video</a> </p> </div>

GenMentor is the official implementation of LLM-powered Multi-agent Framework for Goal-oriented Learning in Intelligent Tutoring System (WWW 2025, Industry Track, oral). You tell it where you want to be; a set of coordinated agents refines the goal, finds the gap between it and your background, schedules a path of sessions, writes each session's reading and quiz for you, and rebuilds your learner profile from what you actually did.

This repository is a single Next.js application. There is no account and no server-side database: the learner's archive lives in the browser and can be exported and imported as one JSON file. Agent calls run inside the app's API routes against any OpenAI-compatible endpoint or the Anthropic API.

Paradigms and agents

<div align="center"> <img src="resources/its-paradigms.png" alt="ITS paradigms" width="500"/> </div>
ParadigmTypical characteristicsPrimary focus
Traditional MOOCStatic syllabus; pre-recorded lectures; fragmented learningBroad access, low personalization
Chatbot ITSReactive Q&A; rule/LLM-driven; session-based helpInstant support, limited long-term adaptation
Goal-oriented ITSProactive planning; personalized paths; goal-aligned assessmentsTargeted skill acquisition, continual adaptation
<div align="center"> <img src="resources/genmentor-framework.png" alt="GenMentor framework" width="700"/> </div>
AgentRouteWhat it does
Goal RefinerPOST /api/refine-goalTurns a vague goal into an actionable one
Skill Mapper + Skill Gap IdentifierPOST /api/identify-skill-gapMaps the goal to skills, infers the learner's level for each
Adaptive Learner ProfilerPOST /api/profileBuilds the profile, then rebuilds it after every session with quiz evidence
Learning Path SchedulerPOST /api/schedule-pathCreates, refines and reschedules the session sequence (streamed)
Knowledge ExplorerPOST /api/explore-knowledgePicks the knowledge points a session needs
Knowledge DrafterPOST /api/draft-knowledgeDrafts each point, optionally grounded in web search (streamed)
Document IntegratorPOST /api/integrate-documentSynthesizes the drafts into one document (streamed)
Quiz GeneratorPOST /api/generate-quizWrites questions from the document
Learner Feedback SimulatorPOST /api/simulate-feedbackRole-plays the learner to critique a path or content
AI Chatbot TutorPOST /api/tutorStreams grounded answers during a session

The prompts are the paper's prompts. The verbatim port is preserved at git tag prompts-baseline; later edits are evaluated side by side against it (scripts/eval-prompts.sh, wiki/reviews/).

Quick start

Requirements: Node 24, pnpm 11, and one LLM credential.

make install                      # pnpm install in app/
cp app/.env.example app/.env.local
# set LLM_API_KEY and LLM_BASE_URL (or OPENAI_API_KEY / ANTHROPIC_API_KEY)
make dev                          # http://localhost:3000

Learners can also bring their own key from the app (the key icon in the sidebar): it stays in their browser and is sent with each request, so a public deployment can run without a server key.

LLM_FAST_MODEL and LLM_SMART_MODEL split the work between a cheap model (tutor, quizzes, goal refinement) and a stronger one (skill gap, scheduling, content). Defaults and the other knobs are documented in app/.env.example.

No key at hand? GENMENTOR_LLM_MODE=replay make dev serves the recorded journeys in e2e/fixtures/llm for the sample goal used by the tests.

Deploy

TargetHow
VercelThe public instance at genmentor.aurax.live ships without a server key: visitors add their own provider, key and models in Model settings. To run your own, import the repo with Root Directory app and optionally add the environment variables
Containerdocker build -t genmentor app && docker run -p 3000:3000 --env-file app/.env.local genmentor

Repository layout

app/          the Next.js application (routes, agents, prompts, schemas, UI)
e2e/          Playwright journeys, axe checks, screenshot evidence, recorded LLM fixtures
wiki/         product proposal, roadmap, architecture, design principles, API reference, pitfalls
scripts/      gate.sh and verify-ui.sh (acceptance gates), eval-prompts.sh (prompt evaluation)
docs/rebuild/ the plan this rebuild followed

make gate runs the static acceptance gate (layout, docs, size budgets, banned patterns, types, lint, unit tests, build). make verify-ui builds the app, drives every journey in the browser, checks accessibility in both themes and screenshots every page in three viewports. AGENTS.md holds the constraints every contributor, human or agent, works under.

Reproducing the paper

The Python implementation used for the paper (FastAPI backend, Streamlit frontend, LangChain agents) lives on the v0.1-demo branch, also tagged v0.1.0 and paper-python-v1:

git checkout v0.1-demo

Its README describes how to run it. That branch is frozen as the demo version; all further work happens on main, which keeps the same nine agents and the same prompts (see prompts-baseline), rewritten in TypeScript.

Citation

@inproceedings{wang2025llm,
  title={LLM-powered Multi-agent Framework for Goal-oriented Learning in Intelligent Tutoring System},
  author={Wang, Tianfu and Zhan, Yi and Lian, Jianxun and Hu, Zhengyu and Yuan, Nicholas Jing and Zhang, Qi and Xie, Xing and Xiong, Hui},
  booktitle={Companion Proceedings of the ACM Web Conference},
  year={2025}
}

License

See LICENSE.

Gen Mentor alternatives

View more →

Similar ai agents in Learning Resources, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Gen Mentor (this page)
GeminiLight
135CC0-1.0Oct 23, 2026Scanned, no flagged issues
Prompt Engineering Guide
dair-ai
80kMITMar 11, 2026Scanned, no flagged issues
Learn Claude Code
shareAI-lab
80kMITOct 27, 2026Scanned, no flagged issues
AI Engineering From Scratch
rohitg00
76kMITOct 29, 2026Scanned, no flagged issues
Front End Checklist
thedaviddias
75kMITOct 31, 2026Scanned, no flagged issues
System Prompts Leaks
asgeirtj
71kCC0-1.0Nov 1, 2026Scanned, no flagged issues