An evidence-based bottleneck detector for open source contributors — powered by real GitHub data, not LLM guesses.
Built for the WeMakeDevs × Cognee AI Hackathon by Saumyadeep Mishra.
Many open source contributors struggle to identify why they are not progressing. Most AI tools just ask an LLM to guess the bottleneck — which leads to generic, hallucinated advice that doesn't reflect reality.
This system detects bottlenecks using evidence, not opinion.
Instead of:
User → LLM → Advice
We do:
User Data + GitHub Evidence + Evidence Scoring + Bottleneck Ranking → LLM Explanation
The LLM explains bottlenecks. It does NOT decide them. Evidence does.
- User submits a message describing their skills, weaknesses, and goals
- System stores the raw message and extracts structured memories (skills, weaknesses)
- User registers their GitHub username
- On analysis, the system fetches real GitHub activity and combines it with stored memories
- Evidence objects are generated and scored from both sources
- Bottlenecks are ranked by severity based on evidence
- LLM generates a human-readable explanation with actionable steps
- Final report is saved and retrievable
- Backend — Python, FastAPI
- Database — SQLite
- Memory Layer — Custom extraction (Cognee integration in progress)
- AI Layer — Groq (LLaMA via OpenAI-compatible API)
- External Data — GitHub Public API
| Method | Endpoint | Description |
|---|---|---|
POST |
/chat |
Submit a message, extract and store memories |
POST |
/register |
Register a GitHub username for a user |
POST |
/analyze |
Run full evidence-based bottleneck analysis |
GET |
/report/{id} |
Retrieve a saved report |
app/
├── main.py
├── api/
│ ├── chat.py
│ ├── analyze.py
│ ├── register.py
│ └── report.py
├── services/
│ ├── message_service.py
│ ├── memory_service.py
│ ├── github_service.py
│ ├── evidence_service.py
│ ├── bottleneck_service.py
│ ├── analysis_service.py
│ ├── report_service.py
│ └── llm_service.py
├── models/
│ └── schemas.py
└── database/
└── db.py
git clone https://github.com/SdmWorks7/open-source-bottleneck-detector
cd open-source-bottleneck-detectorpython -m venv venv
venv\Scripts\activate # Windows
source venv/bin/activate # Mac/Linuxpip install fastapi uvicorn aiosqlite httpx groq python-dotenvCreate a .env file in the project root:
GROQ_API_KEY=your_groq_api_key_here
uvicorn app.main:app --reloadhttp://127.0.0.1:8000/docs
Step 1 — Submit a message
POST /chat
{
"user_id": 1,
"message": "I know Java but struggle with Git."
}Step 2 — Register GitHub username
POST /register
{
"user_id": 1,
"github_username": "your_github_username"
}Step 3 — Run analysis
POST /analyze
{
"user_id": 1
}Step 4 — Retrieve report
GET /report/{report_id}
Saumyadeep Mishra