An innovative AI-powered mini app that transforms group chats into dynamic social gaming environments. Quest Masters (AI agents) analyze conversation patterns and create personalized challenges, turning everyday interactions into engaging quests with rewards and achievements.
- The Mentor: Guides users through skill development and learning quests
- The Competitor: Creates competitive challenges and tournaments
- The Creator: Fosters artistic and creative expression contests
- The Connector: Facilitates networking and relationship building
- The Explorer: Introduces users to new protocols and technologies
- Real-time Quest Generation: AI analyzes group conversations and creates contextual challenges
- Multiple Quest Types: Social challenges, knowledge quests, creative contests, community building, cross-protocol adventures
- Difficulty Scaling: Easy to Expert levels based on user experience
- Reward System: XP, tokens, badges, and achievements
- Social Scoring: Build reputation through quest participation
- On-demand Deployment: Interactive mini apps launch for each quest
- Real-time Updates: WebSocket-powered live quest notifications
- Cross-group Challenges: Network-wide events and competitions
- Achievement System: NFT badges and milestone rewards
- XMTP Integration: Group chat management and message streaming
- AI Quest Masters: LangChain-powered conversation analysis
- Quest Orchestration: Multi-agent coordination system
- WebSocket Server: Real-time quest updates
- Mini App Launcher: Dynamic quest deployment
- Quest Dashboard: Real-time quest display and management
- Wallet Integration: XMTP browser SDK with multiple wallet support
- Responsive Design: Mobile-first mini app experience
- Real-time Updates: WebSocket client for live notifications
- Node.js v20+
- Yarn v4.6.0+
- XMTP-compatible wallet
-
Navigate to backend directory
cd backend -
Install dependencies
yarn install
-
Generate XMTP keys
yarn gen:keys
-
Set environment variables
# Add to .env file OPENAI_API_KEY=your_openai_api_key API_SECRET_KEY=your_api_secret PORT=3001 -
Start the Quest Arena server
yarn dev
-
Navigate to frontend directory
cd frontend -
Install dependencies
yarn install
-
Set environment variables
# Add to .env NEYNAR_API_KEY="NEYNAR_API_DOCS" # Auth JWT secret, generate yours with `openssl rand -base64 32` JWT_SECRET="" LOGGING_LEVEL=off BACKEND_URL="https://mini-appbackend-production-3ef8.up.railway.app" API_SECRET_KEY="" NEXT_PUBLIC_API_SECRET= NEXT_PUBLIC_URL=
-
Start the development server
yarn dev
AI Quest Masters continuously analyze group chat conversations for:
- Activity patterns and engagement levels
- Topic trends and interests
- User interaction dynamics
- Optimal quest timing
Based on analysis, Quest Masters create personalized challenges:
- Social Challenges: Community building, member recruitment
- Knowledge Quests: Learning challenges, trivia competitions
- Creative Contests: Art, writing, meme competitions
- Community Building: Collaboration and networking tasks
- Cross-Protocol: Web3 exploration and adoption
Each quest launches an interactive mini app with:
- Custom UI for quest type
- Real-time participation tracking
- Progress monitoring
- Reward distribution
Participants earn:
- XP: Experience points for leveling up
- Tokens: Cryptocurrency rewards
- Badges: NFT achievements
- Social Score: Reputation building
GET /api/quests/active- Get active questsGET /api/quests/user/:inboxId/stats- Get user statisticsPOST /api/quests/trigger- Manually trigger quest creation
POST /api/xmtp/add-inbox- Add user to groupPOST /api/xmtp/remove-inbox- Remove user from groupGET /api/xmtp/get-group-id- Get group information
questCreated- New quest availablequestCompleted- Quest completion notificationuserStats- Updated user statistics
- Member recruitment drives
- Community engagement contests
- Networking challenges
- Group activity boosters
- Trivia competitions
- Learning challenges
- Skill assessments
- Educational content creation
- Art competitions
- Writing challenges
- Meme contests
- Design challenges
- Collaboration projects
- Mentorship programs
- Event organization
- Resource sharing
- DeFi exploration
- NFT challenges
- Protocol adoption
- Web3 education
- Level 1-10: Novice (0-1000 XP)
- Level 11-25: Intermediate (1000-5000 XP)
- Level 26-50: Advanced (5000-15000 XP)
- Level 51+: Expert (15000+ XP)
- Social: Community building achievements
- Creative: Artistic and content creation
- Knowledge: Learning and education
- Leadership: Mentorship and guidance
- Explorer: Protocol and technology adoption
- AI Quest Master system
- Basic quest types
- Reward mechanism
- Mini app framework
- Leaderboards and competitions
- Guild system
- Advanced achievements
- Cross-group tournaments
- Token staking for quests
- NFT marketplace for badges
- DAO governance for quest approval
- Yield farming through participation
- Multi-protocol support
- Third-party quest creators
- API for external integrations
- Mobile app development
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- XMTP Team: For the amazing messaging protocol
- LangChain: For AI agent capabilities
- Base: For minikit inspiration and tools
- Community: For feedback and contributions
- Documentation: docs.xmtp.org
Built with โค๏ธ for the XMTP community
Transform your group chats into epic social adventures! ๐