Spaces:
Sleeping
Sleeping
| title: Eidolon Cognitive Tutor | |
| emoji: π§ | |
| colorFrom: purple | |
| colorTo: blue | |
| sdk: gradio | |
| sdk_version: 4.0.0 | |
| app_file: app.py | |
| pinned: false | |
| license: apache-2.0 | |
| # π§ Eidolon Cognitive Tutor | |
| **Interactive AI Tutor with 6 Learning Modes, Adaptive Difficulty, and Gamification** | |
| > Learn Anything, Your Way β Personalized, Interactive, Engaging | |
| --- | |
| ## π Try It Now! | |
| This Space runs in **Demo Mode** by default - no API keys required! | |
| ### Features | |
| - π **6 Learning Modes**: Socratic, ELI5, Technical, Analogy, Code, Standard | |
| - π― **Adaptive Difficulty**: 1-5 scale from Beginner to Expert | |
| - π **Tutor Personas**: Friendly, Strict, Enthusiastic, Professional, Playful | |
| - π **Gamification**: Achievements, streaks, progress tracking | |
| - β‘ **Interactive UI**: Typing animation, prompt enhancement, examples | |
| --- | |
| ## π§ Configuration (Optional) | |
| To connect a real AI model instead of demo responses: | |
| ### Option 1: Set Environment Variables | |
| 1. Go to **Settings** β **Variables and secrets** | |
| 2. Add these variables: | |
| - `DEMO_MODE` = `0` (disable demo mode) | |
| - `INFERENCE_API_URL` = your inference endpoint | |
| - `INFERENCE_API_KEY` = your API key (if needed) | |
| ### Option 2: Keep Demo Mode (Default) | |
| The Space works perfectly in demo mode! It shows: | |
| - How learning modes adapt responses | |
| - Difficulty scaling (1-5) | |
| - Persona variations | |
| - All UI features | |
| **Demo mode is ideal for showcasing the platform without requiring API costs.** | |
| --- | |
| ## π Documentation | |
| - **[GitHub Repository](https://github.com/Zwin-ux/Eidolon-Cognitive-Tutor)** - Full source code | |
| - **[Feature Showcase](https://github.com/Zwin-ux/Eidolon-Cognitive-Tutor/blob/main/FEATURES.md)** - Complete feature list | |
| - **[Quick Start Guide](https://github.com/Zwin-ux/Eidolon-Cognitive-Tutor/blob/main/QUICKSTART.md)** - 30-second onboarding | |
| --- | |
| ## π― What Makes This Special? | |
| Unlike typical AI demos, this tutor offers: | |
| - β Multiple learning approaches (not one-size-fits-all) | |
| - β Difficulty adaptation (scales to your level) | |
| - β Personality customization (choose teaching style) | |
| - β Progress tracking (gamified journey) | |
| - β Full functionality in demo mode (no API required) | |
| --- | |
| ## π οΈ Tech Stack | |
| - **Gradio 4.0+** - Interactive UI | |
| - **FastAPI** - Backend API (Vercel deployment) | |
| - **SQLite** - Conversation history | |
| - **Vanilla JS** - Static UI (public/index.html) | |
| --- | |
| ## π How to Use | |
| 1. **Select a Learning Mode** - Choose how you want to learn | |
| 2. **Adjust Difficulty** - Drag the slider (1=Beginner, 5=Expert) | |
| 3. **Pick a Persona** - Choose your tutor's style | |
| 4. **Ask Questions** - Type anything or click examples | |
| 5. **Track Progress** - Watch your stats grow! | |
| --- | |
| ## π Achievements to Unlock | |
| - π **Getting Started** - Ask your first question | |
| - π **Curious Learner** - Ask 10 questions | |
| - π₯ **Knowledge Seeker** - Ask 50 questions | |
| - π¨ **Mode Master** - Try all 6 learning modes | |
| --- | |
| **Built with β€οΈ for personalized learning** | |