China’s Tech Workers Fear Being ‘Optimized’ Out of a Job as AI Agents Arrive in the Office

The arrival of artificial intelligence agents in Chinese tech offices is triggering a wave of anxiety among white-collar workers, who fear they are about to be “optimized”, a common corporate euphemism for being laid off. As companies like Meituan, Baidu, and Xiaomi race to integrate generative AI into their daily operations, the focus has shifted from building foundational models to deploying AI agents that can automate routine tasks, from coding to customer service.

This shift is fundamentally altering the employment landscape in China’s tech sector, which has already endured years of regulatory crackdowns and economic headwinds. Now, the push for AI-driven efficiency is creating new pressure on employees who worry their roles are becoming redundant.

The Rise of the AI Agent

The transition from large language models (LLMs) to AI agents marks a critical phase in China’s AI development. While LLMs are powerful text generators, AI agents are designed to execute complex, multi-step tasks autonomously. They can write code, analyze data, draft reports, and even manage schedules.

For tech companies, the appeal is obvious: AI agents promise massive productivity gains and cost reductions. Baidu, for instance, has been aggressively promoting its AI agent platform, encouraging developers and enterprises to build custom agents for various applications. Xiaomi recently unveiled its HarnessX framework, which allows AI agents to rewrite their own scaffolding mid-task, significantly boosting their problem-solving capabilities.

However, for the workers tasked with building and maintaining these systems, the success of AI agents feels like a double-edged sword. “We are essentially training our replacements,” said one software engineer at a major Beijing-based tech firm, who asked to remain anonymous. “Every time we improve the agent’s coding ability, we are making our own jobs less secure.”

Meituan’s Restructuring Sparks Fears

The anxiety was palpable earlier this week when rumors circulated that Meituan, China’s leading food delivery and local services platform, was planning to cut half of its product team. The speculation suggested that the company was replacing human product managers with AI tools capable of handling user research, feature design, and data analysis.

Meituan quickly denied the rumors, calling them “completely false” and stating that it continues to hire for product roles. However, the speed with which the rumor spread and its widespread belief underscore the deep-seated fears within the industry.

Even if the 50% cut was an exaggeration, the reality is that tech companies are quietly restructuring their workforces to align with the AI era. Roles that involve repetitive, rule-based tasks are the most vulnerable. Customer service, basic coding, data entry, and even some aspects of product management are increasingly being handled by AI.

The ‘Optimization’ Euphemism

In Chinese corporate culture, layoffs are rarely called layoffs. Instead, companies use terms like “optimization” (优化), “graduating to society” (向社会输送人才), or “structural adjustment” (结构调整). This linguistic softening does little to cushion the blow for workers who find themselves suddenly unemployed.

The fear of optimization is particularly acute among mid-level employees who lack the highly specialized skills needed to develop cutting-edge AI models. While companies like DeepSeek are launching aggressive hiring sprees for top-tier AI talent, the demand for generalist software engineers and product managers is softening.

“The bar for entry is getting higher, but the ceiling for average workers is getting lower,” explained a tech recruiter based in Shenzhen. “If an AI agent can write 80% of the boilerplate code, you don’t need a team of ten junior developers. You need two senior architects to oversee the AI.”

A Broader Economic Challenge

The tech sector’s AI-driven restructuring is unfolding amid broader economic challenges in China. Youth unemployment remains a persistent issue, and the tech industry, once a reliable engine of job creation for recent graduates—is no longer absorbing talent at the same rate.

The Chinese government is acutely aware of the potential social disruption caused by AI-induced job losses. Earlier this year, a Hangzhou court ruled that a company could not use the implementation of an AI system as a legal justification for terminating an employee’s contract. The ruling was seen as a warning to employers that they cannot simply replace human workers with algorithms without facing legal scrutiny.

Furthermore, the government has emphasized the need for “high-quality development,” which includes ensuring that technological progress benefits society as a whole. However, balancing the imperative to lead global AI innovation with the need to maintain social stability is proving delicate.

Adapting to the AI Era

For tech workers, the only viable strategy is adaptation. Many are spending their evenings and weekends upskilling, learning how to use AI tools to enhance their own productivity rather than competing against them.

“You can’t fight the tide,” said a product manager at a Shanghai-based e-commerce firm. “The goal isn’t to beat the AI; the goal is to be the person who knows how to use the AI better than anyone else.”

As AI agents become more sophisticated and deeply integrated into corporate workflows, the definition of what it means to be a “tech worker” is evolving. The transition will undoubtedly be painful for some, but it also presents opportunities for those who can navigate the new landscape. For now, however, the prevailing mood in China’s tech hubs is one of cautious apprehension, as workers wait to see who will be next to be optimized.