How ganeshpokharel-tech/crewai-code-reviewer works
CrewAI Code Reviewer is a Streamlit application for reviewing public GitHub or local Git repositories. The user selects a source and review mode; the app prepares the repository and invokes a sequential five-agent CrewAI review, then displays and offers the Markdown report for download. The graph preserves the documented analysis, bug, security, testing, and consolidation stages, plus the repository and Git tool capabilities. Some details come from README documentation because the source excerpts are partial.
Main entry points: main.py Streamlit Interface · crew.py Test Engineer · tools.py Code Tools
Components 17
Application
- Streamlit Interface
main.py - Source Preparation
main.py - Review Workspace
Repository Inspection
- Code Tools
tools.py - Git Tools
tools.py - Test Tools
tools.py
AI Review
- Code Analyst
crew.py - Bug Hunter
crew.py - Security Reviewer
crew.py - Test Engineer
crew.py - Senior Reviewer
crew.py
Review Results
- Markdown Report
crew.py - Report Display and Download
main.py
Other components
- Reviewer
- GitHub Repository
- Local Git Repository
- Gemini
Connections 28
- Reviewer → Streamlit Interface: selects review
README.md - Streamlit Interface → Source Preparation: validates and prepares
main.py - GitHub Repository → Source Preparation: provides URL
main.py - Local Git Repository → Source Preparation: provides path
main.py - Source Preparation → Review Workspace: clones or selects
main.py - Streamlit Interface → Code Tools: passes tools
main.py - Streamlit Interface → Git Tools: passes when needed
main.py - Streamlit Interface → Test Tools: enables on confirmation
main.py - Streamlit Interface → Code Analyst: starts crew
main.py - Code Analyst → Code Tools: inspects repository
crew.py - Code Analyst → Git Tools: inspects changes
crew.py - Code Analyst → Bug Hunter: passes analysis
README.md - Bug Hunter → Security Reviewer: passes findings
README.md - Security Reviewer → Test Engineer: passes findings
README.md - Test Engineer → Senior Reviewer: passes assessment
README.md - Bug Hunter → Code Tools: examines code
crew.py - Security Reviewer → Code Tools: examines code
crew.py - Test Engineer → Code Tools: examines code
crew.py - Test Engineer → Git Tools: examines changes
crew.py - Test Engineer → Test Tools: detects or runs tests
crew.py - Code Analyst → Gemini: uses model
crew.py - Bug Hunter → Gemini: uses model
crew.py - Security Reviewer → Gemini: uses model
crew.py - Test Engineer → Gemini: uses model
crew.py - Senior Reviewer → Gemini: uses model
crew.py - Senior Reviewer → Markdown Report: consolidates as
README.md - Markdown Report → Report Display and Download: displays and downloads
README.md - Streamlit Interface → Report Display and Download: presents result
README.md