Skip to content
Back to the home page

Iris

PhD research · TUM · Paper at ITiCSE 2024

Iris is the AI tutor built into Artemis. It knows the exercise a student is working on and answers with hints instead of full solutions. Iris is my PhD project: I designed it and run it together with my professor, and the research ideas are mine. Much of the code comes from bachelor's and master's students whose theses I supervised. Iris lives in Artemis, the open-source learning platform of our group.

PythonFastAPILangChainWeaviateLangfuseDocker
Iris in VS Code next to a Java exercise: the build fails, and Iris explains the compiler error and gives a checklist without code
Exercise chat in VS Code with a hint instead of code, and a lecture answer with slide citations. Test course from the Iris documentation.
Students used Iris in three CS1 courses
221
10+ messages each, winter 2023/24 (ITiCSE 2024)
Chat modes in one pipeline
4
Programming and text exercises, lectures, courses
Tools the agent can call
18
Code, build logs, tests, slides, FAQs
Guards against full solutions
3
Prompt rules, support level, a second check

One question through Iris

Follow a student question from the chat to the answer.

  1. Ask

    A student asks a question in the chat next to the exercise.

  2. Context

    Artemis adds the student's code (also changes not yet committed), the build result and the exercise, and sends a job to Pyris.

  3. Plan

    A tool-calling agent decides what it needs: build logs, test results, files, slides, FAQs or memories.

  4. Search

    Slides, lecture transcripts and FAQs are searched in Weaviate with vectors and keywords. A reranker can sort the results.

  5. Stream

    The model writes the answer. About every 350 ms the draft goes to the browser over WebSockets.

  6. Check

    In programming exercises a second model checks the draft against the exercise and rewrites any solution code. Citations are added.

  7. Deliver

    The final answer with its sources replaces the draft and is saved in Artemis.

Iris system map

Artemis

  • Iris chat Angular client
  • Artemis server Java, Spring Boot
  • Job tracking Callbacks, WebSockets

Pyris · Python, FastAPI

  • Chat pipeline One for all chat modes
  • Agent LangChain, 18 tools
  • Memiris Memory, opt-in
  • Guide check Second model
  • Citations Slide and page
  • Ingestion Slides, videos, FAQs

Knowledge

  • Weaviate Hybrid search
  • Reranker Cohere, optional

Models

  • LLMs Azure OpenAI or local

Docker · Langfuse tracing · Sentry · GitHub Actions · local models with Ollama or vLLM

Questions about Iris, or interested in a joint study?