How 1maazansari/rankpilot-ai works
BrandVizi is an SEO/AEO website-audit platform: users submit a site for scanning, receive technical findings and a score, then get AI recommendations and audit results. Its principal backend flow is visible in the scan API; the README also documents multi-page audits, reports, and an AI copilot. The graph includes those distinct capabilities where the tree supports them, but several frontend-to-backend and multi-page routing details are unsampled, so those links are left unasserted or marked unverified.
Main entry points: graph.py Agent workflow · scanner.py Scan API · llm.py Gemini integration · audit_persistence_service.py Audit persistence
Components 21
User experience
- Web app routes
src/routes/index.tsx - Audit results
src/routes/analyze.tsx - AI copilot
src/components/ai-chat-panel.tsx
Audit pipeline
- Scan API
backend/api/scanner.py - Website scanner
backend/scanner/scanner.py - SEO evaluation
backend/seo/engine.py - SEO scoring
backend/score/engine.py
AI intelligence
- Agent workflow
backend/agents/graph.py - Technical SEO agent
backend/agents/technical_seo.py - Content intelligence
backend/agents/content_intelligence.py - AEO/GEO agent
backend/agents/aeo_geo.py - Finding validation
backend/agents/validation.py - Recommendation engine
backend/ai/engine.py - Gemini integration
backend/ai/llm.py
Audit data
- SQLite database
backend/database/session.py - Audit persistence
backend/services/audit_persistence_service.py - Audit records
backend/models/scan.py
Multi-page audit
- Multi-page recommendations
backend/services/multi_page_recommendation_service.py - SEO reports
backend/services/report_service.py
Other components
- Website owner
- Google Gemini
Connections 19
- Website owner → Web app routes: submits site
README.md - Web app routes → Audit results: requests analysis
- Scan API → Website scanner: scans website
backend/api/scanner.py - Scan API → SEO evaluation: evaluates scan
backend/api/scanner.py - SEO evaluation → SEO scoring: calculates score
backend/seo/engine.py - Scan API → Recommendation engine: generates recommendations
backend/api/scanner.py - Recommendation engine → Gemini integration: requests generation
backend/ai/engine.py - Gemini integration → Google Gemini: sends prompt
backend/ai/llm.py - Scan API → Agent workflow: runs workflow
backend/api/scanner.py - Agent workflow → Technical SEO agent: dispatches
backend/agents/graph.py - Agent workflow → Content intelligence: dispatches
backend/agents/graph.py - Agent workflow → AEO/GEO agent: dispatches
backend/agents/graph.py - Agent workflow → Finding validation: dispatches
backend/agents/graph.py - Website owner → AI copilot: asks audit questions
README.md - Website owner → Multi-page recommendations: requests multi-page audit
README.md - Multi-page recommendations → Gemini integration: generates suggestions
backend/services/multi_page_recommendation_service.py - Website owner → SEO reports: reviews results
README.md - Audit persistence → Audit records: persists audit data
backend/services/audit_persistence_service.py - Audit persistence → SQLite database: uses database session