OpenTeach (Sahayak AI)
An AI-driven education platform that personalises learning for students, supports 50+ Indian languages, and provides teachers with voice-enabled tools for classroom management, content creation, and assessments. Meet Ziya, your AI learning companion designed specifically for rural and under-resourced schools in India.
Features
Ziya AI Companion
- Voice-to-Learning Loop (V2L): Speak → Learn → Quiz → Reflect → Repeat
- Conversational Learning: Uses Socratic questioning methods.
- Adaptive: Adaptive confidence scoring and difficulty adjustment.
15 Powerful AI Tools
- Localized Story Generator: Culturally relevant stories in 50+ Indian languages.
- Differentiated Worksheets: AI-powered generation from textbook images.
- Visual Aid Designer: Blackboard-friendly drawings and charts.
- Assessment Generator: Multi-grade quizzes with detailed rubrics.
Key Features Deep Dive
Multimodal AI Processing
Image Input: Upload textbook pages for worksheet generation.
Voice Input: Speak in 50+ Indian languages.
Text Output: Structured, culturally relevant content.
Audio Output: Natural speech synthesis.
Adaptive Learning System
Confidence Scoring: 0-100 scale with real-time adjustment.
Difficulty Levels: Basic → Intermediate → Advanced.
Cultural Context: Locally relevant examples and analogies.
Multi-grade Support: Content for grades 1-12 and adult learners.
Technology Stack
AI & Machine Learning
- Google Gemini 2.0 Flash
- Google Genkit v1.13.0
- Multimodal Processing
- Advanced NLP (50+ Indian languages)
Frontend & Backend
- Next.js 14 (App Router)
- TypeScript
- Tailwind CSS
- Zod & Server Actions
Setup Instructions
1. Prerequisites
Node.js 18+, npm or yarn, and a Google AI API Key (Gemini access).
2. Clone & Install
git clone https://github.com/Krisanth-21/OpenTeach.git
cd OpenTeach
npm install3. Environment Setup
Create a .env.local file:
GOOGLE_GENAI_API_KEY=your_gemini_api_key_here
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://localhost:9002Running the Application
Start Development Server
npm run devNavigate to http://localhost:9002
Start AI Development Server
npm run genkit:devProject Structure
sahayak-ai/
├── src/
│ ├── ai/ # AI flows and configurations
│ ├── app/ # Next.js App Router
│ ├── components/ # Reusable UI components
│ ├── contexts/ # React contexts
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utility functions
│ └── types/ # TypeScript type definitions
├── public/ # Static assets
├── docs/ # Documentation
└── package.json # Dependencies and scripts