An AI-powered code review assistant built using FastAPI, Ollama, and Qwen 3B.
The application analyzes source code and provides:
- Code Summary
- Issues Found
- Security Concerns
- Improvement Suggestions
- Downloadable Review Reports
- AI-powered code review using Qwen 3B
- FastAPI backend
- REST API integration
- Modern dark-themed frontend
- Automatic issue detection
- Security recommendations
- Downloadable review reports
- Local LLM execution using Ollama
- Python
- FastAPI
- Uvicorn
- Requests
- Ollama
- Qwen3:8B
- HTML
- CSS
- JavaScript
LLM-code-review-assistant/
│
├── backend/
│ ├── app.py
│ └── reviewer.py
│
├── frontend/
│ ├── index.html
│ ├── style.css
│ └── script.js
│
├── screenshots/
│ ├── ui-dashboard.png
│
│
├── reports/
│
├── README.md
└── .gitignore
git clone https://github.com/pavan19-06/LLM-code-review-assistant.git
cd LLM-code-review-assistantpip install fastapi uvicorn requestsDownload and install Ollama:
Pull Qwen Model:
ollama pull qwen3:8bcd backend
uvicorn app:app --reloadBackend runs at:
http://127.0.0.1:8000
Open:
frontend/index.html
in your browser.
- Paste source code into the input area
- Click Review Code
- Code is sent to FastAPI backend
- Ollama analyzes the code using Qwen
- Review is displayed on screen
- Download report if needed
- Multiple language support
- Syntax highlighting
- Authentication system
- Streamlit deployment
- Docker support
- Cloud-hosted inference
Pavan R
B.Tech AIML Student
Built as a hands-on AI + FastAPI + Ollama project to learn local LLM integration and software engineering workflows.
Give the repository a star on GitHub ⭐
