DEV Community

Simran Shaikh
Simran Shaikh Subscriber

Posted on

MindMesh AI - 7 AI Agents Debate Your Decisions in Real-Time

DEV's Worldwide Show and Tell Challenge Submission ๐ŸŽฅ

MindMesh AI - Multi-Agent Decision Intelligence System

๐ŸŽฅ Video Demo

โ–ถ๏ธ Watch My 1-Minute Pitch Video

๐ŸŽฏ What Problem Does It Solve?

Making complex life decisions is hard. Should you switch careers? Buy a house? Start a business?

The problem? Confirmation bias. We naturally seek information that confirms what we already believe. We miss risks, overlook perspectives, and make decisions based on incomplete analysis.

MindMesh AI solves this by simulating a team of 7 specialized AI agents that:

  • Analyze your question from multiple angles simultaneously
  • Debate each other in real-time
  • Check for biases and verify facts
  • Deliver a balanced, evidence-based recommendation

Think of it as having a research team, devil's advocate, fact-checker, and strategic advisorโ€”all working together in 5 seconds.


๐Ÿ’ก Why I Built This

I was struggling with a career decision: stay in my stable job or pursue AI/ML full-time. I asked friends, read articles, made pro/con listsโ€”but still felt uncertain.

That's when it hit me: What if I could have multiple AI agents debate my decision? Each with different perspectives:

  • One optimistic (Pro Advocate)
  • One cautious (Con Advocate)
  • One focused on data (Research Agent)
  • One catching my biases (Bias Checker)
  • One verifying facts (Fact Checker)
  • One synthesizing everything (Synthesizer)

This project was born from that need. Now, instead of my own echo chamber, I get a multi-perspective analysis in seconds.


โœจ What Makes It Special

1. Parallel Agent Processing โšก

Unlike sequential AI chatbots, MindMesh activates all agents simultaneously. Using Google Gemini's speed + async processing, 7 agents analyze your question in parallel.

Result: 5-second comprehensive analysis vs. 35+ seconds sequential processing. That's 7x faster.

2. Real-Time Agent Debate ๐ŸŽญ

You don't just get a final answerโ€”you watch the agents think. WebSocket connections stream each agent's response as they complete:

  • ๐Ÿ“Š Research Agent drops statistics
  • ๐Ÿ’ก Pro Advocate builds the case
  • ๐Ÿ˜ˆ Con Advocate identifies risks
  • ๐ŸŽฏ Bias Checker calls out weak reasoning
  • โœ… Fact Checker verifies claims
  • ๐ŸŽ“ Synthesizer delivers verdict

It's like watching a debate team work in real-time.

3. Intelligence Transparency ๐Ÿ”

Every agent's reasoning is visible. You see:

  • What data influenced the recommendation
  • Which arguments were strongest
  • What biases were detected
  • What facts were verified
  • The confidence level (X/10)

No black box. Full transparency.

4. Production-Ready Features ๐Ÿš€

  • History System: Revisit past analyses
  • Smart Follow-ups: AI suggests relevant next questions
  • Export Analysis: Download as Markdown for reference
  • Confidence Visualization: See recommendation strength
  • Mobile Responsive: Works beautifully on all devices

๐Ÿ› ๏ธ How It Works

Tech Stack

  • Backend: Python, FastAPI, WebSockets, async/await
  • Frontend: React 18, Vite, Tailwind CSS
  • AI: Google Gemini API (1.5-flash for speed, 1.5-pro for depth)
  • Real-time: WebSocket for instant agent updates

Architecture

User Question
    โ†“
WebSocket Connection
    โ†“
PHASE 1: Parallel Analysis
โ”œโ”€ Research Agent (data & statistics)
โ”œโ”€ Pro Advocate (arguments FOR)
โ””โ”€ Con Advocate (arguments AGAINST)
    โ†“ (all run simultaneously)
PHASE 2: Quality Control
โ”œโ”€ Bias Checker (analyzes Phase 1)
โ””โ”€ Fact Checker (verifies claims)
    โ†“
PHASE 3: Synthesis
โ””โ”€ Synthesizer (final recommendation)
    โ†“
Structured Output + Confidence Score
Enter fullscreen mode Exit fullscreen mode

Agent Specializations

Each agent has a unique personality and role:

  1. ๐Ÿ“Š Research Agent: Data-driven analyst

    • Gathers statistics, trends, market data
    • Provides objective foundation
  2. ๐Ÿ’ก Pro Advocate: Optimistic opportunity-seeker

    • Builds strongest case FOR the decision
    • Highlights benefits and potential gains
  3. ๐Ÿ˜ˆ Con Advocate: Cautious risk-manager

    • Identifies every potential problem
    • Voice of skepticism and caution
  4. ๐ŸŽฏ Bias Checker: Critical thinker

    • Analyzes other agents' arguments
    • Catches logical fallasies and weak reasoning
  5. โœ… Fact Checker: Evidence-focused verifier

    • Checks claims for accuracy
    • Flags unverified statements
  6. ๐ŸŽ“ Synthesizer: Wise decision-maker

    • Weighs all perspectives
    • Delivers structured recommendation with confidence score
  7. ๐Ÿง  Orchestrator: (Behind the scenes)

    • Coordinates workflow
    • Manages agent communication

๐Ÿš€ Try It Live

๐Ÿ”— Live Demo: https://mind-mesh-ai-two.vercel.app/

๐Ÿ“ฆ GitHub Repo: https://github.com/SimranShaikh20/MindMesh-AI

No Login Required!

Just visit and ask a question.

๐Ÿ’ญ Try These Example Questions:

  • "Should I switch careers to AI/ML engineering?"
  • "Is buying a house in 2025 a good financial decision?"
  • "Should I start a SaaS business or get a job?"
  • "Is remote work better than office work?"

๐ŸŽจ User Experience Highlights

Beautiful Dark Theme UI

  • Gradient backgrounds (purple โ†’ pink)
  • Smooth animations (fade-ins, slides, pulses)
  • Agent cards with color-coded responses
  • Professional, modern design

Real-Time Feedback

  • Watch agents activate one by one
  • Status updates: "๐Ÿš€ Activating agent swarm..."
  • Live agent status indicators
  • Processing time displayed

Smart Interactions

  • One-click example questions
  • History sidebar for past analyses
  • Export button for saving insights
  • Follow-up question suggestions

๐Ÿ“Š Technical Achievements

Performance

  • 5-second analysis (7 agents in parallel)
  • 7x faster than sequential processing
  • Real-time streaming via WebSockets
  • Async/await for non-blocking operations

Code Quality

  • Modular architecture: Separate agent classes
  • Error handling: Graceful failures, helpful messages
  • Type safety: Pydantic models for validation
  • Clean code: Well-documented, maintainable

Scalability

  • Stateless agents: Easy to add more
  • WebSocket pooling: Supports multiple users
  • API-first design: Ready for mobile apps
  • Environment configs: Easy deployment

๐ŸŽฏ Challenge Requirements Met

โœ… Software side project - Built from scratch with Python & React
โœ… Web application - Fully functional at https://mind-mesh-ai-two.vercel.app/
โœ… My own code - 100% original implementation
โœ… Easy testing - No login required, instant access
โœ… Live demo - Deployed on Vercel
โœ… GitHub repo - Open source at https://github.com/SimranShaikh20/MindMesh-AI
โœ… 1-minute pitch video - Uploaded to Mux and embedded above

What the App Does

MindMesh AI takes any decision-making question and analyzes it through 7 specialized AI agents working in parallel, delivering a balanced recommendation in 5 seconds.

Why I Built It

To solve my own confirmation bias problem when making career decisions, and to help others avoid the echo chamber effect in decision-making.

What Makes It Unique

  • Multi-agent debate system - First of its kind for decision intelligence
  • Real-time streaming - Watch AI agents think and debate live
  • Full transparency - See every agent's reasoning, not just final answers
  • 7x faster - Parallel processing vs sequential AI responses

How It Works

WebSocket-based real-time communication with Google Gemini API, orchestrating 7 agents in 3 phases: Parallel Analysis โ†’ Quality Control โ†’ Synthesis, all visible to users as they happen.


๐ŸŽฏ Use Cases

Personal Decisions

  • Career changes
  • Major purchases (house, car)
  • Life transitions (moving, relationships)
  • Education choices

Business Decisions

  • Product launches
  • Market entry strategies
  • Hiring decisions
  • Investment opportunities

Research & Analysis

  • Debate complex topics
  • Explore multiple perspectives
  • Verify information quality
  • Generate structured insights

๐Ÿ”ฎ Future Roadmap

Planned Features

  • Voice Input: Ask questions naturally
  • Multi-language Support: Global accessibility
  • Custom Agent Teams: Specialized for domains (finance, health, tech)
  • Collaborative Mode: Share analyses with teams
  • API Access: Integrate into other apps
  • Agent Learning: Improve based on feedback

๐ŸŽฌ Mux Integration Vision

I'm excited to potentially add Mux video capabilities for:

  • Screen recording of agent debates as videos
  • Tutorial videos explaining each recommendation
  • Shareable analysis videos for social media
  • Live streaming of complex multi-agent sessions

This would allow users to save and share their decision analysis sessions as videos, making it easier to revisit complex decisions or share insights with teams.


๐Ÿ† Why This Deserves Recognition

Innovation

  • Novel approach: Multi-agent debate system for decision intelligence
  • Real-time AI: Streaming agent responses as they generate
  • Transparency: Full visibility into AI reasoning process

Technical Excellence

  • Production-ready: Comprehensive error handling, testing, documentation
  • High performance: Parallel processing, WebSocket optimization
  • Clean architecture: Modular, scalable, maintainable codebase

User Value

  • Solves real problems: Better decision-making through bias reduction
  • Time-saving: 5 seconds vs. hours of manual research
  • Actionable insights: Confidence scores and structured recommendations

Polish

  • Beautiful UI: Professional dark theme with smooth animations
  • Smooth UX: Intuitive interactions and real-time feedback
  • Complete features: History, export, follow-ups, mobile responsive

๐Ÿ’ป Installation & Setup

Prerequisites

Backend Setup

cd backend
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env
# Add your GEMINI_API_KEY to .env
python main.py
Enter fullscreen mode Exit fullscreen mode

Frontend Setup

cd frontend
npm install
npm run dev
Enter fullscreen mode Exit fullscreen mode

Access: http://localhost:3000


๐Ÿค Built With


๐Ÿ“ License

MIT License - feel free to learn from, modify, and build upon this project!


๐Ÿ™ Acknowledgments

  • Google Gemini Team for incredible API speed and reliability
  • DEV Community for hosting this amazing challenge
  • Mux for sponsoring and pushing video innovation
  • You for reading this far! ๐Ÿš€

๐ŸŽฌ Final Thoughts

Making big decisions shouldn't be a solo act. MindMesh AI gives you a team of tireless AI advisors who:

  • Never get tired
  • Never judge you
  • Always consider all angles
  • Deliver insights in seconds

Whether you're deciding to quit your job, buy a house, or choose between pizza toppings (hey, tough choice!), MindMesh AI brings clarity to complexity.

Try it. Challenge it. Let the agents debate your next big decision.


๐Ÿ“ฌ Connect With Me

Questions? Comments? Want to contribute? Drop a comment below! ๐Ÿ‘‡


Built with โค๏ธ and lots of โ˜• for DEV's Worldwide Show and Tell Challenge

Top comments (0)