How iam-pavanpachuru/github-ai-agent-web works
This is a self-hosted natural-language GitHub management dashboard. A user selects or enters a task in the browser; the FastAPI streaming endpoint loads GitHub tools, runs a LangGraph ReAct agent with Gemini, and streams progress and results back to the UI. Destructive tasks pass through a confirmation step, and repository actions reach GitHub through the MCP server or the custom delete tool. The dashboard also exposes tool discovery, activity, and command history. Unsampled UI and integration details are included only where documented in the README.
Main entry points: app.py Task Stream Handler · app.js Task Controls
Components 15
Dashboard UI
- Dashboard
static/index.html - Task Controls
static/app.js - Tool Carousel
static/app.js - Live Activity
static/app.js - Delete Confirmation
static/app.js
Web Backend
- FastAPI Routes
app.py - Task Stream Handler
app.py
Agent Runtime
- ReAct Agent
app.py - Gemini Models
GitHub Integrations
- MCP Tool Client
app.py - GitHub MCP Server
- Custom Delete Tool
app.py - GitHub REST API
- GitHub Account
Other components
- GitHub User
Connections 19
- GitHub User → Task Controls: enters task
README.md - GitHub User → Tool Carousel: browses tools
README.md - Tool Carousel → Task Controls: fills prompt
README.md - Task Controls → FastAPI Routes: sends task
README.md - Delete Confirmation → Task Controls: confirms task
static/app.js - FastAPI Routes → Task Stream Handler: routes task
app.py - Task Stream Handler → MCP Tool Client: loads tools
app.py - Task Stream Handler → ReAct Agent: runs agent
app.py - ReAct Agent → Gemini Models: reasons with
README.md - ReAct Agent → GitHub MCP Server: selects tools
README.md - MCP Tool Client → GitHub MCP Server: connects over stdio
app.py - Task Stream Handler → Custom Delete Tool: registers tool
app.py - Custom Delete Tool → GitHub REST API: deletes repository
app.py - GitHub MCP Server → GitHub REST API: executes operations
README.md - GitHub REST API → GitHub Account: updates account
README.md - Task Stream Handler → Live Activity: streams events
README.md - Live Activity → GitHub User: shows progress
README.md - Task Stream Handler → Delete Confirmation: requests approval
README.md - FastAPI Routes → Tool Carousel: provides tool status
app.py