Master the art of debate with AI-powered practice and feedback
ArgumentAce is an intelligent debate training platform that helps users improve their argumentation skills through AI-powered practice sessions, real-time feedback, and structured debate formats.
- AI Debate Partner: Practice debates with an intelligent AI opponent that adapts to your skill level
- Real-time Feedback: Get instant analysis of your arguments with suggestions for improvement
- Multiple Debate Formats: Support for Asian Parliamentary, British Parliamentary, and Standard formats
- Speech Recognition: Voice-to-text input for natural debate practice
- Text-to-Speech: AI responses with natural voice synthesis
- Research Assistant: Get background information and key points on any debate topic
- Jury Verdict: Comprehensive evaluation of your debate performance
- Point of Information (POI): Interactive questioning system during debates
- Session Management: Save and resume debate sessions
- Preparation Mode: Structured prep time for formal debate formats
- Frontend: Next.js 15, React 18, TypeScript
- Styling: Tailwind CSS, Radix UI components
- AI Integration: Google Gemini API for argument generation and analysis
- Speech Services: Sarvam AI for text-to-speech and speech-to-text
- State Management: React hooks with local storage persistence
-
Clone the repository
git clone https://github.com/yourusername/argumentace.git cd argumentace -
Install dependencies
npm install
-
Set up environment variables Create a
.envfile in the root directory:NEXT_PUBLIC_GEMINI_API_KEY=your_gemini_api_key NEXT_PUBLIC_SARVAM_API_KEY=your_sarvam_api_key
-
Run the development server
npm run dev
-
Open your browser Navigate to
http://localhost:3000
- Start a Debate: Enter a topic and select your skill level
- Choose Format: Pick from Standard, Asian Parliamentary, or British Parliamentary
- Prepare (for formal formats): Use the preparation phase to research and plan
- Debate: Exchange arguments with the AI, getting real-time feedback
- Get Verdict: Request a comprehensive evaluation of your performance
src/
├── app/ # Next.js app router
├── components/ # React components
│ ├── ui/ # Reusable UI components
│ └── ... # Feature-specific components
├── ai/ # AI integration and flows
├── services/ # External service integrations
├── hooks/ # Custom React hooks
├── types/ # TypeScript type definitions
├── lib/ # Utility functions
└── config/ # Configuration files
This project was built for a hackathon. If you'd like to contribute:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE file for details
- Google Gemini API for AI capabilities
- Sarvam AI for speech services
- Radix UI for component primitives
- The debate community for format specifications
Built with ❤️ for the hackathon