🌈 AI-Powered Turkish Children Education Platform 🌈
AtaMind has been completely rewritten in Python using FastAPI to provide a high-performance, scalable backend for AI-powered Turkish children's education. The system features a sophisticated multi-agent AI architecture powered by Google Gemini 2.5 Pro.
- StorytellerAgent: Creates personalized Turkish cultural stories
- GuardianAgent: Ensures content safety and cultural appropriateness
- ChildPsychologyAgent: Analyzes child development and learning patterns
- VoiceAgent: Processes voice recordings and emotional analysis
- AIOrchestrator: Coordinates all agents for comprehensive education
- Backend: FastAPI with Python 3.11
- Database: PostgreSQL with SQLAlchemy ORM
- AI: Google Gemini 2.5 Pro + OpenAI
- Authentication: JWT-based security
- API: RESTful with automatic OpenAPI documentation
The platform features a super vibrant, child-friendly design:
- Rainbow gradient backgrounds with animations
- Colorful pulse effects and floating elements
- Happy family images from Unsplash
- Interactive sparkle animations
- Child-friendly icons and typography
AtaMind/
├── app/
│ ├── ai_agents/
│ │ ├── orchestrator.py # Central AI coordinator
│ │ ├── storyteller_agent.py # Story generation
│ │ ├── guardian_agent.py # Content safety
│ │ ├── child_psychology_agent.py # Development analysis
│ │ └── voice_agent.py # Voice processing
│ ├── models.py # Database models
│ ├── database.py # Database configuration
│ ├── auth.py # Authentication
│ └── routes.py # API endpoints
├── static/
│ └── index.html # Colorful landing page
├── uploads/ # File storage
├── main.py # FastAPI application
├── start_python.py # Startup script
└── test_python.py # Test script
# Copy environment template
cp .env.example .env
# Add your API keys to .env
GEMINI_API_KEY=your_gemini_key_here
OPENAI_API_KEY=your_openai_key_here
DATABASE_URL=your_postgres_url_here# Dependencies are already installed via Replit packager
# Includes: fastapi, uvicorn, sqlalchemy, google-generativeai, openai, etc.python test_python.py# Option 1: Using the startup script
python start_python.py
# Option 2: Direct uvicorn command
python -m uvicorn main:app --host 0.0.0.0 --port 8000 --reload
# Option 3: Simple python run
python main.pyGET /api/auth/user- Get current user info
POST /api/generate-story- Generate AI-powered storyGET /api/stories- List user storiesGET /api/stories/{id}- Get specific story
POST /api/children- Create child profileGET /api/children- List childrenGET /api/children/{id}- Get child details
POST /api/upload-voice- Upload voice recordingPOST /api/voice/analyze- Analyze voice emotions
GET /health- Health checkGET /api/health- API health checkGET /docs- Interactive API documentation (FastAPI auto-generated)
- Input Processing: Parent voice/text → VoiceAgent analysis
- Child Analysis: ChildPsychologyAgent → Developmental insights
- Story Creation: StorytellerAgent → Culturally-rich stories
- Safety Validation: GuardianAgent → Content appropriateness
- Output Generation: AIOrchestrator → Complete personalized content
- Deep Turkish cultural knowledge integration
- Traditional storytelling methods with modern adaptation
- Family values and cultural identity development
- Age-appropriate content with psychological insights
- Rainbow Gradients: Dynamic color shifting backgrounds
- Pulse Animations: Vibrant button and card effects
- Floating Elements: Smooth CSS animations
- Interactive Sparkles: JavaScript-generated effects
- Happy Family Images: Professional Unsplash photography
- Large, clear typography
- Intuitive navigation
- Bright, engaging colors
- Safe, educational content presentation
- JWT-based authentication
- Content safety validation
- Age-appropriate filtering
- Cultural sensitivity checks
- Secure file upload handling
- Child development tracking
- Learning progress analytics
- Engagement optimization
- Voice emotion analysis
- Cultural value transmission metrics
The application is designed for easy deployment:
- FastAPI provides automatic scaling
- PostgreSQL database support
- Static file serving
- Environment-based configuration
- Health check endpoints
This project focuses on Turkish children's education with cultural values integration. All contributions should maintain the colorful, child-friendly design and educational mission.
AtaMind - Bridging traditional Turkish values with modern AI technology for the next generation! 🌈🇹🇷✨