Zero Labs
Industry News / AI

Coding Agents, Handloom Weavers, and Us

Source · Towards AI By Zhou Yu

From the publisher’s feed, collected in the ZeroLabs newsroom.

The new bottleneck is meLately, whenever I have dinner with friends, the conversation drifts to how fast AI is moving. In mid-2025, coding agents were a nice-to-have for me: I used them to write unit tests and not much else. By the end of the year they could write an entire script. Now I can hand one a whole project and walk away.The way I work with them has changed just as fast. At first I had to spell out every step. Then I only had to clean up after them now and then. Now the bottleneck is me: I spend extra tokens just figuring out what the agent actually did. At this pace, it is hard to imagine where AI will be by the middle of next year.To be fair, on any single task, AI is already faster and better than I am. Where I may still have an edge is twofold. First, I can connect the dots: take what I learned across different tasks and generalize it to a bigger project. Second, I am connected to the physical world. I can sit in meetings, pick up context from conversations, and promote my own work. I suppose that is because I am, for now, more long-horizon than AI, and because I am a physical intelligence.The real economy hasn’t noticed yetSeen from inside AI, the capabilities keep pulling ahead. Seen from the real economy of food, clothing, housing and getting around, not much has changed.Start with the most basic needs. First, in both China and the US, the manufacturing that feeds and clothes us already runs at overcapacity. Second, AI has limited reach into production and transportation; most of what it does there is help operators cut costs. Third, if AI causes mass layoffs, it lowers consumption and purchasing power, which only deepens the overcapacity.So if AI simply adds supply and removes human labor, it will not turn into prosperity right away. It could even cause a recession. Imagine AI automates the clothing business end to end, from production to sales, and Uniqlo’s prices drop by half. Competitors follow. But cheaper clothes do not raise total sales for long. And if unemployment pushes people to trade down, they may stop buying new clothes altogether. The retailers may not end up better off either.Weavers then, software engineers nowThis has happened before. Industrialization had its own bouts of “overproduction,” and the handloom weavers may be the closest parallel to software engineers today. Their fortunes rose and then collapsed in three acts, and each act has an echo in our trade.Act one: the bottleneck. Machines did not replace weaving first; they replaced spinning. Machine spinning produced a flood of cheap yarn, and demand for weavers shot up [2]. Weaving became the bottleneck of the whole chain. By 1805, a handloom weaver could earn £2 a week [4]. It was their golden age.The echo: for the past two decades, software was our bottleneck. Cheap computing, the internet and smartphones meant every business needed code, and too few people could write it. Software engineers had their own golden age of high salaries and stock grants.Act two: the crowd. High wages drew in a wave of newcomers. Handloom weaving was easy to learn, and plain cotton cloth was easy to weave. As the trade filled up, its standing collapsed and piece rates were pushed down [4]. The Napoleonic Wars also drove up the price of food [6]. Between 1806 and 1820, the real wages of handloom weavers fell by more than half [3]. Yet the power loom had barely arrived: in 1815, only about 5% of cotton cloth was woven by power [2]. The first blow came from overcrowding, not from machines.The echo: high pay drew a crowd into software too: bootcamps, career switchers, a generation told to learn to code. The first squeeze many engineers felt in recent years came less from AI than from a crowded market and rounds of layoffs.Act three: the machine. Then the power loom arrived in earnest. Ironically, it was the weavers’ own high wages that made even immature power looms pay for themselves [2]. By 1845, power looms wove 95% of the cloth [2]. Mill owners kept some handloom weavers on, but those weavers were always the first laid off when trade turned bad [4]. By the 1820s, few earned even 7 shillings a week, less than a fifth of their golden-age pay [4]. Some 400,000 handloom weavers across Britain [5] went from respected craftsmen to paupers.The echo: coding agents are our power loom, and the irony carries over. Our high salaries are exactly what make automating code so attractive: a machine that replaces a well-paid engineer pays for itself fast. If the analogy holds, we may be somewhere around 1815, when the machine works but has not yet taken over. The difference is speed. The power loom took thirty years to go from 5% to 95% of the cloth. My coding agent went from writing unit tests to writing whole projects in about a year.The first blow to the weavers’ pay came from overcrowding; the power loom only finished the job.Jobless, then underpaid, then a slow recoveryWith so many people pushed out by machines, unemployment was inevitable. Slump after slump, in 1816–17, 1819 and 1825–27, left whole industrial districts out of work [7][8], and even in good years many weavers relied on parish relief to get by [7].But much of the unemployment was hidden. The countryside was crowded with people who nominally had work, yet whose labor added almost nothing [6]. They kept streaming into the cities. Factory jobs grew, but not as fast as the newcomers arrived. So people were not entirely without work; they could only find work that barely fed them. There was always someone willing to do it for less, and wages stayed pinned down.So who bought all that cloth? Not local workers, who could not afford it. For much of the nineteenth century, 75% to 80% of British cotton output was exported [9]. The Indian market was opened by political power: at home, Manchester cloth faced no foreign competition, and abroad, industrialists persuaded the East India Company to sell British goods in India [10]. In 1800, India was still a net exporter of textiles. By 1877, imports held 58% to 65% of its domestic market [11].How did wages finally recover? Factory owners saved their growing profits and reinvested them [1]. The money flowed into new industries like the railways. The rural labor surplus was slowly absorbed, and workers finally gained bargaining power. From 1840 to 1900, output per worker rose 90% and real wages 123% [1]. But the wait lasted half a century, a stretch historians call “Engels’ pause” [1]. For the weavers themselves, the recovery mostly came too late.What this means for usThe weavers’ arc feels uncannily like my own experience with coding agents. First they work for me and make me more valuable. Then, gradually, they work instead of me. So far, AI has only cut costs and raised efficiency. We have not yet seen its gains raise human wages or create new jobs.If software engineers follow the weavers’ path, the damage may first show up quietly rather than as mass layoffs: fewer entry-level openings, flat pay, engineers who still have jobs but whose work is worth less each year. Open unemployment would come in waves, with each downturn.The weavers’ world eventually recovered through three exits: new industries, a labor surplus that was finally absorbed, and new markets abroad. Today, all three look blocked:New industries. Will they appear this time? We don’t know yet.Absorbing surplus labor. This may never happen, because AI itself is a labor force that can be copied without limit.New markets. There is no “other India” left on the planet to sell into.It is hard not to worry that a recession may follow.Beyond the old playbookOf course, all of this assumes the old economics of production, and whether it applies to this AI revolution is debatable. Human labor used to be a means of production. Even the super-rich had to hire people, and ordinary people could trade their labor for a living. But suppose AI can fully replace human work. Then human labor loses all its value.Under one extreme distribution of wealth, the super-rich could sit on their resources and a fleet of AIs and enjoy every material comfort imaginable, while ordinary people become socially and economically superfluous: homeless and useless. At the other extreme, the government guarantees everyone a basic income, but the path to wealth through work and skill disappears, and ordinary people become the walking dead.And when most people no longer work, no longer pay taxes and no longer provide “value” to the state, will governments still serve them? Oil states offer an uncomfortable precedent: governments that live off resource rents rather than taxes tend to answer less to their citizens. Luke Drago and Rudolf Laine call the AI version of this risk the “intelligence curse” [12].CodaAdmittedly, this is thinking pretty far ahead, and I haven’t yet come across a truly convincing answer. One more impractical thought: if AI really does surpass us, can we still control it? Can a lesser intelligence tame a greater one?Just some scattered thoughts. I’ll keep watching the AI storm unfold, and check back next year.ReferencesRobert C. Allen, “Engels’ pause: Technical change, capital accumulation, and inequality in the British industrial revolution,” Explorations in Economic History 46(4), 2009.Robert C. Allen, “The Hand Loom Weaver and the Power Loom: A Schumpeterian Perspective,” NYU Abu Dhabi working paper, 2017.Daron Acemoglu and Simon Johnson, “Learning from Ricardo and Thompson: Machinery and Labor in the Early Industrial Revolution, and in the Age of AI,” MIT working paper, 2024.William Turner, “The Decline of the Handloom Weaver,” Cottontown, Blackburn with Darwen.“Royal Commission on Hand-Loom Weavers,” Wikipedia.“Engels’ pause,” Wikipedia.“‘Alas Poor Weavers’: The context of the April 1826 weavers’ uprising in east Lancashire,” Open University HERC blog.Book chapter on the slumps of 1816–17 and 1819, Taylor & Francis.“Textiles Since 1800,” Encyclopedia.com.NCERT, Class 8 history textbook, chapter on weavers and factory owners.David Clingingsmith and Jeffrey G. Williamson, “India’s Deindustrialization in the 18th and 19th Centuries,” working paper.Luke Drago and Rudolf Laine, “The Intelligence Curse,” 2025.Further readingAnton Korinek and Donghyun Suh, “Scenarios for the Transition to AGI,” NBER working paper, 2024. A formal model of the race between automation and capital accumulation.Jan Kulveit et al., “Gradual Disempowerment: Systemic Existential Risks from Incremental AI Development,” 2025. On losing control without any single bad actor.Erik Brynjolfsson, “The Turing Trap: The Promise & Peril of Human-Like Artificial Intelligence,” Dædalus, 2022. On why incentives favor automation over augmentation.Written by the author with AI assistance in editing, research, and the figures.Coding Agents, Handloom Weavers, and Us was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.