How vaishnavthorwat/autonomous-pr-review-agent works
The product reviews submitted code changes through parallel quality and security analyses, then produces a tech-lead decision. Users can start the workflow through the Streamlit interface or CLI. The README documents the three-stage review and OWASP research; source excerpts show both entry points assembling CrewAI agents and tasks. The sampled code does not expose every runtime detail, so the graph omits unverified call relationships.
Main entry points: app.py UI review run · main.py CLI review run · tasks.py Review decision · tools.py OWASP search tools
Components 17
Entry points
- Streamlit UI
app.py - CLI
main.py - UI review run
app.py - CLI review run
main.py
Review workflow
- Quality analysis
tasks.py - Security review
tasks.py - Review decision
tasks.py - Senior developer
agents.py - Security engineer
agents.py - Tech lead
agents.py - Review outputs
External services
- OWASP search tools
tools.py - Serper search
- OWASP web sources
- Gemini LLM
Other components
- Developer
- Code changes
Connections 31
- Developer → Streamlit UI: submits changes
README.md - Developer → CLI: starts review
README.md - Code changes → CLI: loads changes
main.py - Streamlit UI → UI review run: starts review
app.py - CLI → CLI review run: builds and runs
main.py - UI review run → OWASP search tools: creates tools
app.py - UI review run → Senior developer: creates agent
app.py - UI review run → Security engineer: creates agent
app.py - UI review run → Tech lead: creates agent
app.py - UI review run → Quality analysis: creates task
app.py - UI review run → Security review: creates task
app.py - UI review run → Review decision: creates task
app.py - CLI review run → OWASP search tools: creates tools
main.py - CLI review run → Senior developer: creates agent
main.py - CLI review run → Security engineer: creates agent
main.py - CLI review run → Tech lead: creates agent
main.py - CLI review run → Quality analysis: creates task
main.py - CLI review run → Security review: creates task
main.py - CLI review run → Review decision: creates task
main.py - Quality analysis → Senior developer: assigned to
tasks.py - Security review → Security engineer: assigned to
tasks.py - Review decision → Tech lead: assigned to
tasks.py - Review decision → Quality analysis: uses context
tasks.py - Review decision → Security review: uses context
tasks.py - Security engineer → OWASP search tools: uses tools
agents.py - OWASP search tools → Serper search: searches guidance
- OWASP search tools → OWASP web sources: scrapes guidance
- UI review run → Gemini LLM: configures model
app.py - CLI review run → Gemini LLM: configures model
main.py - UI review run → Review outputs: renders results
app.py - CLI review run → Review outputs: prints and saves
main.py