An engaging, kid-friendly AI tutor built with Next.js that makes learning fun and interactive.
Features · How It Works · Running Locally
-
🤗 Encouraging Learning Environment
- Patient, step-by-step guidance
- Positive reinforcement and celebration of progress
- Kid-friendly language and engaging emojis
-
🧩 Interactive Problem Solving
- Breaks down complex problems into manageable parts
- Uses relatable examples (cookies, toys, etc.)
- Never gives direct answers - guides students to discover solutions
-
📚 Educational Focus Areas
- Math problems with real-world applications
- Science exploration and discovery
- Pattern recognition and logical thinking
- Money management and practical skills
-
🛠️ Technical Foundation
The AI tutor follows core educational principles:
-
Ask, Don't Tell
- Uses open-ended questions
- Encourages critical thinking
- Helps students break down problems
-
Scaffold Understanding
- Relates new concepts to familiar examples
- Builds confidence through gradual progress
- Makes learning relevant to kids' experiences
-
Step-by-Step Guidance
- Structured problem-solving approach
- Regular check-ins for understanding
- Adaptable to each student's pace
- Clone the repository:
git clone https://github.com/yourusername/ai-tutor-webapp.git
cd ai-tutor-webapp
- Install dependencies:
pnpm install
- Copy
.env.example
to.env
and configure your environment variables:
cp .env.example .env
- Start the development server:
pnpm dev
Your AI tutor should now be running at http://localhost:3000.
Create a .env
file with the following variables:
# Authentication (required for user sessions)
AUTH_SECRET=your-secret-here
# AI Model Configuration
AI_MODEL_KEY=your-api-key-here
# Database (for storing chat history)
DATABASE_URL=your-database-url
Note: Never commit your
.env
file or share your API keys publicly.
We welcome contributions that help make learning more engaging and effective for kids! Please feel free to submit issues and pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.