AOSSIE-Org / AOSSIE-Org/DebateAI
š§ Feature Request: AI Devilās Advocate Mode
- Dominant language
- TypeScript
- Stars
- 84
- Forks
- 198
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
## š§ Feature Summary
Introduce an optional **AI Devilās Advocate mode** that periodically injects neutral, critical questions during debates to challenge assumptions, uncover logical gaps, and promote deeper reasoning ā without taking sides.
---
## šÆ Motivation / Problem Statement
Currently, debates in DebateAI rely solely on participants (human or AI) to challenge each otherās arguments. This can result in:
- Unchallenged assumptions
- Superficial rebuttals
- Missed opportunities for deeper critical thinking
An **impartial AI observer** acting as a Devilās Advocate can significantly enhance the educational value of debates by encouraging reflection and stronger argumentation.
---
## š” Proposed Solution
Add a configurable **AI Devilās Advocate** that:
- Observes the debate passively
- Periodically analyzes recent messages
- Injects **one concise, neutral question** aimed at:
- Exposing hidden assumptions
- Highlighting logical gaps
- Encouraging clarification or evidence
The AI **does not argue or take sides** ā it only asks questions.
---
## ⨠Key Features (MVP Scope)
- [x] Optional toggle when creating a debate room
- [x] Configurable frequency (e.g., every N messages)
- [x] AI-generated questions based on recent transcript
- [x] Distinct message type (e.g., āDevilās Advocateā)
- [x] Safe rate limits to avoid disruption
---
## š§© Implementation Overview (High-Level)
### Backend
- Extend debate room model to enable/disable Devilās Advocate mode
- Track message count to trigger AI invocation
- Use existing LLM integration to generate questions
- Broadcast Devilās Advocate messages via existing WebSocket flow
### Frontend
- UI toggle for enabling the mode
- Visual distinction for Devilās Advocate messages
- No changes to core debate flow or controls
---
## š§Ŗ Non-Goals (Out of Scope)
- ā Real-time analysis for every message
- ā Argument scoring or moderation
- ā Taking sides or debating participants
- ā Interrupting structured debate phases (e.g., closing statements)
---
## š Educational Impact
This feature:
- Encourages reflective and critical thinking
- Improves argument quality
- Aligns with DebateAIās mission of AI-assisted learning
- Serves as a foundation for future research and GSoC-scale features
---
## š® Future Extensions (Optional)
- Post-debate summary of unanswered Devilās Advocate questions
- Difficulty levels for question depth
- Integration with debate feedback and analytics
---
## š Contribution Intent
I am willing to implement this feature and submit a PR following the projectās contribution guidelines.
Feedback on scope, design, or approach is very welcome.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.