How GitLab reduced code-per-agentic-flow ratio by 45%
Sep 22, 2026Mikolaj Wawrzyniak

Summary
This post introduces the GitLab Duo Agent Platform's Flow Registry framework, which abstracts LangGraph details into Components, Routers, and a shared state structure. Components model AI primitives like agents and human-in-the-loop checkpoints, allowing declarative YAML configuration. Routers orchestrate multiple agents for complex flows, exemplified by the 'Fix pipeline' flow that branches based on an agent's decision. The framework aims to improve developer velocity, reliability, and maintainability by reducing ad-hoc Python implementations and promoting reusability.