Node Optimized Orchestration Design for Educational Intelligence Architecture
Making learning addictive in the best possible way
Frontend
Checkout Our Presentation Slides For CheckPoint 3!
Checkout Our Presentation Slides For CheckPoint 4!
- Problem Statement and Why It Matters
- Target Users and Core Tasks
- Competitive Landscape and AI Limitations
- Literature Review
- Initial Concept and Value Proposition
- Team Contributions
- Quick Start
- Documentation
- License
๐ก Tip: All links in this table of contents are clickable! Click any item to jump to that section.
American education is in trouble. When less than half of kids can read at grade level, and even fewer can handle basic math, we have a serious problem. It's not just about test scores either. As a nation, there are over 400,000 teaching positions either unfulfilled or employing teachers without full certifications.
Although places like Two By Two Learning Center are doing incredible work to support kids after school, over 60% of public schools nationally offer academically focused after-school programming. Kids are falling further behind, tutors are burning out, and everyone is frustrated. We desperately need tools that can exemplify the impact of the educators and help kids learn.
Our tool needs to work for five very different stakeholders, each with their own challenges.
-
Elementary school students (ages 5-10) are building foundational skills in reading and basic math. They need engaging, game-based learning that makes education fun and accessible. An AI tutor for this age group provides vocabulary games, visual learning aids, and positive reinforcement to build confidence and basic knowledge.
-
Middle school students are old enough to use technology but still need guidance. They're mainly looking for homework help and confidence boosters, which an AI tutor can provide.
-
High school students are generally more knowledgeable than their younger peers, being able to ask more complex questions. An AI tutor for this student group will need to be engaging, responsive, and comprehensive.
Parents pay for their child's education, even though it's possible that their children are cheating with AI. Parents want to see real progress and results, understand what their kids are learning, and be shown how an AI tool is actually helping their kid, rather than doing the student's work for them.
After-school staff have a lot on their plate. They need a tool that will help efficiency and simplify their jobs. An AI tutoring tool should help staff track individual student progress, communicate with parents, and give in-depth reports of what was learned each session. An AI may even be able to help create practice lessons and/or quizzes.
| ๐ฅ User | ๐ Primary Goal | ๐ง What We Provide |
|---|---|---|
| Elementary students | Fun learning, building foundations | 4 vocabulary games (108 words), visual learning, confetti rewards |
| Middle schoolers | Homework help, improving confidence | Socratic hints, XP rewards, quiz system |
| High schoolers | Engaging learning | Adaptive AI tutoring with memory, quizzes, leaderboards |
| Parents | Demonstrate real progress | Achievement tracking, leaderboards, quiz results |
| Afterschool staff | Easier tutoring & tracking | Admin dashboard, student analytics, progress reports |
NotebookLM is a tool by Google to be used by students for help with homework. It can take images as inputs, and answer user questions similar to other LLMs. Our findings show that NotebookLM explains answers, but does not do a great job providing reasoning, intuition, and explaining how to solve a problem to a student who doesn't get it. NotebookLM also has an audio podcast feature, which only uses the image input to generate an audio description of said image. The audio feature did not use conversational context to help the user.
GPT-5 is a large language model developed by OpenAI. It has a high number of users, and can answer questions in many domains. GPT-5 output extra noise during our testing, which can be confusing to younger users who don't understand complex sentences. GPT-5 also was on the slower side, often taking a couple seconds to properly run after being prompted.
Copilot did a better job matching our instructions, but sometimes gave answers that were too simple or didn't explain its thinking enough. However, Copilot is also integrated into GitHub and Microsoft Office, giving it a broader knowledge base. That may make it too complex for users who only want a chatbot.
Perplexity solved most problems correctly, but assumed certain parts about the user's background knowledge in its answers. This sometimes led to answers being made more complicated than necessary. There were also lots of links given which adds noise and may distract students.
Noodeia's Advantages:
- Socratic Method: Guides with questions, doesn't give direct answers
- Personalized Memory: Remembers each student's struggles and adapts
- Gamification: Makes learning engaging with XP, levels, and rewards
- Assessment Tools: Built-in quizzes with instant feedback
- Collaboration: Group study with AI assistance
- Focused: Educational purpose only, no distractions
AI-Powered Math Tutoring Platform Research
Chudziak, J. A., & Kostka, A. (2025). AI-Powered Math Tutoring: Platform for Personalized and Adaptive Education. arXiv [Cs.AI]. Retrieved from http://arxiv.org/abs/2507.12484
-
This research addresses a critical gap in current AI tutoring systems where the AI systems tend to provide direct answers rather than showing step by step solutions. With dual memory architecture, this sophisticated approach provides both strategically informed guidance based on historical patterns and detailed responsive support based on context.
-
By implementing a hybrid memory architecture, the knowledge graph could serve as the long term memory component where each concept node has specific attributes such as historical error patterns and identified misconceptions. Since graph relationships naturally represents prerequisite chains and conceptual dependencies, this enables sophisticated reasoning about learning paths.
MemGPT: Towards LLMs as Operating Systems
Packer, C., Wooders, S., Lin, K., Fang, V., Patil, S. G., Stoica, I., & Gonzalez, J. E. (2024). MemGPT: Towards LLMs as Operating Systems. arXiv [Cs.AI]. Retrieved from http://arxiv.org/abs/2310.08560
-
The paper tackles LLMs' short memory by adding an OS-style, tiered memory: a small main context (system rules, working pad, FIFO queue) plus external recall and archival stores, managed by a queue manager and function executor that move/condense information via function calls and summaries.
-
Use Archival as a compact student profile while keeping full transcripts in Recall; have the tutor auto-summarize to Archival when memory pressure warnings appear and reload from these notes at the start of each session.
Generative AI Can Harm Learning
Bastani, Hamsa and Bastani, Osbert and Sungu, Alp and Ge, Haosen and Kabakcฤฑ, รzge and Mariman, Rei, Generative AI Can Harm Learning (July 15, 2024). The Wharton School Research Paper. http://dx.doi.org/10.2139/ssrn.4895486
-
Researchers who put an AI, an AI tutor with special prompts, and no AIs into three math classrooms and compared test results to each other.
-
The results show students learned much better with a tutor who guides them instead of giving the answers, but students without a special AI tutor performed the same on standardized tests than ones with the specialized tutor. We will make sure that our AI tutor does not give answers away as that seems to make students use the AI as a crutch and perform worse overall.
Agentic Workflow for Education: Concepts and Applications
Jiang, Y.-H., Lu, Y., Dai, L., Wang, J., Li, R., & Jiang, B. (2025). Agentic Workflow for Education: Concepts and Applications. arXiv [Cs.CY]. Retrieved from http://arxiv.org/abs/2509.01517
-
The paper redefines agentic AI as something beyond simple Q&A interactions. It is a fundamental shift to a nonlinear cooperative systems where agents plan, use tools, and self-critique.
-
By adopting this multi-agent with division of labor, we aim to implement a multi-agent system for problem solving, question writing, and explanation generation and we hope to achieve an increase in accuracy and explanation quality.
The personalized AI tutor represents a fundamental reimagining of educational technology through the integration of orchestrated multi-agent systems with memory-enhanced graph retrieval augmented generation. This system transcends traditional digital learning tools by creating an adaptive educational companion that maintains persistent awareness of individual learning patterns, dynamically adjusts teaching strategies based on accumulated experience, and delivers consistently high-quality educational support across diverse subject domains. The platform operates as an intelligent educational ecosystem rather than a static question-answering service, fundamentally transforming how students engage with complex learning materials.
The primary value proposition emerges from the system's ability to provide genuinely personalized education at scale and maintaining the pedagogical sophistication typically associated with expert human tutors. Unlike conventional educational software that delivers uniform content regardless of individual needs, this system creates unique learning pathways for each student based on their specific knowledge gaps. Through its sophisticated memory architecture and continuous adaptation mechanisms, the platform delivers educational experiences that evolve with each student's progress, creating compound improvements in learning efficiency over time. This translates directly into reduced time-to-mastery for complex subjects and improved retention rates for learned material.
This is our proposed multi-agent workflow
This enhanced multi-agent workflow provides several advantages over simpler tutoring systems. The multi-agent approach allows for specialized agents to assist students with specific needs. The memory system enables personalized responses that fit into individual learning patterns. The comprehensive evaluation framework ensures high quality outputs, which significantly reduces the hallucinations. With the integration of structured knowledge graphs, this multi-agent workflow creates a personalized AI tutoring platform.
Agent Pipeline:
- Router: Analyzes question, chooses reasoning mode
- Planner: Configures solver parameters
- Memory Retrieval: Gets relevant learning insights (10 bullets from Neo4j)
- Solver: Generates response with memory-enriched context
- Critic: Cleans and formats answer
- ACE Learning: Reflects on interaction, updates memory
Reasoning Modes:
- COT (Chain of Thought): Step-by-step for straightforward questions
- TOT (Tree of Thought): Multiple paths for complex problems
- ReAct (Reasoning + Acting): Tool use for calculations and research
This is our proposed LTMBSE-ACE framework architecture
where
| Memory Type | What is Stored | Human Example | Agent Example |
|---|---|---|---|
| Semantic | Facts | Things I learned in school | Facts about a user |
| Episodic | Experiences | Things I did | Past agent actions |
| Procedural | Instructions | Instincts or motor skills | Agent system prompt |
The proposed scoring function contains three types of memory, which are semantic, episodic, and procedural. Similar to human memory system, each memory has its own exponential time decay rate. By assigning a faster decay to episodic memory with slower decays to semantic and procedural memory prioritizes recent student struggles without rapidly discarding current knowledge, which creates more personalized RAG pipelines.
Completed the following tasks
- 4 research papers and reflections
- Github README page
- Open Issues for milestones; assign owners; use Projects/Boards
Upcoming tasks
- Developing the new architecture for the AI tutor
- Designing the multi-agent workflow and developing graph-based structure for better retrieval system
- Maintaining the Github page and fixing minor issues
Completed the following tasks
- 2 research papers and reflections
- Your proposed approach and why it will improve on prior art
- Initial concept and value proposition
Upcoming tasks
- Creating a new memory framework for the AI tutor
Completed the following tasks
- 2 research papers and reflections
- Problem statement and why it matters
- Target users and core tasks
- Initial risks & mitigation (privacy, bias, safety, reliability)
Upcoming tasks
- Enhancing the design and workflow of app in coming checkpoints
Completed the following tasks
- 2 research papers and reflections
- Competitive landscape: existing systems/tools and their shortcomings
- Plan for Checkpoint 2 validation via prompting (see CP2)
Upcoming tasks
- Analyzing different existing tools and their limitations
๐ For detailed setup instructions, see setup/README.rst
Required:
- Node.js 18+ (20 recommended)
- Python 3.10+ (for ACE agent)
- Git
Required Accounts (all free tiers):
- Supabase account (authentication)
- Neo4j AuraDB instance (database)
- Google AI Studio account (Gemini API key)
Detailed prerequisites: setup/getting-started/01_PREREQUISITES.md
# 1. Clone repository
git clone https://github.com/SALT-Lab-Human-AI/project-check-point-1-NOODEIA.git
cd project-check-point-1-NOODEIA/frontend
# 2. Install Node.js dependencies
npm install --legacy-peer-deps
# 3. Install Python dependencies
pip3 install -r requirements.txt
# 4. Configure environment
cp .env.local.example .env.local
# Edit .env.local with your credentials
# 5. Initialize database
npm run setup-neo4j
npm run setup-groupchat
npm run setup-markdown
npm run setup-quiz
# 6. Start development server
npm run dev
# Open http://localhost:3000Minimum required in frontend/.env.local:
# Supabase - Authentication
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
# Neo4j - Database
NEXT_PUBLIC_NEO4J_URI=neo4j+s://xxxxx.databases.neo4j.io
NEXT_PUBLIC_NEO4J_USERNAME=neo4j
NEXT_PUBLIC_NEO4J_PASSWORD=your-password
# Gemini - AI Model
GEMINI_API_KEY=your-gemini-api-key
# Pusher - Real-time (Optional)
PUSHER_APP_ID=your-app-id
PUSHER_SECRET=your-secret
NEXT_PUBLIC_PUSHER_KEY=your-key
NEXT_PUBLIC_PUSHER_CLUSTER=us2Get credentials:
- Supabase: https://supabase.com/dashboard โ Settings โ API
- Neo4j: https://console.neo4j.io/ โ Your instance
- Gemini: https://aistudio.google.com/app/apikey
Complete guide: setup/getting-started/03_CONFIGURATION.md
Test ACE agent:
cd frontend/scripts
export GEMINI_API_KEY="your-key"
python3 run_ace_agent.py <<'EOF'
{"messages":[{"role":"user","content":"Help me with 2+2"}]}
EOFRun automated tests:
cd unitTests
./run_all_tests.shTest in browser:
- Sign up at http://localhost:3000/login
- Send AI message at http://localhost:3000/ai
- Take quiz at http://localhost:3000/quiz
- Check gamification bar for XP
For First-Time Developers:
Comprehensive step-by-step guides in setup/getting-started/:
- 00_OVERVIEW.md - Project overview & architecture
- 01_PREREQUISITES.md - System requirements & accounts
- 02_INSTALLATION.md - Install dependencies
- 03_CONFIGURATION.md - Environment variables
- 04_DATABASE_SETUP.md - Initialize Neo4j
- 05_PYTHON_ACE_SETUP.md - Setup ACE agent
- 06_LOCAL_DEVELOPMENT.md - Run & test
- 07_DEPLOYMENT.md - Deploy to production
- 08_COMPLETE_SETUP.md - All-in-one guide
Time: 50-90 minutes for complete setup
For Experienced Developers:
- setup/QUICKSTART.md - 5-10 minute quick start
Architecture & References in setup/technical/:
- DATABASE_SCHEMA.md - Complete Neo4j schema (11 nodes, 13 relationships)
- API_REFERENCE.md - All 26+ API endpoints
- PYTHON_SETUP.md - Python environment & dependencies
- ACE_README.md - ACE memory architecture (39KB)
- AGENT.md - LangGraph multi-agent system (23KB)
Complete feature guide:
- FEATURES_GUIDE.md - How to use all Noodeia features (AI Tutor, Gamification, Quizzes, Vocabulary Games, Todo, Leaderboard, Group Chat, Themes)
- setup/TROUBLESHOOTING.md - Common issues & solutions
- setup/deployment/RENDER.md - Complete Render deployment guide
- setup/NEO4J_SETUP.md - Neo4j detailed setup
- docs/minimalTest/useCase.md - Test scenarios
- docs/telemetryAndObservability/log.md - Logging guide
Main entry point: setup/README.rst - Navigation hub
All documentation organized in setup/ folder with 4 subfolders:
getting-started/- Step-by-step setup (9 guides)deployment/- Platform deployment guidestechnical/- Architecture deep-dives (5 references)user-guides/- Feature usage guide (1 comprehensive file)
Total: 20 documentation files
Why Render:
- โ Python support (required for ACE agent)
- โ No timeout limits (AI requests can take 10+ minutes)
- โ Auto-deploy on git push
- โ Better Next.js integration
- โ Free tier available
Quick deploy:
- Push code to GitHub
- Go to https://render.com/
- New + โ Web Service
- Connect repository
- Add environment variables
- Deploy!
Complete guide: setup/deployment/RENDER.md
Alternative: Railway (also supported, see railway.toml)
Not recommended: Vercel (10-second timeout limit, no Python support)
Based on peer-reviewed research showing:
- โ AI tutors that give direct answers harm learning
- โ Socratic questioning improves critical thinking
- โ Gamification increases engagement and retention
- โ Personalized learning improves outcomes
- โ Memory-enhanced AI provides better educational support
Traditional AI tutors:
Student: "What's 1/2 + 1/3?" AI: "The answer is 5/6" โ Student doesn't learn the process
Noodeia:
Student: "What's 1/2 + 1/3?" AI: "Great question! What do you think we need to do first when adding fractions with different denominators?" โ Student thinks critically and learns
Key principles:
- Guide, don't tell
- Ask probing questions
- Encourage reasoning
- Build understanding
- Celebrate progress
Authentication:
- Industry-standard JWT tokens (Supabase)
- Secure session management
- Encrypted password storage
Data Isolation:
- Per-student memory isolation
- Users can only access their own data
- Ownership verification on all operations
API Security:
- All endpoints require authentication
- Input sanitization (XSS prevention)
- SQL/Cypher injection prevention
- Calculator uses AST parser (no code execution)
Privacy:
- Student data stored securely in Neo4j
- No data sharing without consent
- Audit logs for teacher oversight
- COPPA compliant design
7 test suites covering:
- System prompts verification (Python)
- Authentication flows
- Quiz node assignment logic
- XP and leveling calculations
- AI chat API integration
- Group chat @ai detection
- Data persistence in Neo4j
Run all tests:
cd unitTests
./run_all_tests.shIndividual tests:
npm run test:prompts # System prompts
npm run test:auth # Authentication
npm run test:quiz # Quiz scoring
npm run test:gamification # XP/leveling
npm run test:ai-chat # AI agent (30-60s)
npm run test:group-chat # @ai detection
npm run test:persistence # Neo4j dataManual test scenarios: docs/minimalTest/useCase.md
Deployed on Render: [Contact team for demo URL]
Try these features:
- Sign up and explore AI tutor
- Take a quiz and earn rewards
- Play vocabulary games
- Create study group
- Customize your theme
- Track progress on leaderboard
project-check-point-1-NOODEIA/
โโโ frontend/ # Main application
โ โโโ app/ # Next.js App Router
โ โ โโโ page.tsx # Landing page
โ โ โโโ ai/ # AI tutor interface
โ โ โโโ login/ # Authentication
โ โ โโโ home/ # User dashboard
โ โ โโโ achievements/ # Achievements page
โ โ โโโ leaderboard/ # Rankings
โ โ โโโ quiz/ # Quiz system
โ โ โโโ games/ # Vocabulary games
โ โ โโโ todo/ # Kanban board
โ โ โโโ groupchat/ # Group collaboration
โ โ โโโ settings/ # User settings
โ โ โโโ administrator/ # Admin dashboard
โ โ โโโ api/ # API routes (11 groups)
โ โโโ components/ # React components (30+)
โ โโโ lib/ # Core utilities
โ โโโ services/ # Business logic
โ โโโ scripts/ # Python ACE agent + setup
โ โโโ utils/ # Helper functions
โ โโโ .env.local # Environment config (create this)
โ โโโ package.json # Node.js dependencies
โ โโโ requirements.txt # Python dependencies
โโโ setup/ # Complete setup documentation
โ โโโ getting-started/ # Step-by-step guides (9 files)
โ โโโ deployment/ # Deployment guides
โ โโโ technical/ # Technical references (5 files)
โ โโโ user-guides/ # Feature guides (7 files)
โ โโโ README.rst # Main setup navigation
โ โโโ QUICKSTART.md # Quick setup (5 min)
โ โโโ TROUBLESHOOTING.md # Common issues
โโโ docs/ # Testing & observability
โโโ unitTests/ # Automated tests (7 suites)
โโโ prompts/ # AI system prompts
โโโ railway.toml # Railway deployment config
โโโ render.yaml # Render deployment config
โโโ README.md # This file
| Feature | Other AI Tools | Noodeia |
|---|---|---|
| Teaching Method | Direct answers | Socratic questioning โ |
| Memory | Forgets each session | Per-student memory โ |
| Engagement | Plain chat | Gamification with XP/levels โ |
| Assessment | External tools | Built-in quizzes with rewards โ |
| Collaboration | Individual only | Group chat with @ai โ |
| Progress Tracking | Manual | Automated leaderboards โ |
| Vocabulary | Not included | 108-word games for kids โ |
| Task Management | External apps | Built-in Kanban board โ |
| Customization | Fixed themes | 4 themes + avatar options โ |
| Technology | Simple LLM | Multi-agent with tools โ |
We implemented findings from 4 academic papers:
- AI-Powered Math Tutoring โ Dual memory architecture (graph + ACE)
- MemGPT โ Tiered memory with archival and retrieval
- Generative AI Can Harm Learning โ Socratic method, no direct answers
- Agentic Workflow for Education โ Multi-agent system with tools
Result: Research-backed educational platform proven to enhance learning
We draft task descriptions and example prompts for the three scenarios and ask AI to suggest a standardized protocol structure to ensure consistency across tools.
We utilized AI development tools to accelerate certain development tasks during the developing phase and we will be modifying and editing them in the later phases.
All AI-generated content was critically reviewed, edited, and adapted by human team members before inclusion.
Distributed under the Apache 2.0 License.
Noodeia makes education personalized, engaging, and effective.
๐ Read Setup Guide | ๐ Quick Start | ๐ฎ Try Demo
Made with ๐ for students everywhere
