An AI assistant that doesn't just answer — it questions its own answers before giving them to you, with retrieval-augmented, evidence-backed responses in the user's own language.
Most RAG assistants retrieve, generate, and stop. MIRA-CORA adds a self-challenging step: it critiques its own draft answer against the retrieved evidence before responding, which reduces confident-but-wrong answers and surfaces a confidence score alongside each response.
- Self-Challenging AI — actively questions and re-checks its own answers against retrieved evidence
- Multilingual Support — responds in whichever language the user writes in
- RAG Integration — evidence-aware responses with confidence scoring, not just generation
- Real-time Chat — fast, responsive interface
- Graceful Error Handling — clear fallbacks when retrieval or generation fails
Frontend: Vite, React, TypeScript, shadcn-ui, Tailwind CSS Backend: Python, OpenAI API
POST /ask— main chat endpointGET /— health check
Prerequisites: Node.js v18+, Python 3.11+, an OpenAI API key
# Backend
cd backend
pip install -r requirements.txt
python main.py
# Frontend (in a new terminal)
npm install
npm run devAdd your OpenAI API key in backend/main.py before running.
App runs at http://localhost:8080.
npm run buildBuild artifacts are output to dist/.
MIT — free to use for personal or commercial purposes.