
Image: Flickr / Wikimedia Commons / Unsplash
GitLab Cuts 14% of Staff as It Rebuilds for the Agentic Era
The DevOps platform is exiting 22 countries and rebuilding git from scratch - even as revenue climbs 23% year-over-year.
This article was produced by the AETW editorial team.
GitLab confirmed layoffs affecting roughly 14% of its workforce - about 350 employees - on June 3, 2026, as part of a restructuring the company is framing as a foundational bet on agentic AI infrastructure.
The cuts, confirmed
GitLab has confirmed layoffs affecting approximately 14% of its workforce - around 350 people - as part of a broader restructuring the company first signaled in May under the banner of its 'Act 2' strategy. The scope was disclosed during the company's Q1 FY27 earnings call on June 2, where CEO Bill Staples also outlined a sweeping set of changes to GitLab's operations, organizational structure, and infrastructure roadmap.
The restructuring involves four operational changes: exiting 22 countries to reduce its geographic footprint by 30%, removing up to three layers of management in certain functions, reorganizing R&D into roughly 60 smaller autonomous teams (nearly double the current count), and using AI agents to automate internal review and approval workflows. GitLab had operated in close to 60 countries before the restructuring and will continue serving customers in exited markets through its partner network.
The infrastructure bet
The rationale goes beyond headcount reduction. GitLab says agentic AI workflows are stressing developer infrastructure in ways it was never designed to handle. On the earnings call, Staples described a generational rebuild of the company's underlying platform - including git itself - to handle what he called machine-scale workloads. GitLab has partnered with an unspecified AI lab to redesign the platform and build APIs optimized specifically for AI agents rather than human developers.
The company is also investing in an orchestration layer for coordinating agents across the full software development lifecycle, a connected context layer for code and project data retrieval, and governance tooling embedded directly into the platform. Staples noted that rival GitHub has faced similar infrastructure strain, struggling with uptime as AI-generated submissions have surged. GitLab frames the rebuild as targeting a 100x increase in pipeline and commit activity driven by autonomous agents - a scale requirement, Staples argued, that did not exist two years ago.
Profitable, and still cutting
GitLab is not restructuring from a position of financial distress. The company reported Q1 FY27 revenue of $264 million, up 23% year-over-year, with gross margins of 88%. It expects $30 million to $35 million in restructuring charges and says it plans to reinvest the majority of savings into R&D and its infrastructure overhaul. GitLab's board had already authorized a $400 million share repurchase program in March 2026.
None of that cushioned the immediate market reaction. GitLab's stock dropped roughly 8% in after-hours trading when the layoff scope became public, extending a painful 12-month decline that has seen shares fall from around $52 to approximately $26. The company had also raised prices in 2023, a move CEO Staples acknowledged alienated price-sensitive enterprise customers - adding operational pressure alongside the strategic pivot.
A pattern that's hard to ignore
GitLab joins a long list of US tech companies cutting staff in 2026 while citing AI transformation as the driver. Cloudflare cut 1,100 jobs in a nearly identical pivot, framing the move around agentic AI. Intuit, Amazon, Block, Cisco, Meta, Microsoft, and Oracle have each announced significant layoffs this year using similar language. The US tech industry has already cut more than 100,000 jobs in 2026, per Statista, and is on pace to outpace both 2024 and 2025 if the trend holds.
According to a Challenger, Gray & Christmas report released in April, March 2026 was the first month on record where AI was the top-cited reason for US layoffs, accounting for 25% of all job cuts - 15,341 positions in a single month. Tech companies led the damage: Q1 2026 job cuts in the sector reached 52,050, a 40% increase year-over-year. Critics have begun questioning whether 'agentic era' restructurings represent genuine architectural pivots or AI-washing applied to conventional cost-cutting decisions.
What comes next
GitLab is hosting its GitLab Transcend virtual event on June 10, where Staples has promised to unveil the next phase of the Duo Agent Platform roadmap. That event will be the first real signal of whether the architectural bets outlined in the Act 2 letter are already in motion or still being designed. GitHub, which announced its own layoffs on the same day GitLab published its restructuring memo, faces many of the same infrastructure pressures - suggesting the broader DevOps category is being reshaped simultaneously, not sequentially.
For US engineering teams already using GitLab or evaluating it, the near-term concern is stability: continued investment in the core DevSecOps platform, support commitments, and whether the flatter 60-team structure accelerates or fragments the product roadmap. The company has reaffirmed its full-year FY27 guidance and says contractual terms remain unchanged for existing customers.
Sources
Brian Weerasinghe is the founder and editor of AI Eating The World, where he covers artificial intelligence, tech companies, layoffs, startups, and the future of work. His reporting focuses on how AI is transforming businesses, products, and the global workforce. He writes about major developments across the AI industry, from enterprise adoption and funding trends to the real-world impact of automation and emerging technologies.


