Skip to main content

About the project

💡 Inspiration

Traditional classrooms and remote tutoring tools suffer from fragmented workflows: teachers juggle slide decks, static whiteboards, and external coding runners while students struggle to get immediate, step-by-step guidance on handwritten homework. We wanted to build a unified, intelligent digital classroom where voice, vision, and real-time canvas collaboration converge seamlessly—powered by Google’s open-weights Gemma 4 multimodal intelligence.

✨ What KimiWise Does

KimiWise is a multimodal AI smart classroom and interactive whiteboard platform that orchestrates three simultaneous modalities:

  1. 🎙️ Voice-Driven Whiteboard AI Agent:
    Teachers speak natural prompts (e.g., “Draw the TCP 3-way handshake” or “Explain QuickSort with a flowchart”), and an animated AI Drawing Agent glides across the infinite canvas, building color-coded flowcharts, mind maps, and comprehensive blackboard lesson cards with real-world analogies in real time.
  2. 🔬 Code Lab with Gemma 4 Vision OCR & Socratic Tutor:
    Students can photograph handwritten or printed code. Gemma 4 Vision extracts the code with high accuracy, loads it into an interactive IDE, and offers a multi-turn Socratic AI Tutor that gives progressive hints rather than simply giving away answers.
  3. ⚡ Sandboxed Code Execution:
    Supports true Python 3.12 execution (with a 5000ms watchdog infinite-loop guard) and isolated browser Web Worker execution for JavaScript/TypeScript.
  4. 🤝 Real-Time Multiplayer Collaboration:
    Powered by Socket.IO with dynamic room codes, QR code joining, and live multi-user cursor tracking across devices.
  5. 📑 Multi-Page PDF Lesson Deck Export:
    Compiles all lecture slides into high-resolution A4 landscape presentation decks with metadata headers, footers, and page numbers for easy student distribution.
  6. 🛡️ 100% Offline / Local Fallback with Ollama:
    Seamlessly switches between Google AI Cloud (Gemma 4) and local offline Ollama models for air-gapped classrooms.

🛠️ How We Built It

  • Frontend: React 19, TypeScript 5.8, Vite 6, Zustand 5, Tailwind CSS 4, Motion, and GSAP.
  • Canvas Engine: Fabric.js 5.3 with vector object erasing, slide pagination, and KaTeX mathematical formula rendering.
  • Backend & Sockets: Express 5 on Node.js with Socket.IO 4.8 real-time room delta synchronization.
  • Multi-Modal AI: Integrated @google/genai calling gemma-4-31b-it and gemma-4-26b for Vision OCR, Socratic tutoring, and structured JSON board generation, backed by local Ollama REST adapters.
  • Export Engine: jsPDF with headless off-screen Fabric.StaticCanvas rendering for high-definition multi-page deck compilation.

🏆 Accomplishments That We’re Proud Of

  • Achieving true multimodal cross-reasoning: listening to teacher voice commands while rendering responsive vector diagrams on an active canvas.
  • Building a robust, isolated Code Sandbox with watchdog protection against infinite loops.
  • Designing a sleek, distraction-free digital classroom interface that runs smoothly on laptops, tablets, and smartphones.
  • Zero-lockin dual runtime: works online with Gemini API and offline with local Ollama.

🔮 What’s Next for KimiWise

  • Integrating live audio streaming via the Gemini Live API for real-time spoken teacher-student dialogue.
  • Expanding interactive student quizzing with live classroom answer distribution heatmaps.

Built with

pythongemmageminireact.jsollamatypescriptnode.jsgemini-apicssviteexpress.js

AI tools

Coded withGoogle AI StudioAntigravityGemini 3.8 FlashGemma 4 31B

Prize Categories Entered

  • Deepmind Google

    Best Use of Gemma 4

    Submitted