QUEST: Your Life as an RPG

Inspiration

Ever heard of Solo Leveling? QUEST is an RPG that builds your identity through real-life actions. You’re literally leveling up solo.


What It Does

QUEST turns personal development into a role-playing game where you are the main character.

Core Features

  • Create a Character

    • Choose from 6 classes, each with unique stat bonuses:
    • Creator
    • Explorer
    • Guardian
    • Scholar
    • Merchant
    • Warrior
  • Turn Goals into Quests

    • Define life goals as quests
    • Track milestones and progress
    • Earn XP for real actions
  • AI Party System (5 Agents)

    • Sage — Wisdom & reflection Asks deep questions to help you understand yourself
    • Scout — Discovery & opportunity Finds resources, communities, and side quests
    • Treasurer — Financial guidance Helps with budgeting and financial planning
    • Bard — Story & narrative Celebrates progress and narrates your journey
    • Blacksmith — Tools & commerce Recommends products and tools for your quests
  • Progression System

    • Earn XP via:
    • Daily check-ins
    • Quest progress
    • Party interactions
    • Track 6 core stats:
    • Creativity
    • Courage
    • Wealth
    • Connection
    • Wisdom
    • Discipline

How We Built It

Frontend

  • Next.js 14 (React + TypeScript)
  • Tailwind CSS with RPG-style dark UI (gold accents, pixel avatars)
  • Framer Motion for animations (level-ups, XP counters, typing indicators)
  • NextAuth.js for authentication ### Backend
  • Next.js API Routes (REST endpoints)
  • FastAPI (Python) for AI agent orchestration
  • MongoDB Atlas for persistence (users, quests, progress logs, conversations)

AI Orchestration

  • LangGraph for multi-agent workflows with parallel execution
  • Backboard.io API as a unified gateway to multiple LLMs
  • Direct Gemini API integration for:
    • Image analysis
    • Google Search grounding
    • Structured JSON outputs

Agent → Model Mapping

  • Sage → Claude 3 Opus (deep reflection)
  • Scout → Gemini 2.5 Flash (pattern discovery)
  • Treasurer → GPT-4 (structured financial reasoning)
  • Bard → Claude 3 Sonnet (storytelling)
  • Blacksmith → Cohere Command R+ (semantic recommendations)

Challenges We Ran Into

  • Slow multi-agent responses

    • Sequential execution caused 8–10s delays
    • Fixed with parallel processing and shared context
  • Infinite agent loops

    • Agent-to-agent questioning risked endless recursion
    • Solved with round limits and timeouts
  • Gemini free-tier rate limits

    • 15 requests/min required strict rate limiting and queuing
  • Maintaining shared context

    • Each agent needed awareness of others’ outputs
    • Built a collaboration context system
  • Cross-session memory

    • Used shared backboard_memory_id to persist history across agents

Accomplishments We’re Proud Of

  • True multi-agent collaboration
    • Agents build on each other instead of responding independently
  • Fast responses at scale
    • 3–6s typical response time with 5 agents running in parallel
  • Unified LLM access
    • Seamless switching between Claude, GPT-4, Gemini, and Cohere
  • Engaging RPG gamification
    • XP, classes, stats, and achievements make growth addictive
  • Cohesive pixel-art UI
    • Custom animated pixel avatars for each agent
  • Advanced Gemini features
    • Multimodal vision (image-based progress verification)
    • Real-time search grounding
    • Structured outputs

What We Learned

  • Multi-agent orchestration patterns

    • Parallel vs sequential execution
    • Conditional routing
    • State management with LangGraph
  • Model selection matters

    • Claude for reflection
    • Gemini for discovery
    • GPT-4 for structured reasoning
  • Performance vs collaboration tradeoffs

    • More collaboration ≠ better UX without limits
  • Prompt engineering for personality

    • Strong system prompts create distinct, reliable agents
  • Memory management

    • Sharing context without blowing token limits is hard but solvable

What’s Next for QUEST

  • Real rewards

    • Partner discounts and perks for quest completion
  • Guild & social features

    • Parties, shared quests, leaderboards
  • Shopify integration

    • Real product recommendations from merchants
  • Mobile app

    • Native iOS & Android
  • Voice input

    • Speak directly to your party
  • Weekly AI summaries

    • Bard generates story-style “chapter recaps”
  • Advanced analytics

    • Stat growth insights
    • Completion trends
    • Personalized recommendations

Built With

Share this project:

Updates