Team ÒCTAVIA · INRIA AI Grand Challenge · 2025–2026

Oc to intelligence,
no to dependence.

The biggest hurdle for students isn’t just understanding a concept — it is the crushing organizational mental load. Our Planner Agent reads your university calendar and programs your revision sessions: what to revise, and when. Mental load eliminated. Focus restored. Then ÒCTAVIA guides that learning through Socratic questioning, grounded exclusively in professor-validated course materials — never giving direct answers, always forcing reasoning.

FastAPI · Ollama · ChromaDB · SQLite · NDJSON streaming · Safe RAG
FIG. 01 — Request flow

From a question to a streamed pedagogical response.

STUDENT browser WEB AGENT Flask · :5000 SSE proxy ORCHESTRATOR :8000 · FastAPI pipeline router INTENT ROUTER :8001 · regex classify · <1ms RETRIEVAL :8002 · Safe RAG hybrid vector+lexical CTX BUILDER :8003 · 6 modes Socratic · stagnation chat quiz · plan STRUCT OUTPUT :8005 · quiz · mindmap · plan VALIDATOR :8006 · schema QA WRITER :8004 · Ollama NDJSON streaming SSE · NDJSON stream MEMORY :8007 · SQLite · sessions INDEXING :8008 · PDF → ChromaDB offline · admin only

FIG. 01 — A student question enters the pipeline and exits as a Socratic, streamed pedagogical response grounded in validated course materials.

AGENT REGISTRY

Ten agents, ten responsibilities.

:8000
Orchestrator
Routes each student interaction — socratic tutoring, quiz generation, revision planning, or exam review — to the correct pipeline.
:8001
Intent Router
Regex classifier, no LLM — distinguishes chat, quiz, mindmap, plan, and exam interactions in under 1ms.
:8002
Retrieval
Safe RAG core — hybrid vector + lexical search over professor-validated course materials exclusively. No external knowledge.
:8003
Context Builder
Assembles ÒCTAVIA’s prompt — six pedagogical modes, Socratic cloze, stagnation detection to prevent passive use.
:8004
Writer
Streams ÒCTAVIA’s response via locally hosted Ollama — sovereign infrastructure, no data leaves the institution.
:8005
Structured Output
Planner & Content Creator — generates calendar-aware revision plans, quizzes, and Mermaid mind maps from course materials.
:8006
Validator
Ensures structural correctness of all generated outputs — quiz schema, Mermaid syntax, plan budget — before delivery.
:8007
Memory
Persists conversation history and student progress across sessions — SQLite CRUD, single source of truth.
:8008
Indexing
Ingests professor PDFs — OCR, LLM-assisted cleaning, chunking, and ChromaDB vector storage for the Safe RAG layer.
:8009
Calculator
Sandboxed Python evaluator for quantitative reasoning — whitelisted builtins, no I/O, deterministic results.