AI engineering
GitHub Triage Agent
An AI agent that finds real open-source bugs and writes a step-by-step fix plan.
- Role
- AI agent design & implementation
- Stack
- TypeScriptNode.jsOpenAI SDKMistralZodGitHub Actions
- The problem
- Finding a good bug to fix in an open-source project takes hours of reading through messy issue trackers. An engineer has to check if the repository is active, inspect the code, and figure out the fix. It is repetitive work that an AI agent can do much faster.
- The constraint
- AI providers crash, run into rate limits, and output bad formatting. The agent must run automatically for hours without needing a human to restart it.
- The approach
- I built a two-stage autonomous agent. The first stage searches GitHub and reads the repository guides. The second stage writes the code fix plan. I added automatic failover so it switches between AI models if one goes down, and validated every response with Zod schemas before running it.
- The result
- Runs automatically on schedule, sending researched code plans to Discord channels, and keeping itself online even during AI outages.
Need something like this?
I build web products and the backend systems underneath them, from first commit to live production. Tell me what you are trying to do.