GitLab posted 23% revenue growth and a record $146.7M in free cash flow — then cut 14% of its staff the same day.
GitLab posted 23% revenue growth and a record $146.7M in free cash flow — then cut 14% of its staff the same day.

GitLab Inc. cut about 350 jobs, or 14% of its workforce, and exited 22 countries on June 2, redirecting the savings into rebuilding its platform for AI agents that automate coding, testing and deployment.
"We are entering the agentic era, where software will be built by machines, directed by people," Chief Executive Officer Bill Staples said in a memo to staff. "Our infrastructure was not designed for machine-scale workloads."
The restructuring came alongside first-quarter results that beat every Wall Street target. Revenue rose 23% to $264.2 million, topping the $254.6 million consensus. The net loss narrowed to $5 million from $35.9 million a year earlier, while free cash flow hit a record $146.7 million. GitLab's net revenue retention rate held at 117%, and customers spending more than $100,000 annually grew 18%, now representing over 75% of annual recurring revenue.
The contradiction — strong financials alongside deep cuts — reflects a broader pattern across enterprise technology in 2026. Companies from Intuit to Cloudflare to Microsoft have posted record or near-record revenue while trimming headcount, with AI cited as both the growth driver and the justification for layoffs. GitLab expects $30 million to $35 million in restructuring charges and plans to reinvest most of the savings into AI development rather than margin expansion.
GitLab's "Act 2" plan goes beyond headcount reduction. The company is flattening management by removing up to three layers in some functions, reorganizing research and development into roughly 60 smaller teams with end-to-end ownership, and exiting 22 countries where it maintained small operations — reducing its geographic footprint by about 37%. It will serve those markets through partners.
The architectural overhaul targets five priorities: rebuilding Git infrastructure for agent workloads, adding agent-specific APIs, reimagining continuous integration and deployment for AI agents, building a connected data model across planning and operations, and embedding governance tools for security and compliance at scale. Staples said the company has partnered with an unspecified AI lab to redesign its infrastructure and is working with Anthropic, Amazon Web Services and Google Cloud to run agentic features on their platforms.
GitLab Duo Leads the Product Push
The company's GitLab Duo Agent platform, launched in the first quarter, contributed more net new annual recurring revenue in its first quarter than all previous AI offerings combined, according to Staples. The platform allows AI agents to write code, review submissions, run security scans and deploy software autonomously, with humans providing oversight. GitLab is also introducing consumption-based pricing through a new "GitLab Credits" system alongside traditional subscriptions, giving customers flexibility as AI workloads scale.
The product shift comes as rival GitHub has struggled with availability issues caused by a surge in AI-powered submissions. Staples said agentic workloads are "pushing competitors to the brink" and that GitLab's infrastructure rebuild is designed for 100x growth in traffic.
Industry Context: AI Layoffs Hit a Record
GitLab's cuts are part of a broader trend that accelerated in 2026. AI became the No. 1 cause of US layoffs in March, accounting for 15,341 jobs or 25% of all cuts that month, according to Challenger, Gray & Christmas. Tech companies eliminated 52,050 positions in the first quarter, up 40% from a year earlier. Dell, Oracle and Meta were among the largest contributors.
The pattern has drawn skepticism. OpenAI CEO Sam Altman said in February that some companies are engaging in "AI washing" — using AI as a pretext for layoffs that would have happened anyway. Andrew Ng, the AI researcher and educator, argued in a widely circulated essay that AI will create more software jobs than it eliminates, as lower development costs drive demand for more applications.
For GitLab, the bet is that the agentic era will expand the total addressable market for DevSecOps platforms. The company's shares initially rose as much as 7% in after-hours trading on the earnings beat but gave back those gains after the layoff details emerged, falling about 5% to 8% in subsequent trading. GitLab trades at roughly 5x forward sales, a discount to its historical average, reflecting Wall Street's uncertainty about whether the restructuring will deliver.
The next major update comes at GitLab Transcend on June 10, where the company is expected to demonstrate its rebuilt infrastructure and announce additional AI partnerships. For customers, core services remain unchanged. For the industry, GitLab's move shows that even profitable software companies are reshaping themselves around AI agents — and that the organizational disruption is only beginning.
This article is for informational purposes only and does not constitute investment advice.