An AI tutor that plans, adapts, and teaches—like having a mentor on demand.
Project-Minerva is an intelligent tutoring system featuring two AI agents powered by Google's Gemini API:
- AI Syllabus Agent: Creates personalized curriculum based on user's previous knowledge, experience, class level, test scores, grades, and learning goals
- AI Teacher Agent: Provides comprehensive teaching with text explanations, visual descriptions, examples, and practice exercises
- 🤖 Dual AI Agents: Specialized agents for curriculum creation and teaching
- 🎯 Personalized Learning: Custom curriculum based on individual user data
- 📚 Comprehensive Teaching: Rich content with examples, visuals, and exercises
- 🎨 Modern UI: Minimalistic, dynamic, and responsive web interface
- ⚡ Real-time AI: Powered by Google Gemini API for intelligent responses
- 📱 Mobile Friendly: Fully responsive design for all devices
- Frontend: Next.js 14, React, TypeScript
- Styling: Tailwind CSS, Framer Motion
- AI: Google Gemini API
- Deployment: Vercel
- Markdown: React Markdown with GitHub Flavored Markdown
- Node.js 18+
- A Google Gemini API key (Get one here)
- Clone the repository:
git clone https://github.com/wired07/Project-Minerva.git
cd Project-Minerva- Install dependencies:
npm install- Set up environment variables:
cp env.example .env.local- Add your Gemini API key to
.env.local:
GEMINI_API_KEY=your_actual_api_key_here
- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
-
Fill out the form with your learning information:
- Previous knowledge and experience level
- Class/grade level
- Test scores and grades (optional)
- Subjects of interest
- Learning goals
-
Click "Generate My Curriculum" to create a personalized learning plan
-
The AI will analyze your data and create a comprehensive curriculum with:
- Learning objectives
- Topic sequence with time estimates
- Prerequisites
- Assessment strategy
- Recommended resources
- Enter a topic you want to learn
- Select your learning level
- Add any specific context or questions (optional)
- Click "Start Learning" to get comprehensive teaching content
The AI Teacher provides:
- Clear explanations with real-world examples
- Step-by-step breakdowns
- Visual descriptions for graphs and diagrams
- Practice questions and exercises
- Common misconceptions to avoid
- Tips for better understanding
- Push your code to GitHub
- Connect your repository to Vercel
- Add your
GEMINI_API_KEYenvironment variable in Vercel dashboard - Deploy!
The app is configured with vercel.json for optimal deployment settings.
POST /api/syllabus- Generate personalized curriculumPOST /api/teach- Get teaching content for a topic
GEMINI_API_KEY- Your Google Gemini API key (required)
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is open source and available under the MIT License.
If you encounter any issues or have questions, please open an issue on GitHub.