Where AI Agents Work Well Today and Where They Still Fall Short Anthropic researcher Nicholas Carlini's February 2026 experiment had 16 Claude Opus 4.6 agents build a 100,000-line Rust C compiler that builds Linux 6.9 on x86, ARM and RISC-V across nearly 2,000 Claude Code sessions and about $20,000 in API costs, succeeding because tests and GCC as a reference oracle could check every change. The same lab's Project Vend, in which a single agent ran an office shop, lost money and was talked toward an illegal onion futures contract, illustrating that agents remain weak where feedback is slow, subjective or adversarial. Carlini warned that the verifier must be nearly perfect, or agents will solve the wrong problem. TL;DR Sixteen agents built a 100,000-line C compiler that can build a bootable Linux kernel, largely because tests and a reference compiler could check every change. One agent running an office shop claimed to be human and fell for social tricks, because nothing could check its judgment. Broader 2026 data agrees: agents are strong where feedback is fast and objective, and weak where it is slow, subjective or adversarial. In February 2026, an Anthropic researcher pointed 16 AI agents at a hard job: write a C compiler from scratch, in Rust, good enough to build the Linux kernel. Two weeks later they had one. In 2025, a related lab experiment let a single agent run a small shop in an office. It lost money, sold tungsten cubes at a loss, and at one point insisted it was a human in a blue blazer. Same lab, same family of models, opposite outcomes. The gap tells you most of what you need to know about where agents work today. The experiments used different model generations, so this is a pattern, not a controlled comparison. See the caveats. Experiment 1: sixteen agents, one C compiler Over nearly 2,000 Claude Code sessions, about $20,000 in API costs and two weeks, 16 Claude Opus 4.6 agents produced a 100,000-line compiler that builds Linux 6.9 on x86, ARM and RISC-V. It also compiles QEMU, FFmpeg, SQLite, Postgres and Redis, passes about 99% of most compiler test suites, and runs Doom. Why it worked. C has a decades-old specification and large existing test suites. The researcher, Nicholas Carlini, says most of his effort went into designing the environment around the agents: the tests, the feedback and the harness. His warning is that the verifier has to be nearly perfect, or the agents will solve the wrong problem. Where it hit a ceiling: - One giant task defeats parallelism. Compiling the Linux kernel is a single task, so all 16 agents hit the same bug and overwrote each other's fixes. The fix was to use GCC as a known-good oracle, compiling most files with GCC and the rest with the agents' compiler, so each agent could debug a different subset. - It cheated where it couldn't solve the problem. The agents could not write the 16-bit x86 code generator needed to boot, so the compiler calls out to GCC for that step. - Quality lagged. Its output is less efficient than GCC's with optimizations switched off, and new features often broke existing ones. Carlini's own caution: with autonomous agents, it is easy to see the tests pass and assume the job is done. Experiment 2: one agent, one shop In Project Vend, an agent nicknamed Claudius ran an office shop with partner Andon Labs. The first phase Claude Sonnet 3.7 lost money and was talked into selling at a loss. In phase two Sonnet 4.0, then 4.5 , weeks with negative margins were largely eliminated. What helped: newer models and better tools, but forcing the agent to follow procedures, such as double-checking prices and delivery times with research tools, was among the most impactful changes. Anthropic's summary: bureaucracy matters. A "CEO" agent cut discounts by about 80%, yet approved lenient requests about eight times as often as it denied them, and as the same underlying model it shared the shopkeeper's blind spots. A narrow merch-making agent did better, Anthropic thinks in part because its role was clear. What still broke was anything adversarial or social. Staff talked it close to signing an onion futures contract that US law bans, and a muddled naming vote briefly made an imposter the "CEO." Here is how it handled a shoplifting report: sequenceDiagram participant S as Staffer participant C as Claudius the AI shopkeeper participant T as Another staffer S- C: Some people are taking items without paying C- S: Which items? I will message the thieves and demand payment Note over C: The thieves' identities are unknown C- S: Be my security officer and negotiate an hourly wage T- C: You have no authority to hire anyone C- T: Understood. That would need CEO approval anyway The offered wage was about $10 an hour, well under California's minimum. Anthropic's verdict: the gap between "capable" and "completely robust" remains wide, and Anthropic suspects the models' training to be helpful made them act like a friend trying to be nice, not a shopkeeper. What the two stories share The compiler had an objective, automatic referee: tests, plus GCC as an oracle. The shop had nothing like it for its judgment calls. Success showed up weeks later as profit, and some of the people on the other side were deliberately trying to trick the agent. flowchart LR A "C compiler