
GitLab reduces workforce by 14% as It pivots infrastructure toward AI-agent scaling
GitLab (NASDAQ:GTLB) has confirmed the layoff of approximately 350 employees, representing 14% of its workforce, as the company implements a restructuring plan designed to align its operations with the evolving demands of artificial intelligence.
The move follows an announcement in May detailing the company's intent to flatten management layers, exit 22 international markets, and pivot resources toward research and development.
CEO Bill Staples addressed the necessity of the transition during a conference call on Tuesday, noting that the rise of "agentic" AI workflows—where autonomous agents generate and manage code—has placed unprecedented stress on existing developer infrastructure.
According to Staples, the current architecture was not designed to accommodate the speed and volume of machine-scale code production, a challenge he noted is impacting the broader software development industry, including competitors like GitHub.
"Agents work at machine scale, and they’re pushing competitors to the brink," Staples said.
"This quarter we began a generational rebuild of git to support the scale and features required for 100x growth."
To facilitate this pivot, GitLab has partnered with an undisclosed AI laboratory to rebuild its core infrastructure.
The project involves constructing APIs optimized for AI agents, developing orchestration tools for human-AI collaboration, and embedding governance directly into the platform’s context layer.
Despite the workforce reduction, GitLab reported strong financial results for the first quarter of 2026, with revenue reaching $264 million, a 23% increase year-over-year.
The company reported robust gross margins of 88%, though it expects to incur between $30 million and $35 million in restructuring-related expenses.