Skip to content

Adarsh73111/agora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›οΈ AGORA

AI Debate Platform

Five minds. One truth. Zero compromise.

Live Demo GitHub Node.js React AWS


🎯 What is Agora?

Agora is an AI-powered debate platform where 5 distinct AI personalities automatically debate any topic you throw at them β€” in real time, with unique perspectives, building on each other's arguments.

Every morning at 8AM IST, Agora scans today's top news, picks the most debatable topics, runs autonomous debates, generates verdicts, and emails subscribers a daily digest.


✨ Features

  • πŸ€– 5 Unique AI Personas β€” Philosopher, Scientist, Devil's Advocate, Historian, Futurist
  • ⚑ Real-time debates β€” Watch arguments appear live with typewriter effects
  • πŸ“° Autonomous daily debates β€” Fetches news automatically every morning
  • πŸ“§ Email digest β€” Daily verdict summary delivered to your inbox
  • 🎨 Stunning UI β€” Gold particle interface with cinematic animations
  • πŸ”„ 1-3 debate rounds β€” Control the depth of each debate
  • πŸ“‹ Debate history β€” All past debates saved locally
  • ☁️ Serverless β€” Runs 24/7 on AWS Lambda + Amplify

πŸ€– Meet The Panel

Bot Role Personality
πŸ›οΈ Aristotle The Philosopher Calm, logical, virtue-driven
πŸ”¬ Dr. Nova The Scientist Sharp, data-driven, evidence-based
😈 Maverick Devil's Advocate Bold, provocative, contrarian
πŸ“œ Professor Huxley The Historian Wise, contextual, historically-grounded
πŸš€ Zara 2050 The Futurist Visionary, fearless, forward-thinking

πŸš€ Quick Start

git clone https://github.com/Adarsh73111/agora.git
cd agora
bash setup.sh

See SETUP.md for detailed instructions.


πŸ—οΈ Architecture

Frontend (React)          Backend (Node.js)         AI Layer
─────────────────         ─────────────────         ─────────
Particle UI          ──►  Express API          ──►  Groq API
Gold animations           Bot Engine                (Llama 3.1)
Typewriter effects        Debate Orchestrator
Debate history            News Fetcher (NewsAPI)
                          Email Sender (Gmail)
                          Daily Cron (8AM IST)

Hosting                   Deployment
────────                  ──────────
AWS Amplify          ◄──  GitHub
AWS Lambda                Codespaces

πŸ“Έ Screenshots

Home Screen

The landing page with particle constellation background and gold shimmer title

Agora Home

Live Debate in Progress

5 bots debating with typewriter animation and sound wave indicators

Agora Debate

Session Complete

Debate verdict card showing arguments count and session summary

Agora Complete

Daily Email Digest

Automated email with debate verdicts delivered every morning

Agora Email


πŸ› οΈ Tech Stack

Layer Technology
Frontend React 18, CSS animations, Cinzel font
Backend Node.js, Express.js
AI Groq API (Llama 3.1 8B)
News NewsAPI
Email Nodemailer + Gmail
Scheduling node-cron
Hosting AWS Amplify (frontend)
Serverless AWS Lambda (backend)
CI/CD GitHub

πŸ“ Project Structure

agora/
β”œβ”€β”€ frontend/              React app
β”‚   β”œβ”€β”€ src/App.js         Main UI component
β”‚   └── public/            Static assets
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ api/server.js      Express API server
β”‚   β”œβ”€β”€ bot-engine/        Debate orchestration
β”‚   β”œβ”€β”€ personas/          5 bot personalities
β”‚   └── autonomous/        News + email automation
β”œβ”€β”€ Dockerfile             Docker setup
β”œβ”€β”€ docker-compose.yml     Full stack Docker
β”œβ”€β”€ setup.sh               Auto setup script
β”œβ”€β”€ SETUP.md               Local setup guide
└── README.md              This file

🌍 Deployment

Agora is deployed on AWS:

  • Frontend β†’ AWS Amplify
  • Backend β†’ AWS Lambda
  • Schedule β†’ AWS EventBridge (8AM IST daily)

See SETUP.md for local development setup.


πŸ’‘ Roadmap

  • User accounts and profiles
  • Custom bot persona creator
  • Bot persona marketplace
  • Voting on debate arguments
  • WebSocket real-time streaming
  • Mobile app

πŸ‘¨β€πŸ’» Author

Adarsh Misra


πŸ“„ License

MIT License β€” feel free to clone, modify and use!


Built with β˜• and AWS free tier

πŸ›οΈ Five Minds Β· One Truth Β· Zero Compromise

About

πŸ›οΈ AI debate platform where 5 unique bots argue about today's top news and email you the verdict every morning. Built with React, Node.js, Groq API and AWS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors