You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StudyBuddy - AI-Powered Multi-Agent Tutoring System
An intelligent, adaptive learning platform that uses LangGraph to orchestrate multiple AI agents for personalized tutoring. Upload your study materials and get explanations, practice questions, and track your mastery across topics.
Features
Q&A Mode - Ask questions about your study material and get detailed explanations with analogies
Practice Mode - Auto-generated quiz questions with intelligent answer evaluation
Mastery Tracking - Track your progress per topic with adaptive scoring
Personal Study Guides - Upload your own materials for customized learning
Multi-Agent AI - Six specialized agents working together via LangGraph
Tech Stack
Backend
FastAPI - Python web framework
LangGraph - Multi-agent orchestration
LangChain - LLM framework
OpenAI GPT-4o-mini - Language model
PostgreSQL + pgvector - Database with vector search
After Vercel deploys, go back to Railway and update CORS_ORIGINS with your Vercel URL.
Local Development
Backend Setup
cd backend
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate# Install dependencies
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Edit .env with your credentials# Run the server
uvicorn app.main:app --reload
The API will be available at http://localhost:8000
Frontend Setup
cd frontend
# Install dependencies
npm install
# Configure environment
cp .env.example .env
# Edit .env if your backend is not at localhost:8000# Run development server
npm run dev
The app will be available at http://localhost:5173
Environment Variables
Backend (.env)
# JWT ConfigurationSECRET_KEY=your-secure-secret-key-min-32-charsALGORITHM=HS256ACCESS_TOKEN_EXPIRE_MINUTES=30# Supabase PostgreSQL DatabaseDATABASE_URL=postgresql://postgres.[ref]:[password]@aws-0-[region].pooler.supabase.com:6543/postgres# CORS OriginsCORS_ORIGINS=http://localhost:5173,https://your-app.vercel.app# Supabase StorageSUPABASE_URL=https://your-project.supabase.coSUPABASE_SERVICE_KEY=your-service-role-keySUPABASE_BUCKET=study-guides
An intelligent, adaptive learning platform that uses LangGraph to orchestrate multiple AI agents for personalized tutoring. Upload your study materials and get explanations, practice questions, and track your mastery across topics.