Advanced AI Chatbot with Multiple Models - Built on the latest Vercel AI template
Getting Started Β· Features Β· Migration Status Β· Documentation
LostMind AI is an advanced chatbot built on the latest Vercel AI template (v4.3.13), featuring:
- 5 AI models including Gemini 2.5 Pro and Flash
- Custom neural network branding
- Resumable streams and advanced features
- Beautiful, responsive interface
# Clone and install
cd /path/to/project
cp .env.example .env.local
pnpm install
# Start development
pnpm dev
π New to this project? Check out the Quick Start Guide
- LostMind Lite - GPT-4o-mini for fast responses
- LostMind Pro - GPT-4o for complex tasks
- LostMind Quantum - Gemini 2.5 Pro with reasoning
- LostMind Vision Pro - Gemini 2.5 Pro with vision
- LostMind Flash - Gemini 2.5 Flash for speed
- β¨ Resumable streams with Redis
- π₯ User entitlements and rate limiting
- π§ MCP tool integration
- π¨ Custom neural network branding
- π± Fully responsive design
- π Dark/light theme support
This project is currently migrating from the original implementation to the latest Vercel AI template.
- β Latest template setup
- β Task management system
- β Migration planning
- β Brand guidelines
- π Component migration (Phase 1)
- π Model integration (Phase 2)
- π Advanced features (Phase 3)
Check task-tracker.md for current status
- π Quick Start Guide
- π Migration Plan
- π¨ Brand Guidelines
- π Project Memory
- π Task System Overview
- π Progress Tracker
- Frontend: Next.js 15, React 19 RC, Tailwind CSS
- AI: Vercel AI SDK 4.3.13, OpenAI, Google Gemini
- Database: Neon PostgreSQL with Drizzle ORM
- Auth: NextAuth v5
- Storage: Vercel Blob
- Deployment: Vercel
# Development
pnpm dev # Start dev server
pnpm build # Build for production
# Database
pnpm db:migrate # Run migrations
pnpm db:studio # Database UI
# Code Quality
pnpm lint # Check code
pnpm lint:fix # Fix issues
# Required
POSTGRES_URL=your_database_url
OPENAI_API_KEY=sk-...
GEMINI_API_KEY=AIza...
AUTH_SECRET=your_secret
# Optional
REDIS_URL=redis://...
NEXT_PUBLIC_APP_URL=https://chat.lostmindai.com
lostmind-ai-chatbot/
βββ app/ # Next.js app router
βββ components/ # React components
βββ lib/ # Utilities and configurations
βββ docs/ # Documentation
βββ Tasks/ # Task management
β βββ phase-1/ # Component migration
β βββ phase-2/ # Model integration
β βββ phase-3/ # Advanced features
βββ public/ # Static assets
- Check task-tracker.md for current task
- Follow task instructions in phase directories
- Update progress and complete tasks
- Move finished tasks to
/completed
folder
- TypeScript strict mode
- ESLint + Prettier
- Responsive design
- Accessibility compliant
# Deploy to Vercel
vercel deploy
- Add all required environment variables
- Connect to Neon database
- Configure Redis for resumable streams
- Set up domain: chat.lostmindai.com
- Project setup
- Documentation
- Component migration
- Basic functionality
- Model integration
- Branding application
- Feature implementation
- Advanced animations
- MCP integration
- Performance optimization
This project is licensed under the MIT License - see LICENSE file.