How akhilgouda28/nexus-code-reviewer-enterprise-level-project works
Nexus is a web-based, multi-agent code review platform. Users submit code directly or select a public GitHub file; the API supplies session context and sends the review through keyword/LLM routing to specialized security, performance, quality, or documentation/test agents. The aggregator scores and summarizes findings, which the API can persist, render as PDF, and return to the dashboard. Separate capabilities include category-targeted remediation, documentation RAG, GitHub browsing, and admin rules/metrics. Source excerpts establish the main review calls; several API/UI details are documented in the README but not fully sampled.
Main entry points: server.py FastAPI endpoints · orchestrator.py Master orchestrator · app.js Review dashboard · security_agent.py Security review
Components 21
Web experience
- Review dashboard
web/app.js - Admin panel
web/admin.js
API workflows
- FastAPI endpoints
api/server.py - GitHub file browser
api/github_mcp.py
Review engine
- Master orchestrator
agents/orchestrator.py - Security review
agents/reviewers/security_agent.py - Performance review
agents/reviewers/performance_agent.py - Quality review
agents/reviewers/quality_agent.py - Docs and tests review
agents/reviewers/docs_test_agent.py - Language detection
agents/utils/lang_detector.py - Static analysis tools
agents/tools
Memory and assistance
- Session memory and rules
agents/utils/memory_manager.py - AI remediation
agents/remediation.py - Nexus documentation assistant
api/rag_engine.py
Reports and output
- Report aggregator
agents/aggregator.py - Report contracts
models/schemas.py - PDF renderer
agents/report_renderer.py
Other components
- Reviewer
- Groq LLM service
- Public GitHub
- Knowledge documents
data/docs
Connections 37
- Reviewer → Review dashboard: submits code
README.md - Review dashboard → FastAPI endpoints: requests review
README.md - Reviewer → GitHub file browser: chooses repository file
README.md - GitHub file browser → Public GitHub: fetches file tree
README.md - Review dashboard → FastAPI endpoints: requests GitHub review
README.md - FastAPI endpoints → Master orchestrator: invokes review
api/server.py - FastAPI endpoints → Session memory and rules: loads session context
api/server.py - FastAPI endpoints → Report aggregator: aggregates reports
api/server.py - Master orchestrator → Security review: dispatches
agents/orchestrator.py - Master orchestrator → Performance review: dispatches
agents/orchestrator.py - Master orchestrator → Quality review: dispatches
agents/orchestrator.py - Master orchestrator → Docs and tests review: dispatches
agents/orchestrator.py - Security review → Language detection: detects language
agents/reviewers/security_agent.py - Performance review → Language detection: detects language
agents/reviewers/performance_agent.py - Quality review → Language detection: detects language
agents/reviewers/quality_agent.py - Docs and tests review → Language detection: detects language
agents/reviewers/docs_test_agent.py - Security review → Static analysis tools: runs scans
agents/reviewers/security_agent.py - Performance review → Static analysis tools: runs metrics
agents/reviewers/performance_agent.py - Quality review → Static analysis tools: runs checks
agents/reviewers/quality_agent.py - Docs and tests review → Static analysis tools: checks coverage
agents/reviewers/docs_test_agent.py - Security review → Groq LLM service: interprets findings
agents/reviewers/security_agent.py - Performance review → Groq LLM service: interprets findings
agents/reviewers/performance_agent.py - Quality review → Groq LLM service: interprets findings
agents/reviewers/quality_agent.py - Docs and tests review → Groq LLM service: interprets findings
agents/reviewers/docs_test_agent.py - Master orchestrator → Groq LLM service: classifies request
agents/orchestrator.py - Report aggregator → Groq LLM service: writes summary
agents/aggregator.py - Report aggregator → Report contracts: creates report
agents/aggregator.py - FastAPI endpoints → PDF renderer: renders report
api/server.py - FastAPI endpoints → Session memory and rules: stores review history
api/server.py - Admin panel → FastAPI endpoints: manages global rules
README.md - Review dashboard → FastAPI endpoints: requests remediation
README.md - FastAPI endpoints → AI remediation: requests fixes
api/server.py - AI remediation → Groq LLM service: generates fixes
agents/remediation.py - Review dashboard → FastAPI endpoints: asks assistant
README.md - FastAPI endpoints → Nexus documentation assistant: answers chat
api/server.py - Nexus documentation assistant → Knowledge documents: retrieves passages
api/rag_engine.py - Nexus documentation assistant → Groq LLM service: generates answer