Loading video player...
In this video, I built an **AI GitHub Maintainer** using CrewAI that automatically: • Reads new GitHub issues • Analyzes the problem • Suggests a solution • Adds appropriate labels • Comments on the issue automatically This creates a **fully autonomous GitHub repo maintainer** powered by AI agents. We use: * CrewAI (multi-agent orchestration) * FastAPI (GitHub webhook server) * Groq / Ollama (LLM) * Cloudflare Tunnel (public webhook URL) * GitHub API (comment + labels) --- ## 🔗 Project Repository https://github.com/xsankalp13/Github_AI_Maintainer --- ## 📦 Install UV (Fast Python Package Manager) https://docs.astral.sh/uv/#installation Mac / Linux ``` curl -LsSf https://astral.sh/uv/install.sh | sh ``` Windows ``` powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" ``` --- ## 🤖 Install Ollama https://ollama.com/ Pull model: ``` ollama pull qwen2:1.5b ``` Run: ``` ollama serve ``` --- ## 🌐 Cloudflare Tunnel (Webhook Public URL) ### Install (Mac) ``` brew install cloudflared ``` ### Install (Linux) ``` sudo apt install cloudflared ``` ### Install (Windows) Download: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/ or: ``` winget install --id Cloudflare.cloudflared ``` --- ## Start Tunnel ``` cloudflared tunnel --url http://localhost:8000 ``` You will get: ``` https://random-name.trycloudflare.com ``` Use this in GitHub webhook: ``` https://your-url.trycloudflare.com/webhooks/github ``` --- ## 🧠 Architecture GitHub Issue → Webhook → CrewAI Agents → LLM (Groq/Ollama) → Comment + Labels --- ## 🚀 Features * Multi-agent AI system * Automatic issue triage * AI generated solutions * Auto labeling * Works locally or cloud * Production ready ## ⭐ If this helped Like 👍 Subscribe 🔔 More Agentic AI builds coming. #AI #CrewAI #GitHub #AIagents #AgenticAI #FastAPI #Ollama #Groq #Automation