How yashasgowda08/smart-ai-code-reviewer works
This is a full-stack multi-agent code-review product. A developer submits pasted code, files, diffs, or repository inputs through the dashboard; the backend normalizes inputs, runs local static-analysis agents and optional Groq review, reconciles scores, and returns findings and reports. Separate workflows cover authentication, review history, exports, integrations, and administration. The graph reflects documented capabilities as well as excerpted calls; several service-level connections are documented in the README because their implementation files were not sampled.
Main entry points: App.jsx App navigation · main.py FastAPI application · review_service.py Review orchestration · api.js API client
Components 26
Developer dashboard
- App navigation
frontend/src/App.jsx - Review workspace
frontend/src/pages/Review.jsx - Review dashboard
frontend/src/pages/Dashboard.jsx - History view
frontend/src/pages/History.jsx - Login view
frontend/src/pages/Login.jsx - Registration view
frontend/src/pages/Register.jsx - Admin dashboard
frontend/src/pages/AdminDashboard.jsx - API client
frontend/src/services/api.js
API and inputs
- FastAPI application
backend/app/main.py - Review endpoints
backend/app/api/code_review.py - Repository endpoint
backend/app/api/repository.py - Input processing
backend/app/processors/input_processor.py - Diff processing
backend/app/processors/diff_processor.py
Review analysis
- Review orchestration
backend/app/services/review_service.py - Static analysis
backend/app/services/static_analysis_service.py - Specialist agents
backend/app/agents - Groq AI review
backend/app/services/ai_service.py - Consensus scoring
backend/app/utils/consensus.py
Accounts and history
- Authentication endpoints
backend/app/api/auth.py - Authentication service
backend/app/services/auth_service.py - Review history
backend/app/services/history_service.py - SQLite database
backend/app/database/database.py
Reports and integrations
- PDF reports
backend/app/services/pdf_service.py - Export endpoints
backend/app/api/exports.py - GitHub, URL and notifications
backend/app/api
Other components
- Developer
Connections 31
- Developer → App navigation: uses
README.md - App navigation → Review workspace: opens
frontend/src/App.jsx - App navigation → Review dashboard: opens
frontend/src/App.jsx - App navigation → History view: opens
frontend/src/App.jsx - App navigation → Login view: opens
frontend/src/App.jsx - App navigation → Registration view: opens
frontend/src/App.jsx - App navigation → Admin dashboard: opens
frontend/src/App.jsx - Review workspace → API client: submits reviews
frontend/src/pages/Review.jsx - Login view → API client: authenticates via
- Registration view → API client: registers via
- History view → API client: loads history via
- Admin dashboard → API client: loads admin data via
frontend/src/pages/AdminDashboard.jsx - API client → FastAPI application: calls REST API
README.md - FastAPI application → Review endpoints: routes to
backend/app/main.py - FastAPI application → Repository endpoint: routes to
backend/app/main.py - Review endpoints → Input processing: normalizes input
backend/app/api/code_review.py - Repository endpoint → Input processing: scans directory
backend/app/api/repository.py - Input processing → Diff processing: processes diffs
backend/app/processors/input_processor.py - Review endpoints → Review orchestration: executes review
backend/app/api/code_review.py - Review orchestration → Static analysis: runs analysis
- Static analysis → Specialist agents: coordinates
- Review orchestration → Groq AI review: requests AI review
- Review orchestration → Consensus scoring: reconciles scores
- Review orchestration → SQLite database: persists reviews
- FastAPI application → Authentication endpoints: routes to
backend/app/main.py - Authentication endpoints → Authentication service: handles credentials
- Authentication service → SQLite database: reads and writes
backend/app/services/auth_service.py - Review history → SQLite database: loads history
- Review orchestration → PDF reports: generates reports
- FastAPI application → Export endpoints: routes to
backend/app/main.py - FastAPI application → GitHub, URL and notifications: routes to
backend/app/main.py