An autonomous agent that monitors your GitHub repository, fixes bugs automatically, and opens Pull Requests — no human in the loop between issue and PR.
Live demo: https://coding-agent-murex.vercel.app
- Reads GitHub issues labeled with bug/agent-fix
- Uses an LLM to find the most relevant file(s)
- Generates fixes and runs them in a sandbox
- Validates with generated test cases (retries up to 5 times)
- Creates a surgical patch and opens a Draft PR with confidence score
- Comments the issue with the diff, confidence, and PR link
Below is an animated architecture diagram showing the flow from GitHub Issue → Webhook → Backend Agent → LLM → Sandbox → Surgical Patch → Draft PR.
If your viewer doesn't render SVG animation, open the file directly at assets/architecture.svg.
- Backend: Node.js + Express
- LLM: Groq (Llama 3.3)
- DB: Supabase PostgreSQL + pgvector
- Vector memory: Hugging Face embeddings
- Job queue: pg-boss
- Sandbox: Node.js
vm(planned migration to child_process) - Frontend: Next.js + Tailwind
- Hosting: Render (backend), Vercel (frontend)
- Self-improving loop with vector memory and strategy tracking
- Smart file discovery — LLM finds relevant files automatically
- Real validation via generated tests, ESLint, and sandboxed execution
- Surgical patching — only the changed lines are committed
- Cost tracking (API calls, tokens) surfaced in dashboard
Prerequisites:
- Node.js v18+
- Supabase instance and connection URL
- Groq API key
- GitHub personal access token (repo:scope to create PRs)
- Hugging Face token (for embeddings)
- Install:
npm install- Add environment variables (example
.envkeys):
DATABASE_URLGROQ_API_KEYGITHUB_TOKENHUGGINGFACE_API_KEY
- Start backend:
cd backend
npm run dev- Start frontend:
cd frontend
npm run devbackend/agent.js— core agent loop and LLM orchestrationbackend/index.js— webhook, SSE, metrics endpointsfrontend/app/page.tsx— dashboard and metrics
This project is intended as an experimental autonomous devops/assistant. Please open issues or PRs to suggest improvements — PRs are validated by the existing GitHub Actions pipeline.
MIT