Jurix is an interactive, AI-driven courtroom simulation platform that replicates real-world legal proceedings. Users can upload case files, evidence, and documents — then watch as AI agents representing the Prosecutor, Defense, and Judge engage in structured legal arguments.
Ideal for law students, educators, and legal professionals looking to practice argumentation and study courtroom dynamics in a safe, controlled environment.
| Agent | Role |
|---|---|
| ProsecutorAgent | Builds prosecutorial arguments using structured legal datasets |
| DefenseAgent | Formulates defense strategies and counter-arguments |
| JudgeAgent | Evaluates both sides, maintains courtroom flow, and renders verdicts |
- Upload PDFs, DOCX, images, or plain text documents
- AI parser converts raw evidence into structured, readable summaries
- Review, approve, or manually edit parsed evidence before simulation begins
- Covers IPC, CrPC, Constitution of India, and other Indian legal frameworks
- Agents reason through arguments using domain-specific structured datasets
Upload Case Files & Evidence
↓
AI Parses & Summarizes Evidence
↓
Review & Approve Evidence
↓
Launch Courtroom Simulation
↓
Interactive AI Agent Proceedings
↓
Detailed Verdict + Case Summary Export
Primary → Local custom-trained legal model
Secondary → Pre-trained open-source models
Tertiary → OpenAI / Gemini API (enhanced reasoning)
Ensures uninterrupted simulation even when primary models are unavailable.
| Layer | Technology |
|---|---|
| Frontend | React + Tailwind CSS |
| Backend | Flask (Python) |
| Storage | JSON / MongoDB |
| AI Layer | Custom Legal Model + OpenAI / Gemini Fallback |
git clone https://github.com/your-username/jurix.git
cd jurixpython -m venv venv
# Linux / macOS
source venv/bin/activate
# Windows
venv\Scripts\activate
pip install -r requirements.txtcd backend
python app.pycd frontend
npm install
npm run devhttp://localhost:5173
- Upload case evidence via the
CaseSubmitpage - Review & approve parsed evidence in
CaseReview - Launch the simulation to interact with AI agents
- Observe AI-generated legal arguments and verdicts
- Export summaries for study, training, or future reference
| Dashboard | Case Cards | New Case Submission | Legal Assistant Chat |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
- Indian Penal Code (IPC)
- Code of Criminal Procedure (CrPC)
- Constitution of India
- Mock cases and legal dialogues (custom training data)
Contributions are welcome and appreciated!
- Fork the repository
- Create a new feature branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -m 'Add: your feature') - Push to the branch (
git push origin feature/your-feature) - Open a Pull Request
Built as a solo endeavor, Jurix was later presented at Avishkar 2025 — a competitive inter-collegiate research festival — as a working simulation of AI-assisted judicial reasoning.
Special thanks to:
🙏 Dhruv Suthar — Co-presenter & collaborator
🙏 Zoya Khan — Co-presenter & collaborator
This project is licensed under the MIT License — see the LICENSE file for details.
- Improved the Git contribution steps with actual commands
- Rewrote the Avishkar section with better formatting and emoji credits
- Added a footer byline for personal branding



