How we use AI agents to migrate GitLab's rate limiting

Discover how a GitLab team used AI agents to migrate their rate limiting. Lessons on observability, adversarial review, and teamwork.

miércoles, 8 de julio de 2026 • 3 min read • Q2BSTUDIO Team

The power of AI agents in migrating legacy systems

Migrating legacy systems is often a delicate process, especially when dealing with critical infrastructure like rate limiting. A small team of engineers recently demonstrated that AI agents can accelerate this task without compromising security, provided a rigorous workflow is designed. The key was not the agents themselves, but the structure of the 'pod', the adversarial review loop, and observability that distinguished significant failures from noise. This approach, based on collaboration between humans and AI agents, allowed unifying two request limiting systems into a single observable and testable framework. The experience yielded valuable lessons: AI-generated code ceased to be the bottleneck; human judgment and review capacity became the limiting factors. At Q2BSTUDIO, we understand that adopting AI for businesses is not just about tools, but about redesigning processes and roles. That is why we offer artificial intelligence solutions that integrate with your real workflows, helping technical teams execute complex migrations with intelligent agents that act as code assistants, reviewers, and specification generators. All under the supervision of experts who guarantee quality and security.

The migration of rate limiting in GitLab involved 121 keys, six cohorts, and over 30 merge requests. The agents drafted specifications, implemented bounded changes, and ran tests, while humans defined the architecture, approved rollouts, and made critical decisions such as not generating 95 individual feature flags. This hybrid work model is replicable in any organization looking to modernize its systems. At Q2BSTUDIO, we combine custom software with artificial intelligence capabilities to offer solutions ranging from process automation to comprehensive cybersecurity. If your company faces similar challenges of migrating or unifying legacy systems, we can help you design a workflow loop where AI agents execute repetitive tasks and humans focus on strategic judgment. Additionally, our capabilities in aws and azure cloud services allow deploying these solutions with the scalability and resilience required by systems processing billions of requests per day.

Observability was another determining factor. In the case study, a small error in identifier assignment went unnoticed because the metric did not discriminate between a structural collision and a normal discrepancy. This underscores the importance of designing dashboards that truly capture relevant failure modes. At Q2BSTUDIO, we integrate business intelligence services such as Power BI to transform operational data into actionable information, enabling teams to detect anomalies before they affect users. We also develop custom applications that include personalized dashboards to monitor migrations in real time. Our experience in AI for businesses allows us to build agents that, as in the reference example, work within adversarial review loops, but with human oversight as the last line of defense.

Finally, the most important lesson is that the success of an AI-assisted migration depends on the people: the engineer who deliberately tests the system at 1% before scaling, the architect who questions unnecessary complexity, the auditor who discovers forgotten keys. At Q2BSTUDIO, we foster that culture of technical excellence combined with advanced technology. If you want to explore how AI agents can accelerate your modernization projects without lowering the security bar, we invite you to learn about our approach in artificial intelligence for businesses. We are ready to be your Bob and your Max: those who question, test, and ensure the migration not only works but is sustainable in the long term.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.