const model = 'gemini-3-pro';
export async function aiVoiceCommand(): Promise<ActionResult>
interface StudentAlert { riskLevel: 'high' | 'medium' | 'low' }
await firestore.collection('students').get()
type EmailType = 'progress' | 'concern' | 'achievement' | 'attendance'
functionDeclarations: [mark_attendance, add_grade, search_students]
onCall<VoiceCommandRequest>({ cors: true })
const recognition = new webkitSpeechRecognition()
Now Live — February 2026

NG5 is the first Learning Management System with built-in Agentic AI — voice commands, at-risk student alerts, auto-generated quizzes, lesson plans, parent emails, and more. Powered by OriaAI.

12+ AI Features Voice Controlled Real-Time Sync
Google Gemini 3 Pro Firebase TypeScript Tailwind CSS Cloud Functions v2 Web Speech API Firestore Vite 5
0
AI Features
0
Cloud Functions
0
Gemini Models
0
Total Features
0
Framework Deps

01 — Agentic AI
AI That Actually Does The Work

"Not just analytics. Actions."

Three core agentic features that turn natural language into real actions inside your LMS — powered by Gemini 2.5 Pro with function calling.

🎙️

Voice Commands

Header mic · Ctrl+Shift+V

Talk to your LMS. Say "Mark John absent today" or "Give Sarah 90 on the math test" and it's done. Gemini Pro parses natural language into real actions — with confirmation before anything destructive.

"Mark John absent today"marks attendance
"Give Sarah 90/100 on math"adds grade
"Show me the dashboard"switches tab
"How is Michael doing?"student info
"Generate report for Emily"progress report
"Make a quiz on photosynthesis"quiz generator
"Draft email about David"parent email
Gemini 3 Pro · Function Calling
🤖

AI Agent Chat (Agentic)

AI Agent panel

A conversational AI assistant with access to all your student data. Ask anything — "Who's failing math?", "Draft an email to David's parents", "Create a 10-question quiz on photosynthesis." It plans multi-step workflows and suggests the right AI tool automatically.

Gemini 3 Pro · Multi-Step Planning
⚠️

Early Warning System

Dashboard + AI Tools

AI scans every student's grades and attendance, then flags at-risk students with color-coded alerts, data-backed reasons, and actionable recommendations. Catch problems before they snowball.

HIGHGrade avg <60% · Attendance <70% · >15% drop
MEDGrade avg 60-70% · Attendance 70-80%
LOWGrade avg 70-75% · Attendance 80-85%
Gemini 3 Pro · Complex Reasoning

02 — AI Tools
Tools That Save Hours Every Week

"One click. Done."

Five specialized AI tools for generating content, analyzing data, and drafting communication — each optimized for speed.

✏️

Quiz Generator

AI Tools → Quiz Generator

Enter a topic, grade level, difficulty, and question count — get a formatted quiz with answer key in seconds.

Topic: any3-30 questionsEasy / Med / HardMC / T-F / ShortElem → College
Gemini 3 Flash · Speed-Optimized
📖

Lesson Plan Generator

AI Tools → Lesson Plan

Full lesson plan with objectives, materials, warm-up, instruction, guided practice, independent practice, closure, assessment, and differentiation.

30 / 45 / 60 / 90 minCustom objectivesAny grade level
Gemini 3 Flash · Speed-Optimized
✉️

Parent Email Drafter

AI Tools → Parent Email

Select a student and email type — get a professional, ready-to-send email in seconds. Copy to clipboard with one click.

Progress UpdateAcademic ConcernAchievementAttendance Notice
Gemini 3 Flash · Speed-Optimized
📊

Progress Report Generator

AI Tools → Progress Report

Select any student → get a parent-ready HTML report with overall grade, category breakdown, attendance record, strengths, growth areas, and recommendations.

Gemini 3 Flash · Speed-Optimized
🔍

Curriculum Gap Analysis

AI Tools → Curriculum Gap

Class-wide AI analysis that identifies weak/strong categories across all students with specific re-teaching strategies backed by data.

Gemini 3 Pro · Complex Reasoning

03 — Spiritual Education
Orthodox Bible Companion

"Faith meets technology."

A conversational AI companion grounded in Eastern Orthodox theology with text-to-speech for reverent scripture reading.

📜

AI Bible Companion + TTS

Bible tab · All users

Students can explore Holy Scriptures, ask questions about faith, request readings from any book (including Deuterocanonical texts), and receive warm, age-appropriate theological guidance grounded in Church Fathers.

Any chapter or verseOrthodox theologyChurch Fathers refsLiturgical calendarPrayer guidanceStrict safety for minors

Text-to-Speech with voice selection, style, and pace control.

KorePuckCharonFenrirAoede
Gemini 3 Flash · Chat Gemini 3 Pro · TTS

04 — AI Vision
Exam Paper Scanner

"Camera → Grade. Instantly."

Point your camera at a physical exam paper — AI reads the student name, ID, and grade using Gemini Vision. Auto-matches to your roster.

1
Capture

Open camera or upload photo of exam paper

2
Extract

AI reads name, student ID, grade, subject

3
Match

Fuzzy-matches to your student roster

4
Save

Review and save with one click

Handwritten scoresCircled gradesLetter grades A-FPercentage scoresFractions (85/100)
Gemini 3 Flash Vision · Multimodal

05 — Complete Platform
Everything You Need. Nothing You Don't.

Full LMS capabilities — student management, grades, attendance, courses, users, and PDF reports.

👤 Student Management

Register manually or CSV bulk upload (drag-and-drop, validation)
Auto-link CSV imports with existing user accounts
Searchable dropdowns everywhere — type a name, find instantly
Template download for CSV format

📊 Grade Management

Add grades with name, category, score, total points
Categories: Quiz / Test / Homework / Project / Exam
Category averages, overall GPA, trend analysis
Per-student grade tables with sorting + filtering
Export grades to CSV · Real-time Firestore sync

📅 Attendance Management

Mark present / absent / late / excused
Bulk attendance for entire classes
Attendance calendar view with statistics
Rate calculations · Inline delete confirmation

📚 Courses & Users

Create courses, assign teachers, enroll students
Teacher-student access scoping
Roles: Admin / Teacher / Student
Admin can promote, demote, or remove users
Session timeout with auto-logout

📄 PDF Reports

Official Transcript PDF (complete grade history)
Grades Report PDF
Attendance Report PDF
Generated client-side with jsPDF

06 — Design System
Design That Feels Premium

"Apple aesthetics. Google motion. FAANG polish."

🪟 Liquid Glass

Multi-layer backdrop-filter blur, concentric rounded corners, floating sidebar and header, lensing effects on background elements.

🎭 Material Expressive Motion

Spring-based CSS transitions with overshoot, shape morphing buttons, scroll-driven animations that fade/scale/un-blur cards.

✨ View Transitions API

Native browser View Transitions for buttery-smooth tab switching — no white flash, no jarring page swaps.

🌗 Dark & Light Theme

Full dark mode with persistent preference. Light mode with ADA-compliant contrast. Auto system detection.

🐻 Login Mascot

CSS-animated character that covers its eyes on password input, tracks email with pupils, bounces on success. Pure CSS — no images.

📱 Fully Responsive

Mobile, tablet, desktop, landscape. Safe area insets for notched phones. 44px min touch targets. Collapsible sidebar.


07 — Security & Compliance
Built for Schools. Locked Down for Students.
🔐
Firebase AuthenticationIndustry-standard email/password auth
🛡️
FERPA-Compliant AccessStudents see own data, teachers see assigned, admins see all
🔑
Server-Side API KeysGemini API key never exposed to client
🧒
AI Safety SettingsStrict filtering for student-facing AI; standard for admin/teacher
⏱️
Session TimeoutAuto-logout after inactivity
🚫
Input Validation + XSSClient and server-side with prevention
🔄
Password ResetBuilt-in forgot password flow

08 — Power Users
Keyboard Shortcuts
Ctrl + 1Dashboard
Ctrl + 2Grades
Ctrl + 3Attendance
Ctrl + 4Registration
Ctrl + 5Users
Ctrl + 6Courses
Ctrl+Shift+VVoice Command
EscapeClose any modal

09 — Model Strategy
Four Gemini Models. Right Task, Right Model.
Model Used For Why
Gemini 2.5 Pro Voice Commands, AI Agent Chat, Early Warning, Curriculum Gap Complex reasoning, function calling, multi-step planning
Gemini 3 Flash Quizzes, Lesson Plans, Emails, Reports, Study Tips, Performance Fast generation, low latency
Gemini 3 Flash Vision Exam Paper Scanner Multimodal image + text extraction
Gemini 2.5 Flash TTS Bible Companion Voice Natural text-to-speech with voice/style control

10 — Access Control
Role-Based Permissions

Every feature scoped to the appropriate role — students see their data, teachers see assigned students, admins see everything.

Feature Admin Teacher Student
Dashboard & Stats Full Assigned Own
Add/Edit Grades Assigned
Mark Attendance Assigned
Register Students / CSV Upload
Manage Users & Roles
Manage Courses
AI Agent Chat
Voice Commands
Early Warning Alerts
Quiz / Lesson / Email / Report / Gap
Exam Scanner
Performance Summary / Study Tips Own
Bible Companion + TTS
PDF Reports Own

11 — Tech Stack
Zero Framework Dependencies
FrontendVanilla TypeScript
StylingTailwind CSS (CDN)
BuildVite 5
BackendCloud Functions v2
RuntimeNode.js 20
DatabaseCloud Firestore
AuthFirebase Auth
AIGemini 2.5 Pro + 3 Flash
VisionGemini 3 Flash Vision
TTSGemini 2.5 Flash TTS
VoiceWeb Speech API
HostingFirebase Hosting
PDFsjsPDF (client-side)

Stop doing admin work.
Start teaching.

NG5 LMS handles the grades, attendance, reports, emails, quizzes, and lesson plans — so you can focus on what matters.