Maintaining open-source projects is tough: endless issues, duplicates, vague bug reports, and overwhelming triage.
Git.AI changes the game.
It’s an AI-powered GitHub assistant that automatically:
- ✅ Summarizes new issues in plain English.
- ✅ Detects duplicates & similar past issues.
- ✅ Drafts actionable resolution steps for maintainers.
- ✅ Brings in context from commits, docs, and repo history.
So maintainers can focus on solutions, not repetitive triage.
- 🔹 Save Time – No more digging through old issues or explaining the same bug.
- 🔹 Smarter Triaging – AI detects patterns across commits & issues.
- 🔹 Actionable Guidance – Resolution drafts tuned for bugs, features, docs, or questions.
- 🔹 Repository-Aware – Pulls real repo context, not generic AI replies.
- 🔹 Plug-and-Play – Works directly via GitHub webhooks.
Git.AI isn’t just a helper. It’s your engineering co-pilot for issue management.
flowchart TD
A[New GitHub Issue/Event] --> B[Webhook Triggered]
B --> C[Context Collection]
C --> D[AI-Powered Insights]
D --> E[Maintainer Assistance]
C -->|Fetches| C1[Repo Metadata]
C -->|Analyzes| C2[Commits & Issues]
C -->|Reads| C3[Documentation]
D -->|Summarizes| D1[Issue Summary]
D -->|Detects| D2[Similar/Duplicate Issues]
D -->|Generates| D3[Resolution Draft]
E -->|Posts Back to| F[GitHub Issue Thread]
- GitHub Webhook Fires – A new issue/event triggers Git.AI.
- Context Collection – Fetches repo metadata, commits, issues, and docs.
- AI Insights – Summarizes the issue, finds duplicates, drafts resolutions.
- Maintainer Assistance – Posts results directly into GitHub.
- Python 3.9+
- FastAPI backend
- Azure OpenAI API access
- GitHub App credentials
Install dependencies:
pip install -r requirements.txt-
Clone the repo
git clone https://github.com/your-username/git.ai.git cd git.ai -
Configure environment variables in
.env:AZURE_OPENAI_API_KEY=your_azure_api_key AZURE_OPENAI_ENDPOINT=your_azure_endpoint AZURE_OPENAI_DEPLOYMENT_NAME=gpt-35-turbo AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-3-small GITHUB_APP_ID=your_app_id GITHUB_INSTALLATION_ID=your_installation_id GITHUB_PRIVATE_KEY_PATH=git-ai-bot.pem
-
Run the service
uvicorn main:app --reload
-
Connect GitHub webhook
- Expose your service (e.g., with ngrok).
- Set the webhook in your GitHub App to point to
/webhook.
- 🧠 AI-driven PR suggestions (automatic patch drafts).
- 🌍 Multi-language issue support (non-English repos).
- 📊 Dashboard for maintainers to view AI insights.
- 🔁 Smarter duplicate clustering using semantic embeddings.
- 🔔 Slack/Discord notifications for real-time triage help.
✨ Git.AI = Less triage. More innovation. Faster open source.