kgaleditsimo-ai-tutors

Kgaleditsimo AI Tutors 🧠

A cloud-native, multi-disciplinary AI education platform engineered to democratize access to high-level academic tutoring in South Africa.

Status Version Stack License

📖 Vision & Scope

Kgaleditsimo (“The Beginning of Knowledge”) is not merely a chatbot; it is a scalable AI Tutoring Engine designed to bridge the gap between rigid university syllabi and adaptive, personalized learning.

The platform is currently live with a robust Analytical Chemistry curriculum aligned with Fundamentals of Analytical Chemistry (Skoog, 10th Ed). It serves as a comprehensive knowledge base for the author’s multi-disciplinary focus, including:

🔗 View Live Demo (Note: As this runs on a serverless architecture, please allow ~45 seconds for the backend cold-start.)


🏗 System Architecture

The application follows a decoupled Client-Server architecture designed for low-latency mobile access in South Africa.

Domain Technology Implementation Details
Frontend Vanilla JS / HTML5 / CSS3 Zero-dependency, responsive SPA (Single Page Application) with a custom router for efficient navigation. Optimized for mobile viewports.
Backend Python 3.10 / Flask Lightweight REST API serving structured curriculum data (JSON) and brokering AI requests.
AI Core Google Gemini 2.0 Flash Selected for high-speed reasoning in STEM tasks. Configured with a “Socratic Tutor” system persona.
Deployment Render + GitHub Pages Hybrid deployment: Backend on Render (Gunicorn), Frontend on GitHub Pages for optimal caching.

⚡ Key Engineering Features

This project demonstrates practical Full-Stack Competence, solving specific user experience and data structure challenges:

1. Dynamic Curriculum Engine

2. The “Lesson Dashboard” Interface

3. Smart State Management

4. Interactive Learning Aids


🧪 Installation & Local Development

To replicate this environment locally:

Prerequisites

Steps

  1. Clone the Repository
    git clone [https://github.com/matomenkoana/kgaleditsimo-ai-tutors.git](https://github.com/matomenkoana/kgaleditsimo-ai-tutors.git)
    cd kgaleditsimo-ai-tutors 
    
  2. Initialize Virtual Environment
    python -m venv venv
    source venv/bin/activate  # Windows: venv\Scripts\activate
    
  3. Install Dependencies
    pip install -r backend/requirements.txt
    
  4. Configure Environment Create a .env file in the root: code snippert GEMINI_API_KEY=your_key_here PORT=5000
  5. Launch the API
    python backend/app.py
    

    Frontend runs via Live Server or by opening index.html

🚀 Strategic Roadmap

The development of Kgaleditsimo follows a phased engineering roadmap:


🤝 Contact & Attribution

Lead Engineer: Matome Nkoana Multidisciplinary Developer | Cloud Aspirant | Entrepreneur

License: Distributed under the MIT License. Open for educational collaboration.