Building an AI code review agent for our self-hosted GitLab 🤖

Dev.to AI •
Generative AI

Managing code reviews on a self-hosted GitLab instance can be a constant grind as the volume of merge requests starts to pile up. We used Claude to vibe-code a custom review agent to handle this workload and the results were surprising. The agent consists of 40,000 lines of Python code. It has already reviewed 1,000 merge requests for our team. Building a custom tool provided the specific control we needed for our self-hosted environment. This approach automates the initial feedback loop and keeps the development workflow moving.