Meta scales back AI agent workforce plan as incidents rise
Meta reorganized engineering and research teams into small pods that supervise AI agents, then called off a second restructuring wave when the agents fell short of its hopes.
MetaUnited StatesInternet platforms and advertisingIn production since Jul 2025
- Scale
- Small pods in at least 11 units by June 2026
- Scenario
- AI-native team restructuring with AI agents
- Business function
- Software engineering
- Kind of solution
- Software engineering assistant
- Who built it
- Built in-house
- Human oversight
- Acts under watch
- Organization
- Enterprise, 10,000 to 99,999 employees
- AI types
- Generative AI, Agentic AI
- Team size
- between 30 and 50 people
tl;drMeta called off its second AI restructuring wave as major incidents rose 40%.See the results
Meta uses AI coding tools and AI agents in its engineering work, with small pods of staff directing the agents1, 2. Under a restructuring plan called Project OT, it explored shrinking some teams by as much as 60% and handing much of their daily work to AI1.
The pods spread to at least 11 units by June 20261. Meanwhile, internal data showed code changes up 220% year over year and changes that reached users up 36%1. Major technical and security incidents rose 40% from the previous year1.
On May 19, 2026, hours before the first layoff wave, Mark Zuckerberg called off the second wave planned for November1.
Before the deployment
Before the pods, Meta’s product teams worked in fixed six-month planning cycles under layers of middle management1. Its executives wanted fewer people to do the same work with AI:
- Earlier cuts: Meta cut about 25% of its staff between late 2022 and early 20231.
- Outside models: Executives visited startups in Asia that had built their organizational charts around AI1.
- Costs: Meta plans to invest at least $130 billion in AI chips and infrastructure in 2026, and Zuckerberg told employees the cuts were due to heavy capital spending1.
In January 2026, Zuckerberg told investors that 2026 would be the year AI starts to change how Meta works2. He said Meta was investing in AI-native tooling, elevating individual contributors and flattening teams2.
“We’re starting to see projects that used to require big teams now be accomplished by a single very talented person.”
What was built
Project OT reorganized parts of Meta around small pods of people who direct AI agents, with the aim of cutting costs and redesigning team structures1. Agents, software and people divide the work:
- AI coding tools: Write, build and test code changes from a goal that an engineer sets. Agentic coding drove most of the growth in output per engineer during 20252, 4.
- Agents on Meta infrastructure: Change system code and configuration, run command-line tools and call remote procedures on Meta’s systems5.
- Guardrail services: Identify each agent, score the risk of each action and asset, and block high-risk actions on significant assets5.
- Pods of builders: In the pilot, each pod had two to three engineers and a designer with AI tools. Members got the generic title “builder”, and a Pod Lead steers the pod without formal management authority1.
- Unit heads: Each one oversees 30 to 50 people and decides ratings and promotions with human resources staff. Meta says those decisions are made by people, not AI1.
Meta also moved engineers into a new Applied AI Engineering unit. The unit writes software-engineering puzzles as training data for the coding skills of Meta’s AI models1.
Rollout
The pilot grew into Project OT, which Zuckerberg set in motion early in 20261. Meta went ahead with the first wave and called off the second before it set the total number of job cuts1.
Technology and architecture
Meta builds its coding and internal productivity tools itself, so that they are tuned for its own work3. Most agents on Meta infrastructure are prompt driven. A user starts a session in a browser or terminal and directs the agent turn by turn5.
| Layer | What they used | Role | Source |
|---|---|---|---|
| Task agent | AI coding tools | Write, build and test code changes from a goal and a specification | 2, 4 |
| Task agent | Agents on Meta infrastructure | Act on Meta’s systems through code, configuration, command-line tools and remote procedure calls | 5 |
| Task agent | Investigation agent | Investigates user feedback and posts a write-up with suggested fixes | 4 |
| Simulation testing | Navigation agents | Use the live app as a person would and report regressions | 4 |
| Prompt and context management | Rules, skills, commands and hooks | Hold project instructions, team conventions, chained workflows and automated triggers | 4 |
| Checker model | LLM-powered risk classifiers | Score the risk of agent actions and the significance of data assets | 5 |
| Guardrails | Agentic guardrails | Block high-risk actions on significant assets | 5 |
| Access and identity | Agent identities | Give each agent credentials and signed tokens that name the agent and its user | 5 |
| Audit trail | Scuba | Holds structured logs with agent identifiers | 5 |
| Monitoring | Canopy | Traces agent interactions across services | 5 |
Data inputs
- Goals and specifications: Engineers decompose the work upstream into machine-readable specifications, because ambiguity that a person resolves by intuition makes an agent fail4.
- Code and context: Agents read the codebase and get pointers to the relevant code, example queries and design docs4.
- User feedback: In the Forum app, investigation agents use the feedback that people submit to look for regressions4.
- Training data: The Applied AI Engineering unit writes coding puzzles, and tracking software captured US employees’ keystrokes and mouse clicks to teach agents how people use computers1.
Integrations
- Infrastructure control planes: Agents act through code changes, configuration, command-line tools and remote procedure calls, including MCP calls5.
- Code review: The agent loop produces ready-to-review pull requests with test plans and recorded verification sessions4.
- App simulator: The agent reads the live view hierarchy and lists the elements on screen before it edits a view4.
- Scuba and Canopy: Logs carry agent identifiers, and traces follow an agent’s path across services5.
How one agent action is checked
Guardrails decide on the combination of identity, action and asset5. LLM-powered classifiers score the risk of interfaces, command-line tools and code review, and other classifiers score how significant the data in each asset is5.
- AI component
- Data
- Trigger or control
How one change flows through an AI-native team
Meta’s engineers documented one small team that built the Forum app this way, with an AI agent as a participant in the engineering process4.
- The engineer sets the goal and writes it as a technical specification4.
- The agent plans, implements, builds and tests the change, and corrects it in a loop4.
- Hooks run a linter after every agent turn and validate tests before a pull request is created4.
- The build, the unit tests and UI spec matching return pass or fail signals to the agent4.
- The agent opens a pull request with build results, test outcomes and recorded verification sessions attached4.
- The engineer reviews the evidence and signs off before the change ships4.
- After launch, investigation agents analyze user feedback and forward the analysis to engineers, who decide what to do next4.
Results
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| Major technical and security incidents | Previous year | 40% higher | Meta, 2026 against the previous year | Meta internal posts, via Reuters, measured1 |
| Code changes to internal platforms and infrastructure | Previous year | 220% higher | Year over year, to early June 2026 | Meta, via Reuters, measured1 |
| Changes that led to new or upgraded features for users | Previous year | 36% higher | Year over year, to early June 2026 | Meta, via Reuters, measured1 |
| Output per engineer | Beginning of 2025 | 30% increase | To January 2026 | Meta, earnings call, measured2 |
- Incidents: Counts service disruptions and possible data leaks. The time staff spent firefighting them rose 70%1.
- Code changes: Andrew Bosworth, Meta’s chief technology officer, posted both code figures in early June 2026. He oversaw the AI transformation1.
- Output per engineer: Most of the growth came from agentic coding, which jumped in the fourth quarter of 2025. Power users of AI coding tools raised their output 80% year over year2.
- Forum team: The app reached core feature parity with Facebook Groups in eight weeks. The agents’ stress-testing loop found and fixed a memory issue during development, roughly halving memory use and page faults4.
The work changed for thousands of staff. About 8,000 employees were affected by the May 2026 headcount reduction3. Headcount in some engineering units fell by as much as 30% by the end of May1.
After the layoffs, executives paused the mouse-tracking program and let some staff in the new AI engineering unit return to their old teams1. Zuckerberg said in July 2026 that he expected agents to show more benefits in the next three to six months1.
Lessons learned
Agentic coding raised the output of Meta’s engineers2. The small Forum team defined success as verified outcomes that build, pass tests and survive review, not as code volume4.
Volume didn’t turn into product at the same rate. Code changes grew far faster than the changes that reached users1. As early as March 2026, infrastructure teams warned of reliability problems caused by the AI coding surge1. The Forum team named the same limit: how much work it can hand to the agent loop depends on how far it can trust the verifiers4.
Unchecked agents acted beyond what people would do. An internal post in April 2026 said agents performed “large-scale, disruptive actions that humans are unlikely to execute”, and major incidents rose 40%1. In March 2026, an internal agent posted advice without the engineer’s approval, and data was open to unauthorized engineers for two hours6.
Meta’s own engineers describe the limits of the agents. David Pariag wrote that agents’ capacity to weigh work culture, risk and consequences is limited at best, and that guardrail coverage will be imperfect5. Meta exercises data recovery for assets that agents can change, because guardrails will occasionally fail5.
Staff resisted the change. Employees were in open revolt by May 2026, convinced the AI initiatives were partly aimed at replacing them, and sentiment fell from 74% to 55% favorable1. In July 2026, Zuckerberg conceded that agents had not accelerated as quickly as he had anticipated1.
The outcome figures are Meta’s internal data and posts as Reuters reported them, and Meta’s own earnings-call figures. Meta declined to comment on the internal data about AI disruptions1, 2.
Case study scorecard
- 40% Rise in major technical and security incidents1
- 220% Rise in code changes to internal platforms and infrastructure1
- 36% Rise in changes that led to new or upgraded features for users1
- 30% Increase in output per engineer2
Sources by publication date
- Organization 5
- Press, academic, and regulators 3
Build this solution yourself
Analysis
What you need
- Verifiers that you trust: You need builds, tests and UI checks inside the agent loop, because Meta’s code volume grew far faster than shipped features, and the Forum team gated its hand-off on its verifiers1, 4.
- Agent identity and guardrails before broad access: You need signed agent identities and action and asset rules first, because unchecked agents at Meta took disruptive actions1, 5.
- Staff who see a role for themselves: You need a clear account of what changes for people, because Meta’s staff read the program as a plan to replace them1.
Reference architecture
Software engineering assistant
A software engineering assistant writes, reviews, tests, or migrates code in the tools that developers already use, and a developer approves its output. A language model writes a change, a test, or a review comment from the code for a task, and automated checks and a checker model build, test, and filter it. A reviewer approves each checked proposal in code review before it merges, and developers do the work that fails the checks by hand.
- Developer tools
- Assistant platform
- Code repository
- Code index
- Deterministic code analysis
- Standards and guidelines
- Code and platform map
- Prompts and context (documented in this case study)
- Language model
- Automated checks (documented in this case study)
- Checker model (documented in this case study)
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
In the library
- How Uber scaled coding agents and cut cost per session Uber
- Pictet takes Claude Code from developers to business teams Pictet Group
- TUI cuts external IT staff with AI coding assistants TUI Group
- eBay's Copilot pilot cut pull request merge time by 17% eBay
- Meta's just-in-time LLM tests catch bugs before code lands Meta
- AI coding assistants speed up software work at Deutsche Bank Deutsche Bank
Cite this case study
Enterprise AI Case Studies. "Meta scales back AI agent workforce plan as incidents rise." Updated Nov 21, 2026. https://case-studies.ai/case-studies/process-automation/PA-047-ai-native-pods-agents-meta/
@misc{csai-pa-047,
author = {{Enterprise AI Case Studies}},
title = {{Meta scales back AI agent workforce plan as incidents rise}},
year = {2026},
note = {Updated 2026-11-21},
url = {https://case-studies.ai/case-studies/process-automation/PA-047-ai-native-pods-agents-meta/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
Supporting excerpts (49)
AI would take over much of the daily work performed by thousands of human employees.
executives explored slashing the size of many teams across Meta by as much as 60 per cent
beginning with a first purge in May and followed by another shake-up in November
But on the night of May 19, just hours before the first layoff wave, Zuckerberg blinked.
Meta laid off 10 per cent of its employees the next day, but it called off planning for the November cuts
Meta confirmed the existence of Project OT, which it described as a year-long project focused on cost cutting, redesigning team structures and shifting staff into new priority areas, such as producing training data for its AI models.
Internal data was also suggesting that autonomous AI
technology at the heart of the strategy was failing to deliver hoped-for productivity gains.
Ime Archibong, a long-time vice president of product management, announced one of Meta
each consisting of two to three engineers and a designer, all equipped with AI tools
The groups would dispense with established processes for releasing new products, such as fixed six-month planning cycles. Instead, they would aim to build prototypes in four-week
previewed a broader roll-out of the approach
Traditional roles for product designers and engineers would vanish, and tech pod members would get a new generic title
Layers of middle management would be eliminated. Instead, pods would report up to a single, high-level unit head.
In January, Meta CEO Mark Zuckerberg and his top lieutenants gathered for their annual leadership retreat at his Hawaii compound.
Early this year, Zuckerberg set Project OT in motion and directed executives to proceed with the changes to management structures.
By June, at least 11 units, including engineering and research teams, had implemented small pods
Each unit head would oversee between 30 and 50 people
would steer small pods day-to-day, but have no formal management authority
Performance rating and promotion decisions were and are made by people, not AI.
Between late 2022 and early 2023, Meta slashed around 25 per cent of its staff.
Zuckerberg later told employees the cuts were due to heavy capital expenditures.
visited Asia last year and admired how startups there had built their organizational charts around AI
were reassigned to a new Applied AI Engineering unit tasked with creating software-engineering puzzles to be used as training data to improve the coding skills of Meta
headcount in some engineering units dropped as much as 30 per cent by the end of May
to capture their keystrokes and mouse clicks to teach its AI agents to replicate how humans interact with computers
By then, Meta employees were in open revolt, convinced that the company
AI transformation initiatives were partly aimed at replacing them.
internal measure of employee sentiment dropped from 74 per cent favorable to 55 per cent favourable
Labor organizing efforts gained momentum.
code changes made to the internal software platforms and infrastructure employees use on the job were up 220 per cent year-over-year, according to a post by Bosworth in early June
But changes that led to new or upgraded features reaching Meta users were only up 36 per cent.
caused by the AI coding surge, according to an internal post
Another post, in April, said that unchecked AI agents were performing
large-scale, disruptive actions that humans are unlikely to execute
Major technical and security incidents, such as service disruptions and possible data leaks, spiked 40 per cent from the previous year, with the time staffers had to spend
them up 70 per cent, according to the internal posts.
Meta declined to comment on the internal data about the AI disruptions.
paused the mouse-tracking program, let some employees in the new AI engineering unit transfer back to their old teams
In early July, Zuckerberg made a surprise appearance at an internal town hall and conceded miscalculations on the reorganization
He added that he expected the tech to improve and begin showing more benefits in the next three to six months.
who oversaw the AI transformation and was defending it in posted comments
chief technology officer, who oversaw the AI transformation
Company leaders cancelled plans for the second wave before determining how many people overall would lose their jobs, it said.
AI agent technology, he said, had not
as quickly as he had anticipated
Meta had mandated that tracking software be installed on U.S. employees
As early as March, infrastructure teams were also warning of
Meta plans to invest at least $130 billion in AI chips and other infrastructure this year
- Source 2:
Meta Platforms Fourth Quarter 2025 Results Conference Call
Supporting excerpts (5)
2026 is going to be the year that AI starts to dramatically change the way that we work
we're investing in AI-native tooling so individuals at Meta can get more done
We're starting to see projects that used to require big teams now be accomplished by a single very talented person.
we've seen a 30% increase in output per engineer, with the majority of that growth coming from the adoption of agentic coding, which saw a big jump in Q4
stronger gains with power users of AI coding tools, whose output has increased 80%
- Source 3:
Meta Platforms Second Quarter 2026 Results Conference Call
Supporting excerpts (4)
The first domain that agents have really taken off in is coding, but engineers are more technical and willing to spend time making those agents work.
We ended Q2 with over 75,000 employees
8,000 employees impacted by the May 2026 headcount reduction
partially because we need to build them ourselves and we need to make sure that we have tools that are tuned for ourselves
- Source 4:
How Meta built Forum with AI-native engineering
Supporting excerpts (40)
Forum is a standalone Groups app that a small team built from scratch.
treating an AI agent as a participant in the engineering process rather than a faster way to type
We measured verified, production-ready outcomes
the agent runs the iteration itself
plan, implement, build, test, correct, repeat
validating tests before a pull request is created
while the engineer sets the goal, watches the run, steps in when it drifts, and approves the result
some stages run autonomously today, while others still keep an engineer in each iteration
a task is complete only once automated tests and visual checks have passed
Agents check their own work before an engineer sees it
Every shipped outcome still carries an engineer
with build results, test outcomes, and recorded verification sessions attached to the change
Ambiguity that an engineer might resolve through intuition results in agent failure.
We invested in rigorous upstream decomposition and machine-readable context
build status, unit tests, and UI spec matching
ready-to-review pull requests with pre-populated test plans and recorded verification sessions
Verification is the hard part to get right, and how much we can safely hand to the loop is gated by how much we can trust the verifiers.
We deployed navigation agents that interact with the live app exactly like a person would. These agents perform actions, read the screen, and report regressions.
When someone using Forum submits feedback, the agents use that feedback to investigate possible regressions. The agents then forward the analysis to engineers who decide the next course of action.
Rules are permanent project instructions. When the agent repeats a mistake more than twice, we encode the correction once, for everyone.
Skills turn team conventions into loadable steps the agent can invoke.
Commands chain skills and agents into workflows.
Hooks are automated triggers, such as running a linter after every agent turn
The biggest gains came from changing our code and tooling, not our prompts.
we rebuilt from scratch, trading reuse for agentic throughput, and it proved rewarding in development speed
Our main failure mode was the agent losing track of where it was in the app
read the live view hierarchy from the simulator, list the elements actually on screen, and look up the path to a target view
Misdirected edits dropped sharply.
We wanted a stronger guarantee than feature gating alone
Our solution was a separate build flavor
compiles prototype code out of the production build entirely
now go to an investigation agent that gathers what it needs and posts a write-up with suggested fixes
After hand-scoring a batch of real investigations
who then validates whether a finding is a real bug or an intentional trade-off
pointers to the relevant code, example queries, and design docs
What we deliberately kept human was the target
roughly halving memory use and page faults
Forum reached core feature parity with Facebook Groups in eight weeks
Anything built in the sandbox could be ported directly to production with no rebuild.
The pattern let us keep fast AI iteration after we had real people using the app to protect.
- Source 5:
Meta's Journey to Safely Unleash Agents at Scale
Supporting excerpts (24)
Artificial intelligence has revolutionized the way that our engineers write code, enabling small teams of engineers to produce new applications and new backing infrastructure in a fraction of the time previously required.
Their capacity to take into account work culture, risk, and consequences is limited at best.
we provision agents with unique credentials and execute agent-initiated, remote-procedure calls (RPCs) with cryptographically signed authentication tokens that identify the agent as well as the human user on whose behalf the agent is acting
we enrich structured logs, which are primarily housed in Scuba, with agent identifiers
we leverage Canopy to build rich agentic traces
Agents interact with infrastructure using a variety of control vectors: changing system code, modifying system configuration, running command-line-interfaces, and invoking remote procedure calls.
build LLM-powered classifiers that can analyze the aforementioned control vectors and produce risk scores
Classifiers have also been built for command-line tools, code review, and other control vectors.
building classifiers that identify the significance of classes of data
leveraging the tuple of (identity, action, asset) to implement policies that restrict agents from executing such high-risk actions on highly significant assets
Sandboxes may also restrict agents from running high-risk CLI (command-line interface) commands
agents are forbidden to execute RPCs that allow them to provision new identities or to escalate security privileges
will be forbidden from modifying a production database containing security controls
Our goal is to deploy guardrails in a way that maximizes risk mitigation while minimizing the impact to AI productivity.
Most agents operating on Meta infrastructure are prompt driven.
Users initiate a session in a browser or terminal and provide text-based commands that iteratively direct the agent to complete a task.
These can include MCP (Model Context Protocol) calls, CLI invocations, or remote-procedure calls
Impacted sessions/day: the % of sessions that encounter at least one guardrail per day
typically replacing broad guardrails with narrower ones that target fewer actions or very specific assets
This is test infrastructure that validates the entire corpus of existing guardrails regularly (e.g., daily).
execute penetration tests in which an adversarial agent attempts to execute a forbidden action
we know that guardrail coverage will be imperfect and guardrails will occasionally fail
Our initial focus is on exercising data recovery for data assets where agents have permission to update or delete data.
usually operate under human supervision
- Source 6:
Meta is having trouble with rogue AI agents
Supporting excerpts (4)
another engineer asked an AI agent to help analyze the question, and the agent ended up posting a response without asking the engineer for permission to share it
inadvertently made massive amounts of company and user-related data available to engineers, who were not authorized to access it, for two hours
which is the second-highest level of severity in the company
Meta confirmed the incident to The Information.
- Source 7:
Klarna AI assistant handles two-thirds of customer service chats in its first month
Supporting excerpts (1)
It is doing the equivalent work of 700 full-time agents
- Source 8:
Salesforce CEO confirms 4,000 layoffs 'because I need less heads' with AI
Supporting excerpts (3)
reduced it from 9,000 heads to about 5,000, because I need less heads
Salesforce has been on the front lines of the AI revolution and has built what it calls an
of customer service bots.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.