RepoMind is an autonomous AI agent system that acts as a virtual senior software engineer for any GitHub repository. Paste a URL β and within minutes, RepoMind clones, analyzes, explains, and lets you chat with the entire codebase using natural language.
"From a GitHub URL to a full architectural briefing in under 2 minutes."
GitHub URL βββΊ Clone βββΊ Scan βββΊ Parse βββΊ AI Analysis
β
βββββββββββββββββββββββββββββββ
βΌ
βββββββββββββββββββββββββββββββββββββ
β Intelligence Agent β
β Architecture Β· Purpose Β· Patterns β
ββββββββββββββββ¬βββββββββββββββββββββ
β
βββββββββββββββββββΌββββββββββββββββββ
βΌ βΌ βΌ
Docs Agent Security Agent Q&A Agent
README Β· Guide Secrets Β· Vulns RAG Β· Chat
β β β
βββββββββββββββββββ΄ββββββββββββββββββ
β
βΌ
Unified Dashboard
|
|
|
|
|
|
|
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β REPOMIND SYSTEM β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Frontend (Next.js) Backend (Express.js) β
β βββββββββββββββββββ ββββββββββββββββββββββββ β
β β Landing Page ββββββββββΊβ POST /api/analyze β β
β β Dashboard β β GET /api/status β β
β β Progress Track β β POST /api/chat β β
β β Dep. Graph β β GET /api/graph β β
β β Chat Panel β β GET /api/health β β
β βββββββββββββββββββ ββββββββββββ¬ββββββββββββ β
β β β
β ββββββββββββΌββββββββββββ β
β β ORCHESTRATOR β β
β β (State Machine) β β
β ββββββββββββ¬ββββββββββββ β
β β β
β βββββββββββββ¬βββββββββββ¬ββββββββ΄βββ¬βββββββββββ β
β βΌ βΌ βΌ βΌ βΌ β
β βββββββββ ββββββββββ ββββββββββ βββββββββ ββββββββββ β
β βClone β βScanner β βParser β βIntel. β β Docs β β
β βAgent β βAgent β βAgent β βAgent β β Agent β β
β βββββββββ ββββββββββ ββββββββββ βββββββββ ββββββββββ β
β β
β βββββββββββββββββββββ ββββββββββββββββββββ β
β β Security Agent β β Q&A Agent β β
β β Regex + LLM Scan β β Keyword RAG β β
β βββββββββββββββββββββ ββββββββββββββββββββ β
β β
β AI Layer: Groq LLaMA 3.3 70B Β· Gemini text-embedding β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
RepoMind/
β
βββ π backend/
β βββ π server.js # Express entry point
β βββ π routes/
β β βββ π analyze.js # POST /analyze Β· GET /status
β β βββ π chat.js # POST /chat
β β
β βββ π orchestrator/
β β βββ π index.js # Agent pipeline coordinator
β β
β βββ π agents/
β β βββ π cloneAgent/ # GitHub repo cloning
β β β βββ π index.js
β β βββ π scannerAgent/ # File tree scanner
β β β βββ π index.js
β β βββ π parserAgent/ # Import & export parser
β β β βββ π index.js
β β βββ π intelligenceAgent/ # Core AI analysis
β β β βββ π index.js
β β β βββ π prompts.js
β β βββ π docsAgent/ # Documentation generator
β β β βββ π index.js
β β βββ π securityAgent/ # Vulnerability scanner
β β β βββ π index.js
β β βββ π qaAgent/ # Q&A + RAG pipeline
β β βββ π index.js
β β βββ π embedder.js
β β
β βββ π services/
β β βββ π llm.js # Groq LLM wrapper
β β
β βββ π utils/
β β βββ π contextBuilder.js # LLM context builder
β β βββ π ignoreFilter.js # File ignore rules
β β βββ π tokenCounter.js # Token estimator
β β
β βββ π cloned_repos/ # Local repo storage
β βββ π .env # Environment variables
β
βββ π frontend/
βββ π app/
β βββ π page.tsx # Root page
β βββ π layout.tsx # App layout
β βββ π globals.css # Royal gold theme
β
βββ π components/
β βββ π LandingPage.tsx # Hero + URL input
β βββ π Dashboard.tsx # Main report view
β βββ π ProgressTracker.tsx # Live step tracker
β βββ π SummaryCard.tsx # Project summary
β βββ π TechStackCard.tsx # Tech badges
β βββ π HealthScoreCard.tsx # Score rings
β βββ π ArchitectureView.tsx # Mermaid diagram
β βββ π DependencyGraph.tsx # D3 Canvas graph
β βββ π FileExplorer.tsx # Important files
β βββ π SecurityReport.tsx # Security issues
β βββ π ChatPanel.tsx # Ask Repo chat
β βββ π AnimatedBackground.tsx # Canvas animations
β
βββ π .env.local # Frontend env vars
βββ π tailwind.config.ts # Tailwind config
node >= 18.0.0
npm >= 9.0.0
gitgit clone https://github.com/yourusername/RepoMind.git
cd RepoMindcd backend
npm installCreate .env file:
GROQ_API_KEY=your_groq_api_key_here
GEMINI_API_KEY=your_gemini_api_key_here
PORT=3001
NODE_ENV=developmentStart backend:
npm run dev
# RepoMind backend running on :3001cd ../frontend
npm installCreate .env.local file:
NEXT_PUBLIC_API_URL=http://localhost:3001Start frontend:
npm run dev
# Ready at http://localhost:3000Open http://localhost:3000, paste any GitHub URL, and click Analyze!
https://github.com/expressjs/express β great starter
https://github.com/fastapi/fastapi β Python example
https://github.com/vitejs/vite β modern tooling
| Service | Used For | Cost | Get Key |
|---|---|---|---|
|
|
LLM inference (all AI analysis) |
100% Free |
console.groq.com |
|
|
Text embeddings (Q&A search) |
Free Tier |
aistudio.google.com |
RepoMind runs completely free β no credit card required for the hackathon demo!
Start analyzing a GitHub repository.
// Request
{
"url": "https://github.com/expressjs/express"
}
// Response
{
"jobId": "4e7c5990-b820-4dba-9212-f409ecb4c32e"
}Poll the analysis progress.
// Response (running)
{
"status": "running",
"progress": [
{ "step": "Cloning repository", "status": "done" },
{ "step": "Scanning files", "status": "done" },
{ "step": "Running AI analysis", "status": "running" }
]
}
// Response (done)
{
"status": "done",
"report": {
"projectName": "express",
"purpose": "Fast, unopinionated web framework for Node.js",
"techStack": ["Node.js", "JavaScript", "HTTP"],
"healthScore": {
"maintainability": 88,
"security": 76,
"documentation": 95,
"complexity": 72,
"scalability": 90
},
"importantFiles": [...],
"securityIssues": [...],
"generatedDocs": { "readme": "...", "setupGuide": "..." }
}
}Ask a question about the analyzed repository.
// Request
{
"jobId": "4e7c5990-b820-4dba-9212-f409ecb4c32e",
"question": "How is routing handled?",
"projectName": "express"
}
// Response
{
"answer": "Express routing is handled through the Router class...",
"sources": ["lib/router/index.js", "lib/router/route.js"]
}Get dependency graph data for visualization.
Backend health check.
{ "status": "ok", "timestamp": "2026-05-09T..." }| Agent | Responsibility | Technology |
|---|---|---|
| Clone Agent | Clone repos, validate URLs, manage storage | simple-git, GitHub API |
| Scanner Agent | Recursive file scanning, ignore filtering, content extraction | Node.js fs module |
| Parser Agent | Import/export analysis, entry point detection, dependency mapping | Regex, AST patterns |
| Intelligence Agent | Architecture understanding, purpose extraction, health scoring | Groq LLaMA 3.3 70B |
| Docs Agent | README generation, setup guides, architecture docs, Mermaid diagrams | Groq LLaMA 3.3 70B |
| Security Agent | Secret detection, dangerous pattern scanning, vulnerability analysis | Regex + Groq LLM |
| Q&A Agent | Natural language Q&A, keyword RAG retrieval, source attribution | Keyword Search + Groq |
- Push code to GitHub
- Go to render.com β New Web Service
- Connect your repo, set root to
backend/ - Build command:
npm install - Start command:
node server.js - Add environment variables:
GROQ_API_KEY,GEMINI_API_KEY
cd frontend
npx vercel --prodAdd environment variable in Vercel dashboard:
NEXT_PUBLIC_API_URL= your Render backend URL
- Multi-agent pipeline (7 agents)
- AI-powered repository analysis
- Interactive dependency graph
- RAG-based Q&A chat
- Security vulnerability scanner
- Auto documentation generation
- Live progress tracking
- Royal gold UI theme
- Animated canvas backgrounds
- Deploy to Render + Vercel
- GitHub OAuth login
- Repository history & saved analyses
- PR diff analysis ("what changed?")
- GitHub Actions bot integration
- Tree-sitter deep AST parsing
- Multi-repo comparison
- VS Code extension
- Organization-wide analytics
Contributions are welcome! Here's how to get started:
# Fork the repo, then:
git clone https://github.com/Puskar2Sora/RepoMind.git
cd RepoMind
git checkout -b feature/your-amazing-feature
# Make your changes
git commit -m "feat: add amazing feature"
git push origin feature/your-amazing-feature
# Open a Pull Request Please read CONTRIBUTING.md for our code of conduct and contribution guidelines.
This project is licensed under the MIT License β see the LICENSE file for details.
β Star this repo if RepoMind helped you understand a codebase!
Made by PUSKAR NATH



