<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Developers Digest</title>
    <link>https://www.developersdigest.tech</link>
    <description>Videos and open-source projects at the intersection of AI and development. Tutorials on coding agents, AI tools, and building with LLMs.</description>
    <language>en</language>
    <lastBuildDate>Wed, 02 Dec 2026 17:22:58 GMT</lastBuildDate>
    <atom:link href="https://www.developersdigest.tech/feed.xml" rel="self" type="application/rss+xml" />
    <image>
      <url>https://avatars.githubusercontent.com/u/124798203?v=4</url>
      <title>Developers Digest</title>
      <link>https://www.developersdigest.tech</link>
    </image>
    <item>
      <title><![CDATA[Google Found How to Make Your Agents Cheaper and Faster]]></title>
      <link>https://www.developersdigest.tech/tutorials/ylTCUPT2Vdw</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/ylTCUPT2Vdw</guid>
      <description><![CDATA[Google researchers found a way to make agents cheaper and faster by making their skills shorter. EfficientSkill (Google + Purdue) first learns a skill that works with no limits, then trims it, keeping...]]></description>
      
      <pubDate>Wed, 02 Dec 2026 12:00:04 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/ylTCUPT2Vdw/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Anthropic's Lattice Paper and ML-KEM: What Developers Do]]></title>
      <link>https://www.developersdigest.tech/blog/anthropic-lattice-cryptography-ml-kem-developer-guide-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/anthropic-lattice-cryptography-ml-kem-developer-guide-2026</guid>
      <description><![CDATA[Anthropic's quantum attack on module lattices does not break ML-KEM or ML-DSA. What the papers claim, what CIRG and Cloudflare say, and what to change.]]></description>
      <content:encoded><![CDATA[
**Last updated:** December 1, 2026

If you searched "ml-kem" this week, you were not alone: Google Trends interest in the term went from 2 to 5 on a 0-100 scale through most of November to 83 on November 30 and 91 on December 1. The cause is a set of four Anthropic papers on lattice cryptography, published with a Lean formalization on November 30. The short answer for builders: nothing deployed is broken, and the useful work is making your system able to swap algorithms.

## What the primary source says

Anthropic's [formal-math repository](https://github.com/anthropics/formal-math/tree/main/lattices) holds four papers and a Lean 4 formalization. The README says the results "were discovered by an internal research Claude model" and the formalization "was written by AI models." Paper 1 is titled "Galactic quasi-polynomial quantum algorithms for integral and module lattices." The README states plainly that the results are asymptotic and that the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA.

The independent assessment comes from the [Cryptography Incident Review Group (CIRG)](https://cirg.org/statements/1/), which says Anthropic shared the results with several cryptographers on November 16. Its reading:

- The headline claim is a quantum, quasi-polynomial-time algorithm for certain module-lattice problems, including some versions of Ring- and Module-LWE.
- Anthropic reports no improvement in classical attacks on mainstream lattice cryptosystems, and no improvement in quantum attacks on the unstructured ones.
- Against ML-KEM and ML-DSA as standardized, the attack needs far more computation than the best known attacks and large-scale quantum hardware. CIRG calls the scale "galactic."
- The significance is asymptotic: ML-KEM and ML-DSA get higher security levels by raising the rank k while keeping the degree n fixed at 256, and the new speedup applies as n grows.

CIRG also says it is reasonable to expect the attack to be improved, and that the open question is whether improvements will ever reduce the cost of breaking the actual standards.

[Cloudflare's response](https://blog.cloudflare.com/pq-is-still-safe/) agrees: the work is theoretical, the hardware (billions of logical qubits for a straightforward implementation) does not exist, and the runtime on deployed parameters exceeds what is available in our galaxy. Cloudflare says 73% of human traffic to its network is post-quantum encrypted as of its post. That is a vendor-reported figure.

## The angle: the finding is small, the process is not

The cryptography here is a footnote for most teams. The part that matters for people building with models is how the result was produced and checked. Two things stand out.

First, the formalization is an audit trail. The README lists 132 main theorem statements checked by Comparator, which replays proofs in Lean's kernel and in the independent kernel nanoda. It also says what a reader still has to trust: the statements and definitions, and that "the statements say what the papers say," which AI readers compared with the text. That is a useful template for any agent output you ship: separate the claim from the proof, and be explicit about what a human still reads.

Second, this extends a pattern we have covered. [Anthropic's earlier Mythos work on HAWK and reduced-round AES](/blog/claude-mythos-cryptographic-weaknesses-hn-analysis) found weaknesses in a candidate scheme. [The Fermat formalization](/blog/anthropic-fermat-lean-autoformalization-2026) showed Lean as the checker for model-written proofs. [Claude verifying 123 libraries](/blog/claude-formal-verification-123-libraries-fuzz-tests-proofs-2026) pushed the same idea into software. A model proposes, a machine checker disposes.

If you want to reproduce the check, the README gives the commands, and the cost is real: with elan installed, run `lake exe cache get`, `lake build` and `lake env lean scripts/PrintAxioms.lean` in the lattices folder. The build takes a little over an hour on 12 cores with 12 GB of memory and 21 GB of disk. The README also warns that building downloads the Lean toolchain and Mathlib, and compiling Lean runs tactics and macros with your user's rights, so use a disposable container.

## What a builder does Monday

CIRG's recommendations are the checklist:

1. **Keep migrating.** Delaying post-quantum adoption keeps you on systems that fall to far smaller quantum machines than this attack needs.
2. **Pick the highest security level you can afford** when adopting ML-KEM or ML-DSA.
3. **Prefer hybrids** that combine schemes with different mathematical foundations.
4. **Make algorithms replaceable.** CIRG asks for agile systems where one scheme can be swapped quickly. Concretely, find every place your code hardcodes a key-exchange or signature algorithm name and move it behind configuration.
5. **Do not act on rumor.** Cloudflare notes the paper arrived amid rumors about the reliability of "virtually all cryptography." Read the statements, not the posts about the statements.

Where this breaks: agility costs interoperability testing, and hybrids add handshake size. Neither is new, but this is the week to budget for them.

## Who wins and loses

Winners are teams that already treat algorithm choice as configuration, and vendors with working hybrid deployments. Losers are teams that waited for a "final" answer: CIRG's point is that there will not be one, only a moving security margin. Cloudflare adds that AI changes how quickly we learn a scheme's exact security level, not whether it is secure.

## What people are actually saying

The [Hacker News thread](https://news.ycombinator.com/item?id=50707834) was at 717 points when read. The mood is skeptical of the drama. Several commenters call it another galactic algorithm with no practical consequence, and one calls the week "FUD ending in a nothingburger." One asks why 21 top cryptographers and an incident review group were assembled for something this far from practical.

The counter-case came from a commenter who argued the result is more interesting than it looks, because post-quantum schemes were supposed to be the safe option and structured lattices are the weakest of them. Another noted that Anthropic's own AI apparently failed to improve the attack beyond what is published, which makes further improvements uncertain either way, and a third expects follow-up statements as later results are disclosed under coordinated disclosure. I paraphrased these from the thread; check the comments for the exact wording.

## Continue Reading

- [Claude Mythos cryptographic weaknesses](/blog/claude-mythos-cryptographic-weaknesses-hn-analysis) - the earlier HAWK and AES results and the HN reaction
- [Anthropic's Fermat proof in Lean](/blog/anthropic-fermat-lean-autoformalization-2026) - model-written proofs checked by a machine
- [Claude and formal verification across 123 libraries](/blog/claude-formal-verification-123-libraries-fuzz-tests-proofs-2026) - the same checker pattern applied to software
- [OpenAI's ten advances in mathematics](/blog/openai-ten-advances-mathematics-lean-2026) - the other lab's Lean-backed claims
- [What is Claude Mythos 5](/blog/what-is-claude-mythos-5-who-is-it-for) - the model family behind the earlier crypto work

## Sources

- [Anthropic formal-math, lattices](https://github.com/anthropics/formal-math/tree/main/lattices) - Anthropic repository README, commit of November 30, 2026; read in full
- [Initial Assessment of Anthropic's Findings on Lattice Cryptography](https://cirg.org/statements/1/) - CIRG statement; read in full
- [Post-quantum cryptography is still safe](https://blog.cloudflare.com/pq-is-still-safe/) - Cloudflare, December 1, 2026; read in full
- [Hacker News discussion](https://news.ycombinator.com/item?id=50707834) - community thread, top comments read
]]></content:encoded>
      <pubDate>Tue, 01 Dec 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>News</category>
      <category>Anthropic</category>
      <category>Cryptography</category>
      <category>Post-Quantum</category>
      <category>Hacker News</category>
      <category>AI Research</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/codex-encrypts-multi-agent-prompts/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Anthropic Just Hit the Brakes on Its Next AI Model]]></title>
      <link>https://www.developersdigest.tech/tutorials/V3T3WrgB8Y0</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/V3T3WrgB8Y0</guid>
      <description><![CDATA[Anthropic just delayed pretraining its next model by at least six weeks, on purpose. In "We Must Pace the Frontier, Part 2", Dario Amodei says the delay was not caused by any incident: it buys time to...]]></description>
      
      <pubDate>Mon, 30 Nov 2026 16:01:55 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/V3T3WrgB8Y0/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[OpenAI's 10,000 Agent Swarm Cost $20 Million. More Agents Won't Make It Smarter]]></title>
      <link>https://www.developersdigest.tech/tutorials/oQga-CXAN8c</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/oQga-CXAN8c</guid>
      <description><![CDATA[OpenAI's 10,000 agent swarm cracked a version of Navier-Stokes in 88 hours for about $20 million. Toby Ord (Oxford) ran the numbers from OpenAI's own charts: 16x the agents only buys what one agent ge...]]></description>
      
      <pubDate>Mon, 30 Nov 2026 13:47:21 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/oQga-CXAN8c/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Did Anthropic's AI Just Break Cryptography? 21 Experts Won't Say Yet]]></title>
      <link>https://www.developersdigest.tech/tutorials/11gHiyeJv4A</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/11gHiyeJv4A</guid>
      <description><![CDATA[Did Anthropic's AI just break cryptography? Not that anyone has announced. But 21 of the world's top cryptographers, including Dan Boneh, Matthew Green and Nadia Heninger, just formed the Cryptography...]]></description>
      
      <pubDate>Mon, 30 Nov 2026 00:53:47 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/11gHiyeJv4A/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Anthropic Delays Its Next Model Six Weeks: Why It Matters]]></title>
      <link>https://www.developersdigest.tech/blog/anthropic-delays-next-model-pace-the-frontier-part-2</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/anthropic-delays-next-model-pace-the-frontier-part-2</guid>
      <description><![CDATA[Dario Amodei's Pace the Frontier Part 2: a six-week pretraining delay, a 14-day RSI waiting period and five principles for AI law. Who it helps and hurts.]]></description>
      <content:encoded><![CDATA[
Anthropic has pushed back pretraining of its next frontier model by at least six weeks, from November to January, to harden weight security and improve alignment. Dario Amodei announced it today in [We Must Pace the Frontier, Part 2](https://darioamodei.com/post/we-must-pace-the-frontier-part-2), alongside a 14-day rule on using new models to build the next ones and five principles he wants written into law. For developers, the short version: the next Claude generation lands later than it would have, and Anthropic is now openly asking regulators to make every other lab slow down too.

**Last updated:** November 30, 2026

Watch the Short on YouTube: https://youtube.com/shorts/V3T3WrgB8Y0

This post will be updated as details are confirmed.

<tweet url="https://x.com/DarioAmodei/status/2127395811915145423" author="Dario Amodei" handle="DarioAmodei" date="Nov 30, 2026" note="Dario's own summary of the essay. It states the delay; it does not show what the delay changes inside Anthropic.">
In We Must Pace the Frontier, I argued that we need to slow the pace of AI progress enough for safety to keep up. I’ve now written a second part that lays out five principles for AI legislation, including a speed limit on recursive self-improvement to make sure humans stay in the loop of AI development. I also describe some of the steps Anthropic has taken on its own, in the hope that they’ll be useful to others. For example, we’ve delayed pretraining of our next model by at least six weeks to improve its security and alignment.
</tweet>

The post is a teaser. The essay carries the detail, and the detail is where the strategy shows.

## What Anthropic actually committed to

Everything below comes from [the essay](https://darioamodei.com/post/we-must-pace-the-frontier-part-2):

| Move | What it is |
| --- | --- |
| Pretraining delay | Next model's pretraining moved from November to January, at least six weeks. Not triggered by any incident. Extended if January's security and alignment bar is not met. |
| 14-day waiting period | For 14 days after training a frontier-advancing model, it is not used for research that improves future models' capabilities. Safety and security work is exempt. |
| Staff shift | Dozens of engineers already moved from RL, pretraining and inference to alignment, security and safeguards, and over 100 more moving now. |
| Security work | Restricted clusters for the most sensitive models, over 18,000 internal security issues fixed, third-party dependencies being replaced with in-house code. |

The five principles for legislation are: Risk Assessment Requirements, Testing and Auditing, Embedded Evaluators with Employee-Like Access, A Speed Limit to Prevent Full RSI, and Pacing the Frontier. The speed limit is the new idea. Dario proposes a legal waiting period of roughly 60 to 90 days before a much more capable model can be used to improve its successors, so humans stay in the loop. The 14-day internal rule is the experiment version. We covered why that loop matters in [what Fable 5 and Anthropic's own data say about recursive self-improvement](/blog/recursive-self-improvement-fable-5).

On preemption, he wants any federal law to be "a floor rather than a ceiling on the strength of safety regulation", with states free to go further.

## The angle: who wins and who loses from a voluntary delay

The essay itself notes that US frontier labs are rarely more than a few months apart. In that race, six weeks is a real chunk of lead time. So who benefits?

- **Loses, short term: Anthropic.** Six weeks of frontier pretraining is ceded to OpenAI, Google and others. The essay says smaller internal R&D continues, which recovers some but not all of it. Developers on Claude get the next generation later.
- **Wins: competitors, for now.** Any lab that does not pause gets a window. That is exactly the defection problem Dario names: one lab skipping the rules is enough to put the public at risk.
- **Wins, if it works: Anthropic's policy position.** A lab that has already paid the cost can argue that a mandatory pace is survivable. The delay is a costly signal aimed at Congress, not at customers.
- **Wins: regulators and evaluators.** The proposals hand a qualified agency power to block training runs and to require embedded evaluators with near-employee access, modeled on bank supervision.

The second-order effect is the pressure. Every other frontier lab now gets asked the same question on its next launch: did you wait 14 days, did you do an internal risk assessment, did you delay anything? Dario's essay points to OpenAI already doing internal-use risk assessments and praises its [perplexity-based capability measure](/blog/openai-one-number-predicts-ai-capabilities) as a possible yardstick. That is a playbook for turning voluntary steps into an industry baseline, then into law. It echoes [Demis Hassabis's call for a frontier standards body](/blog/demis-hassabis-frontier-ai-standards-body), from a different direction.

## Where it breaks

Most of the steps are labelled experiments, not permanent commitments. The 14-day window is far shorter than the 60 to 90 days proposed for law. Nothing here binds any other lab, and the legislative path is open-ended: Dario says he does not yet know what is politically feasible. If competitors simply keep shipping, the delay is a cost with no matching move. We looked at the same tension in [Dario's FAA-style regulation pitch](/blog/dario-amodei-ai-exponential-what-faa-style-regulation-means-developers).

## What people are actually saying

The [Hacker News thread](https://news.ycombinator.com/item?id=50699609) (72 points within about two hours) is overwhelmingly skeptical. No Reddit thread had picked it up when we checked.

- **The dominant read is regulatory capture.** Several commenters see embedded evaluators and capability thresholds as rules that lock in the incumbents who can afford them, despite the essay's claim that the rules target frontier labs only.
- **The race objection.** One commenter mocks the speed limit on the grounds that other actors will not comply, which is the defection problem the essay itself raises.
- **Trust in the messenger.** Many replies say they discount anything a frontier lab CEO says about safety because of the money involved, and one argues that if Dario believed the risk he would stop building.
- **The counter-case.** A few commenters call the proposals reasonable, and one argues the current pace is already too fast for people to absorb. Another commenter flagged the line about replacing third-party dependencies with Claude-built internal software as the more practical signal.

## The takeaway

If you build on Claude, plan for the next frontier model to arrive later than the usual cadence would suggest, and watch whether January brings an extension. If you follow AI policy, the speed limit on recursive self-improvement is the proposal to track. The real test is whether any other lab matches the delay before a law forces it.

## Continue Reading

- [Recursive Self-Improvement: What Fable 5, Dario's Essay, and Anthropic's Own Data Actually Tell Us](/blog/recursive-self-improvement-fable-5) - the loop the 14-day rule is meant to slow.
- [Demis Hassabis Wants a Frontier AI Standards Body](/blog/demis-hassabis-frontier-ai-standards-body) - DeepMind's version of shared rules for frontier labs.
- [The One Number That Predicts What AI Can Do Next](/blog/openai-one-number-predicts-ai-capabilities) - the OpenAI metric Dario floats as a capability yardstick.
- [Dario Amodei Wants FAA-Style AI Regulation](/blog/dario-amodei-ai-exponential-what-faa-style-regulation-means-developers) - the earlier regulation pitch and its open questions.
- [The Dario Paradox: Warning About the Exponential While Shipping It](/blog/dario-paradox-warning-and-shipping-fable-5) - the tension the HN thread keeps coming back to.

## Sources

- [We Must Pace the Frontier, Part 2](https://darioamodei.com/post/we-must-pace-the-frontier-part-2): Dario Amodei's essay, November 30, 2026. All facts and the one quote above (primary)
- [Dario Amodei on X](https://x.com/DarioAmodei/status/2127395811915145423): announcement post, November 30, 2026 (primary)
- [We Must Pace the Frontier](https://darioamodei.com/post/we-must-pace-the-frontier): the September essay this one builds on (primary)
- [Axios: Amodei essay on pacing AI and the delay](https://www.axios.com/2026/11/30/amodei-new-essay-pacing-ai-delay): press coverage; not used for any fact above
- [Anthropic Just Hit the Brakes on Its Next AI Model](https://youtube.com/shorts/V3T3WrgB8Y0): the Developers Digest Short
- [Hacker News: We Must Pace the Frontier, Part 2](https://news.ycombinator.com/item?id=50699609): community discussion, read about two hours after posting
]]></content:encoded>
      <pubDate>Mon, 30 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>AI Safety</category>
      <category>AI Policy</category>
      <category>Frontier Models</category>
      <category>Shorts</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/anthropic-delays-next-model-pace-the-frontier-part-2/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Your AI Agents Are Paying Twice to Read the Same Thing]]></title>
      <link>https://www.developersdigest.tech/tutorials/B1JKQGwgbSs</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/B1JKQGwgbSs</guid>
      <description><![CDATA[Every time one AI agent hands work to another, you pay to read the whole thing again. Ramp Labs just showed a way to skip that, and it gets models answering up to four times faster.

The three points:...]]></description>
      
      <pubDate>Sat, 28 Nov 2026 16:09:50 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/B1JKQGwgbSs/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Your AI Agent Needs to Sleep On It]]></title>
      <link>https://www.developersdigest.tech/tutorials/a4CRUccyVsY</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/a4CRUccyVsY</guid>
      <description><![CDATA[Claude Duet, Instinct, Dots, Grok Bot: the new always on agents all have one trick in common. They dream. Anthropic just showed why it matters.

The three points:
1. The problem. An agent writes notes...]]></description>
      
      <pubDate>Fri, 27 Nov 2026 15:14:47 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/a4CRUccyVsY/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[MCP Just Turned Two. Now Your Server Can Teach Claude.]]></title>
      <link>https://www.developersdigest.tech/tutorials/WTXJilvK_j0</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/WTXJilvK_j0</guid>
      <description><![CDATA[MCP just turned two, and your MCP server can now teach Claude how to use it. Remember Uber's million agent skills? With over a hundred MCP tools, their tool definitions ate fifty to seventy thousand t...]]></description>
      
      <pubDate>Fri, 27 Nov 2026 12:47:56 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/WTXJilvK_j0/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[AI Labs Say Their Best Models Are Too Powerful to Release]]></title>
      <link>https://www.developersdigest.tech/tutorials/-xwVFEEqzhw</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/-xwVFEEqzhw</guid>
      <description><![CDATA[Employees at OpenAI and Anthropic now say their best models may be too powerful to ever release. That's per a new Axios scoop, built on more than two dozen sources.

The three points:
1. The gap. Both...]]></description>
      
      <pubDate>Fri, 27 Nov 2026 00:17:33 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/-xwVFEEqzhw/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory]]></title>
      <link>https://www.developersdigest.tech/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026</guid>
      <description><![CDATA[Addy Osmani of Anthropic and Manish Kapur of Sonar on going from 2,500 to 30,000 merged changes a day: light vs dark software factories, evidence-based review and earned autonomy.]]></description>
      <content:encoded><![CDATA[
Anthropic went from merging about 2,500 code changes a day in May 2026 to more than 30,000 a day by September. At an AI Engineer session hosted by Manish Kapur of Sonar, Addy Osmani, who joined Anthropic after about fourteen years at Google and works on the Claude Code developer experience, explained what review looks like at that volume.

It is a short conversation, but it is one of the clearest public descriptions of how Anthropic thinks about review when agents write most of the code.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/AnsXWH2_EBU" title="How Anthropic Merges 30,000 Code Changes a Day - Manish Kapur, Sonar and Addy Osmani, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [How Anthropic Merges 30,000 Code Changes a Day](https://www.youtube.com/watch?v=AnsXWH2_EBU), Manish Kapur (Sonar) and Addy Osmani (Anthropic), AI Engineer. Survey figures cited are Sonar's and CircleCI's, as presented in the talk.*

---

## The Gap: Writing Is Fast, Merging Is Not

Kapur opens with an industry snapshot. CircleCI analyzed 28 million CI workflows this year and found throughput up about 59%, yet roughly three in ten attempts to merge into production fail. Sonar's upcoming State of Code survey of over a thousand developers adds that most organizations now use coding agents, that a large majority of developers say code arrives faster than they can verify it, and that PRs are getting larger and more complex.

The framing that follows: **writing code is the solved, fast part. Confidence is the scarce part.**

## Light Factories and Dark Factories

Osmani defines a software factory as "harnessing loops at scale," from their essay [Software Factories, Light and Dark](https://addyosmani.com/blog/software-factories/):

- **A lights-on factory:** agents help plan, build, check and ship, again and again, but a person applies judgment and taste inside the loop.
- **A dark factory:** like a robotic car plant, agents scope, build and check continuously, and the person moves out to intent and is only pulled in for real exceptions.

Most teams are somewhere on that spectrum. How far toward dark you can go depends on how much verification the agents can generate to earn your trust. Their forecast in the lightning round: by the end of 2027, most teams will run **light factories with some dark corners.** Kapur guessed Anthropic itself would get there sooner.

## How Review Works at Anthropic

Osmani walked through the workflow:

1. **Claude does a first-pass review** of every change, and crucially it can **try the experience like a real user**: end-to-end tests, opening the app in a browser, running tools and linters, whatever builds confidence.
2. **Hooks run on edits** and study diffs, so when a bug or gap is found the PR is corrected in a tight loop.
3. **Anthropic's code review product** automates as much of review as possible, and the team uses it internally.
4. **Taste is codified** in shared files like CLAUDE.md and AGENTS.md so the reviewing agent can consult the team's standards.
5. **People review evidence, not diffs.** For a UI change, that might be a video of the agent clicking through the feature in a browser, or screenshots across mobile and desktop.

They also mentioned that the recent claude.ai refresh, which Anthropic says roughly tripled its performance, involved about 3,000 pull requests landed in a short window by engineers, designers and other functions.

The key line for practitioners: when you tell people to "verify the work," their next question is "what does that mean?" Osmani's specific answer is **end-to-end tests, property-based tests and visual verification tests**, the kinds that give enough confidence to merge automatically. If you have correct-and-complete checks in place, they say, the quality of agent output can improve two to three times. We cover the same pattern in [Claude Code's team verification system](/blog/claude-code-team-verification-system-evidence-not-diffs-2026), and Lydia Hallie lays out the Claude Code mechanics in [rethinking Claude Code best practices](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026).

```mermaid
%% title: Evidence-based review loop
flowchart TD
  A[Agent opens PR] --> R[Claude first-pass review, tries it like a user]:::emphasis
  R --> H[Hooks fix gaps on each edit]
  H --> E[Evidence: tests, screenshots, video]
  E --> P{Human reviews evidence, scaled by risk}
  P --> M[Merge]
```

## Layered Verification

Kapur described Sonar's view of **multi-layered, zero-trust verification** in every loop, whether inside the agent loop, in CI or during maintenance:

1. A **deterministic layer** for known bug and security patterns like SQL injection and buffer overflows.
2. An **agentic review layer** for logic and intent problems that deterministic tools are poorly suited to catch.
3. A **supply chain layer** for CVEs, malware and malicious packages.

Each layer is tuned for one class of problem. That split is a useful way to audit your own pipeline: if all your verification is agentic, you are paying a model to catch what a linter would catch for free; if it is all deterministic, intent bugs walk straight through.

## Control, Permissions and the Sandbox

Osmani described a pattern they have seen at many companies: teams were told to experiment with agents, and a few months later there were hundreds or thousands of agents touching systems and data, maybe deploying to production, with nobody sure what they were doing. The three things enterprises now ask about most are **control, permissions and the sandbox**, plus agent identity and telemetry. Sonar calls its version "guide rails" rather than guardrails. For a concrete implementation, see Sachin Malhotra's [budget, not a token](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026) talk.

## Lightning Round Answers

- **Should agent-written code be labeled in the PR?** Both said yes. Osmani noted Anthropic has moved past pride of authorship: they do not mind Claude being labeled as the author because the focus is outcomes, and labels help decide which extra checks apply. But accountability stays human: if they kicked off the Claude run, they are on the hook if it breaks. Kapur added auditability for regulated industries.
- **One skill to build this year?** For leaders: push your team to define what verification means, and measure the gap between today's testing and the point where agents can sign off on merges. For juniors: get hands-on experience with every flavor of test, from end-to-end to property-based.
- **When is an agent's PR safe to merge?** When you have full confidence nothing will go wrong, or you have mitigated the risk as much as possible.

## Our Take

The headline number is 30,000, but the operating principle is **autonomy is earned by verification.** Anthropic did not get to that volume by reviewing faster. It got there by making agents produce evidence (tests that exercise the real experience, recordings, screenshots) and having humans judge the evidence, with review depth scaled to risk.

If your team wants to move toward a darker factory, the order of operations from this talk is clear: codify your standards where agents can read them, invest in end-to-end, property and visual tests, layer deterministic and agentic checks, and only then turn on auto-merge for the lowest-risk changes. Our earlier piece on [why software factories fail without harness engineering](/blog/software-factories-fail-harness-engineering) covers what happens when teams skip those steps.

---

## FAQ

### How many code changes does Anthropic merge per day?

According to Anthropic, about 2,500 a day in May 2026 and more than 30,000 a day by September 2026.

### What is a dark software factory?

A setup where agents continuously scope, build and check software, and humans focus on intent and only handle exceptions. A lights-on factory keeps human judgment inside the loop.

### What tests matter most for merging agent code automatically?

Addy Osmani pointed to end-to-end tests, property-based tests and visual verification tests, since they build enough confidence to merge without line-by-line review.

## Sources

- [How Anthropic Merges 30,000 Code Changes a Day - video](https://www.youtube.com/watch?v=AnsXWH2_EBU)
- [Software Factories, Light and Dark](https://addyosmani.com/blog/software-factories/) - Addy Osmani
- [Human judgment doesn't leave the software factory. It relocates.](https://addyosmani.com/blog/human-judgment-doesnt-leave-the-software/) - Addy Osmani
- [Agent Skills](https://github.com/addyosmani/agent-skills) - Addy Osmani's reusable engineering workflows

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Why Software Factories Fail Without Harness Engineering](/blog/software-factories-fail-harness-engineering)
- [Claude Code's Team Verification System](/blog/claude-code-team-verification-system-evidence-not-diffs-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Code Review</category>
      <category>Software Factories</category>
      <category>Verification</category>
      <category>AI Engineer</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/terminal-map-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale]]></title>
      <link>https://www.developersdigest.tech/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026</guid>
      <description><![CDATA[Gagan Bhat and Isabella He of Anthropic's Applied AI team on how agent surfaces evolved, why harness fixes become dead weight, and the latency and security wins of decoupling.]]></description>
      <content:encoded><![CDATA[
Gagan Bhat and Isabella Kai He are members of technical staff on Anthropic's Applied AI team, which sits between product, research and go-to-market and builds agents with enterprise customers. Their AI Engineer World's Fair 2026 talk traces three years of agent surfaces, from the Messages API to Claude Managed Agents, and explains the engineering lessons behind the latest one.

If you are deciding which Anthropic surface to build on, this is the clearest map of the tradeoffs.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/K0X9QDRkIdg" title="Anthropic's Applied AI team on the Evolution of Agentic Surfaces" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Anthropic's Applied AI team on the Evolution of Agentic Surfaces](https://www.youtube.com/watch?v=K0X9QDRkIdg), Gagan Bhat and Isabella Kai He, AI Engineer World's Fair 2026.*

---

## Questions, Then Tasks, Then Outcomes

Bhat's framing: as capability grew, the work we hand models went from **questions** (simple Q&A) to **tasks** (delegated chunks of work) to **outcomes** (the agent owns the result). Each step needed a new surface.

## Three Surfaces, and What Each Leaves to You

**Messages API** (launched alongside Claude 3): tokens in, tokens out. As tasks got longer, every customer ended up hand-building an agent loop (call Claude, run tools, manage context) and then all the production infrastructure around it. The loop turned out to be surprisingly hard to maintain.

**Claude Agent SDK:** packages the Claude Code harness, with a built-in loop, file system access, tools and sandboxing primitives. You embed it in your product, but you still own credentials, hosting, scaling and more. Our comparison: [Claude Agent SDK vs Claude Code](/blog/claude-agent-sdk-vs-claude-code).

**Claude Managed Agents:** you own the product, the task, your context and domain knowledge. Anthropic runs the brain (the loop, Claude, and the harness improvements) plus just-in-time sandboxes and the production infrastructure.

Bhat's list of the infrastructure questions teams were spending their time on is a good checklist even if you roll your own:

| Concern | The question |
| --- | --- |
| Hosting and scaling | Where does the agent run, how long does it live, what breaks under load? |
| Session management | Where do history and progress live, and how do many agents run concurrently? |
| File system | How does Claude create and edit files? |
| Execution isolation | Where does generated code run, and how is it kept safe? |
| Credentials | How does Claude reach sensitive systems without seeing the tokens? |
| Observability | What is actually happening inside complex orchestration? |

## Lesson 1: Harnesses Encode Assumptions That Go Stale

Isabella Kai He's core principle: **a harness encodes assumptions about what Claude cannot do on its own**, such as when to reset context or how to compact. Those assumptions must be questioned constantly because models improve.

The concrete example, also told in the [Managed Agents workshop](/blog/claude-managed-agents-workshop-ai-engineer-2026): Sonnet 4.5 had "context anxiety," wrapping up early as it neared its context limit. The team added context resets to the harness. Opus 4.5 did not have the problem, so the resets became dead weight that added latency and sometimes discarded the cache incorrectly. **When the model moves and the harness does not, the agent gets worse.**

Isabella Kai He sees the same split among enterprise customers: some harnesses are agile, others were built rigidly around older models and take weeks or months to migrate. With release cycles shortening, that is a real cost. The prescription: design for tomorrow's model capabilities, and keep components independent so each piece can be swapped while the architecture stays stable.

## Lesson 2: Decoupling Brain From Hands Cuts Latency

The first Managed Agents design ran the loop and tool execution in one container, which made tool calls easy but had limitations, including startup latency: reasoning could not begin until the container was fully set up.

After decoupling, model reasoning starts immediately while container setup runs in parallel, or is skipped entirely if a task never needs a sandbox. The team reports about **60% faster time to first token at P50 and over 90% faster at P95.** That is a benefit of the [brain-and-hands split](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026) that gets less attention than reliability, and it matters for any interactive product.

## Lesson 3: The Session Log Does Three Jobs

Customers kept asking two questions: what is my agent doing, and how does it get better over time? Both answers are the **session log**, the play-by-play event record of user messages, model responses, tool calls and results.

- Shown in a UI, it is **observability.**
- Kept as history, it feeds **memory.**
- Processed offline with **dreaming**, it updates memory so the next run is better.

## Lesson 4: Hands Can Run Anywhere

Security-conscious enterprises wanted tool execution inside their own VPC. Because the hands are decoupled, they can run anywhere. That enabled **self-hosted sandboxes**, where customers control the sandbox control plane and run tools under their own policies, and **MCP tunnels**, where private MCP servers make only outbound connections to the agent loop and are never exposed to the public internet. Details: [self-hosted sandboxes and MCP tunnels](https://claude.com/blog/claude-managed-agents-updates), and our post on [self-hosted Managed Agents](/blog/claude-managed-agents-self-hosted-2026).

## The Frontier Features: Dreaming and Outcomes

- **Dreaming** runs as a periodic batch over transcripts and the current memory state, extracting insights and reorganizing memory so the next day's sessions start smarter. Bhat sees memory and dreaming as the start of a unified memory system that will extend to organization-scale memory such as team runbooks.
- **Outcomes** let you define success criteria and failure cases as a rubric. A separate grader agent runs alongside the agent loop and keeps the agent iterating until the rubric is satisfied. See the [define outcomes docs](https://platform.claude.com/docs/en/managed-agents/define-outcomes).

## Our Take

The talk's closing claim is worth sitting with: **harnesses, not models, have become the limiting factor** on what products deliver. That is a strong argument for buying rather than building your harness if you are not prepared to re-evaluate it with every model release.

If you do build your own, take the two most concrete lessons: audit your harness for workarounds that newer models no longer need, and separate reasoning from execution so you can start thinking before the sandbox is ready. The [Managed Agents vs LangGraph vs DIY](/blog/managed-agents-vs-langgraph-vs-diy-2026) comparison lays out when each path makes sense.

---

## FAQ

### What is the difference between the Messages API, Agent SDK and Managed Agents?

The Messages API is tokens in and out, so you build the loop and infrastructure. The Agent SDK gives you Claude Code's harness to embed but you host it. Managed Agents runs the harness, sandboxes, sessions, credentials and observability for you.

### Why do agent harnesses need regular updates?

They encode workarounds for model limitations. When a new model no longer has the limitation, like Sonnet 4.5's context anxiety that Opus 4.5 did not share, the workaround becomes overhead that can hurt performance.

### How much faster is time to first token after decoupling the harness from the sandbox?

Anthropic reported about 60% faster time to first token at the median and over 90% faster at P95, because reasoning starts while the container is still being prepared.

## Sources

- [Anthropic's Applied AI team on the Evolution of Agentic Surfaces - video](https://www.youtube.com/watch?v=K0X9QDRkIdg)
- [Scaling Managed Agents: Decoupling the brain from the hands](https://www.anthropic.com/engineering/managed-agents)
- [Claude Managed Agents overview](https://platform.claude.com/docs/en/managed-agents/overview)
- [Agent SDK overview](https://code.claude.com/docs/en/agent-sdk/overview)
- [Define outcomes](https://platform.claude.com/docs/en/managed-agents/define-outcomes)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Inside the Claude Managed Agents Workshop](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [Claude Agent SDK vs Claude Code](/blog/claude-agent-sdk-vs-claude-code)
- [Managed Agents vs LangGraph vs DIY](/blog/managed-agents-vs-langgraph-vs-diy-2026)
- [Claude for Long-Horizon Tasks](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Claude Managed Agents</category>
      <category>Claude Agent SDK</category>
      <category>Agent Architecture</category>
      <category>AI Engineer World's Fair</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/tools-directory-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness]]></title>
      <link>https://www.developersdigest.tech/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026</guid>
      <description><![CDATA[Anthropic Applied AI's Ash Prabaker and Andrew Wilson trace how Claude went from 20-minute runs to multi-hour builds, and the GAN-style planner, generator and evaluator harness behind their one-shot apps.]]></description>
      <content:encoded><![CDATA[
Ash Prabaker and Andrew Wilson are engineers on Anthropic's Applied AI team in London. Their AI Engineer Europe 2026 session, the first of the conference, explains what actually goes into those "we one-shotted a whole app" demos: not a secret model, but a harness. Wilson covers how Claude's primitives evolved to make long runs possible; Prabaker covers the experimental harness they use today.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/mR-WAvEPRwE" title="How to Build Agents That Run for Hours - Ash Prabaker and Andrew Wilson, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [How to Build Agents That Run for Hours (Without Losing the Plot)](https://www.youtube.com/watch?v=mR-WAvEPRwE), Ash Prabaker and Andrew Wilson, Anthropic, AI Engineer Europe 2026. Costs and durations are as reported in the talk.*

---

## Why Long Runs Fail

Wilson groups the failure modes into three buckets:

- **Context.** Every new session starts with amnesia, so the agent needs memory. Deep into a session, coherence drops (context rot), and some models showed "context anxiety," rushing to finish as the window filled.
- **Planning.** Out of the box, models try to do everything at once, build half a feature and stop, or run out of context mid-app.
- **Self-judgment.** The least intuitive one: models are bad at grading their own work. They will call a half-built feature done, or ship a button with no backend behind it.

There are two levers: the model weights and the harness around them. On the model side they pointed to METR's time-horizon measurements, which rose from about an hour for Sonnet 3.7 to around twelve hours for Opus 4.6 with a minimal scaffold. On the harness side, Anthropic tends to ship harness changes alongside each model, and the two co-evolve.

## A Year of Harness History

Wilson's tour of what shipped, compressed:

- **Claude Code research preview (Feb 2025),** explicitly an experiment to learn how developers use Claude so the models could improve.
- **Claude Code GA and the SDK,** with models better at managing their own context.
- **The Ralph loop.** Geoffrey Huntley's technique of feeding a prompt to a coding agent on repeat until tasks are done, with a planning phase and a fresh context per task. Anthropic's own Ralph plugin runs inside one session instead, using a stop hook, a max-iteration count and a completion phrase, and relies on compaction rather than fresh windows.
- **Sonnet 4.5 and Claude Code 2.0,** with context awareness, checkpoints, and the SDK renamed to the Agent SDK because it was useful far beyond coding.
- **Opus 4.5 and Haiku 4.5,** which made many sub-agents economical and made planning-with-Opus, executing-with-Sonnet practical. Skills arrived with progressive disclosure, and programmatic tool calling cut context use further.
- **The first long-running harness post,** with an initializer agent that writes a `feature_list.json`, a progress file, a git repo and an init script, then a loop that picks one failing feature per fresh session, implements it, verifies it in a browser and commits. A small detail they noted: models were less likely to overwrite a JSON feature list than a Markdown one.

Wilson's summary: the harness does not disappear as models improve. You find a gap, fill it with harness, train the model on it, and eventually delete that piece.

## The Core Idea: Do Not Let the Builder Grade Itself

Prabaker's harness borrows from GANs. A **generator** builds; a separate **evaluator** grades. They have separate context windows, separate system prompts and separate jobs. The evaluator does not just read diffs. It uses Playwright to open the live app, click around and try things, then writes a critique back to the generator.

![Adversarial Generator and Evaluator agent harness architecture with separate context windows and critique loop](/images/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026/generator-evaluator-loop.webp)

The obvious objection is that the evaluator is also an LLM, so why would it not rubber-stamp too? The answer: **tuning a standalone critic to be harsh is tractable; tuning a builder to be self-critical is not.** It is the same for people. Critiquing a meal is far easier than cooking it.

Honesty point: out of the box, Claude is a poor QA agent. Early evaluators found bugs and then excused them. Most of the work was tuning the evaluator prompt.

## Grading Taste With a Rubric

For front-end quality, "most people say you can't grade taste," but Prabaker argues you can if you write your opinion down. Their rubric has four criteria:

1. Design
2. Originality
3. Craft
4. Functionality

They weight design and originality highest, since recent models already handle functionality well, and they calibrate the evaluator with a few reference sites so its taste converges on theirs. The target is avoiding generic AI aesthetics.

One behavior only this setup produced: **pivoting.** If the generator kept scoring low on one criterion, the harness would throw the design away and start fresh, where a single-agent loop keeps patching the same thing.

## Adding a Planner and a Contract

To go from nice pages to working apps, they added a third role, a **planner**, that turns a one-line prompt into a deliberately high-level spec broken into sprints. It specifies product scope, not technical detail, because a wrong technical decision early cascades through every sprint.

Squint and it is a PM, an engineer and QA, each with its own context. The glue is the interesting part: **before building, the generator and evaluator negotiate what done means.** The generator proposes a feature and how to verify it; the evaluator pushes back on scope, weak tests and missed edge cases. They trade Markdown files on disk until both agree, and the evaluator then grades against that contract rather than the original spec.

That contract is what Prabaker calls the key thing the Ralph loop never had: someone on the other side arguing with the main loop.

```mermaid
%% title: Planner, generator and evaluator with a negotiated contract
flowchart TD
  U[One-line prompt] --> P[Planner: high-level spec and sprints]
  P --> N[Generator and evaluator negotiate a contract]:::emphasis
  N --> G[Generator builds]
  G --> E[Evaluator tests the live app with Playwright]
  E -->|critique| G
  E -->|contract met| D[Done]
```

## The Retro Game Maker

The demo prompt was just "build a retro game maker." A solo loop produced an app that looked finished: an opening screen, a sprite editor, a play mode. But in play mode the arrow keys and space bar did nothing. It looked done on the surface and failed the moment you used it.

The same prompt and model through the harness ran about six hours and cost about $200. It named itself, added a project dialog, a full palette, and an AI level assistant inside the app, which came from one vague line in the planner's spec. Play mode had a live debug HUD (clearly added to make the evaluator's job easier), working physics and collisions. The contract for that app had 27 criteria. Vague criteria give vague critiques; granular ones tell the generator exactly what to fix.

The bugs the evaluator caught were the kind that pass CI: a route-ordering bug that passed every unit test, and a delete key with a boolean logic error. Both were only found because the evaluator actually used the app.

## Simplify as the Frontier Moves

The last section is about removing harness. With Opus 4.6 they:

- **Dropped context resets.** Context anxiety was largely gone, so one continuous session with compaction was enough.
- **Relaxed sprint decomposition,** since the model could hold a two-hour build coherently.
- **Ran the evaluator at the end** of a generation rather than after every sprint.

The planner, generator and evaluator loop remains the core, with the file system as shared state. A DAW (music app) built with the simplified harness on a newer model cost roughly half as much as earlier runs. The music was bad because Claude cannot hear, but the app worked.

The lesson in their words: the harness was right for 4.5, the frontier moved, and they ran a simpler version to see what still mattered.

## Build It Yourself Today

You do not need Anthropic's internal harness. The pieces are in Claude Code:

- **Auto mode** instead of skipping permissions.
- **Custom sub-agents** for the evaluator, with a harsh system prompt and a detailed rubric.
- **Playwright MCP or Claude in Chrome** for web apps, or computer use for native apps.
- **Skills** to package grading rubrics.

## Our Take

Prabaker's five takeaways are worth copying verbatim into a team doc: self-evaluation is a trap, so use an adversarial evaluator; compaction is not coherence, so prefer structured handoffs and clean context; subjective quality is gradable if you write the opinion down; read the traces; and re-check which scaffolding to delete with each model.

"Read the traces" was their answer to almost every Q&A question too. The way they tuned the evaluator was reading what the agent did line by line, not running more experiments. Lance Martin's [long-horizon tasks talk](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026) covers the same ground from the memory and context side, and CJ Avilla and Harrison's [stall-free fleet of 1,000 agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026) covers it at scale.

---

## FAQ

### What is a generator-evaluator harness?

A long-running agent setup where one agent builds and a separate agent, with its own context and a harsh rubric, tests the live result and sends critiques back. It avoids the self-grading bias of a single agent checking its own work.

### How is this different from a Ralph loop?

A Ralph loop repeats a prompt against a fixed plan. Anthropic's harness adds a planner and, crucially, a contract the generator and evaluator negotiate before each build, so an independent agent is arguing with the main loop about what done means.

### How long and how much did the retro game maker run take?

About six hours and roughly $200, per the talk. A later simplified harness on a newer model cost about half as much for a comparable app.

## Sources

- [How to Build Agents That Run for Hours - video](https://www.youtube.com/watch?v=mR-WAvEPRwE)
- [Harness design for long-running application development](https://www.anthropic.com/engineering/harness-design-long-running-apps)
- [Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents)
- [METR task-completion time horizons](https://metr.org/time-horizons/)
- [Geoffrey Huntley: Ralph](https://ghuntley.com/ralph/)
- [Claude Code Ralph Wiggum plugin](https://github.com/anthropics/claude-code/tree/main/plugins/ralph-wiggum)
- [Playwright MCP](https://github.com/microsoft/playwright-mcp)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)

## Continue Reading

- [Claude for Long-Horizon Tasks: Lance Martin](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Long-Running Agents Need Harnesses](/blog/long-running-agents-need-harnesses)
- [Running 1,000 Agents Without Stalls](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Long-Running Agents</category>
      <category>Agent Harness</category>
      <category>Claude Code</category>
      <category>AI Engineer Europe</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/apps-ecosystem-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It]]></title>
      <link>https://www.developersdigest.tech/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026</guid>
      <description><![CDATA[Anthropic's Christopher Lovejoy and Anterior's Saul Howard on the four questions that stall enterprise agent POCs - audit, sensitive data, escalation and evals - and an event-sourced stack that answers them.]]></description>
      <content:encoded><![CDATA[
Christopher Lovejoy is a forward deployed engineer at Anthropic. Saul Howard is VP of Engineering at Anterior, which builds AI for health insurance prior authorization. Their AI Engineer World's Fair 2026 talk is about a moment most enterprise AI teams know well: the proof of concept works, everyone is excited, and then the project stops moving.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/mav15aW9lLM" title="The Enterprise Tech Stack for AI Agents - Christopher Lovejoy and Saul Howard" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [The Enterprise Tech Stack for AI Agents](https://www.youtube.com/watch?v=mav15aW9lLM), Christopher Lovejoy (Anthropic) and Saul Howard (Anterior), AI Engineer World's Fair 2026.*

---

## The POC That Stalls

The scenario they walk through is a healthcare deployment. The demo agent reads clinical records and makes a recommendation, and it does that well. Then the customer's compliance, security and operations people show up with four questions, and the POC has no good answer to any of them:

1. **Can you show us exactly what the agent did, and why?**
2. **Where does the sensitive data go?** In healthcare that means protected health information.
3. **What happens when the agent is not sure?**
4. **How do we know it is any good, on our data, over time?**

Their argument is that none of these are model problems, and none can be bolted on after the POC without a rewrite. They are architecture problems, and the answer is to design for them from the first day.

## Question 1: Audit, Answered by an Event Log

The first answer is the foundation for the rest: store everything the system does as an **immutable, append-only, timestamped log of events**. This is the event sourcing pattern Martin Fowler wrote up years ago, applied to agents.

Every model call, tool result, human edit and decision becomes an event. Current state is derived by replaying events rather than stored as a mutable row that gets overwritten. That buys two things directly:

- **Audit comes for free.** "What did the agent do and why" is a query over the log, not a forensic reconstruction.
- **Replay comes for free.** You can rerun any past case through a new model or prompt and compare.

The honest tradeoff they name: writes are easy, reads are harder. Answering "what is the state of this case right now" by replaying every event is slow, so you add snapshots and projections, which are read-optimized views built from the log. That is extra machinery, but it is well understood machinery.

## Question 2: Sensitive Data, Answered by Keeping It Out of the Prompt Path

For PHI, the design keeps sensitive objects in **schema-driven object storage adjacent to the orchestration layer**, rather than passing raw records around between components. Access happens through **zero-trust bearer tokens checked at the point of use**, in the spirit of NIST's zero trust architecture guidance: no component is trusted because of where it sits on the network.

They also name the risk the agent world has learned to worry about: Simon Willison's **lethal trifecta**. An agent that has access to private data, is exposed to untrusted content, and can communicate externally can be tricked into exfiltrating that data. The mitigation is structural: make sure no single agent session holds all three at once.

This lines up with Sachin Malhotra's argument in [give the agent a budget, not a token](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026): the controls that matter are the ones the agent cannot talk its way around.

## Question 3: Escalation, Answered by Human-Agent Equivalency

The third answer is the most interesting design idea in the talk. They call it **human-agent equivalency**: any action an LLM can take in the system, a human can take too, through the same interface to the same state.

In practice the shared context for a case maps to one of two renderings: a prompt, when an agent is working on it, or a UI, when a person is. Because both act on the same event log, escalation is not a special workflow. The agent stops, a nurse or reviewer picks up exactly where it left off with the full context, and their decision is just another event.

That symmetry also means you can move work between humans and agents gradually, case type by case type, instead of flipping a switch.

```mermaid
%% title: One event log serves the agent, the human and the eval
flowchart TD
  A[Agent action] --> L[Append-only event log]:::emphasis
  H[Human action via UI] --> L
  L --> P[Projections: current case state]
  L --> R[Replay: audit and evals]
  P --> A
  P --> H
```

## Question 4: Evals, Answered as a Byproduct

Once the first three are in place, the fourth mostly answers itself. With a full ledger of what humans and agents decided on the same kinds of cases, evals become:

- **Replay the ledger** through a candidate model or prompt.
- **Diff the agent's decisions against the humans'** on the same cases.
- **Run it on production data, inside the customer's environment,** so sensitive data never leaves.

That is a much stronger story for an enterprise buyer than a benchmark score, because it is measured on their cases. Anterior has published its approach to [bias evaluation](https://www.anterior.com/insights/bias-evaluation) along these lines. For the broader method of building evals that actually move, see Lance Martin's checklist in [your old prompts are making Claude worse](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026).

## Our Take

The key insight is that the four enterprise objections share one root cause: the POC has no durable record of what happened. An append-only event log is unglamorous, but it turns audit, escalation and evals from three separate projects into three views of the same data.

If you are building an agent for a regulated customer, the practical advice is to write the event log before you write the clever prompt. It is far cheaper to start that way than to retrofit it when the compliance review arrives. Kevin Bai's [forward deployed engineering 101](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026) covers the human side of getting those deployments over the line.

---

## FAQ

### Why do enterprise AI agent POCs stall?

According to Lovejoy and Howard, because the POC cannot answer four production questions: how to audit what the agent did, how sensitive data is protected, what happens when the agent escalates, and how quality is evaluated on the customer's own data.

### What is event sourcing for AI agents?

Storing every model call, tool result and human or agent decision as an immutable, append-only, timestamped event, and deriving current state by replaying those events. It gives audit and replay by default.

### What is human-agent equivalency?

A design rule that any action an agent can take, a human can take through the same interface on the same state, so escalation is a handoff rather than a separate workflow.

## Sources

- [The Enterprise Tech Stack for AI Agents - video](https://www.youtube.com/watch?v=mav15aW9lLM)
- [Event Sourcing - Martin Fowler](https://martinfowler.com/eaaDev/EventSourcing.html)
- [The lethal trifecta for AI agents - Simon Willison](https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/)
- [NIST SP 800-207: Zero Trust Architecture](https://csrc.nist.gov/pubs/sp/800/207/final)
- [Anterior: bias evaluation](https://www.anterior.com/insights/bias-evaluation)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Forward Deployed Engineering 101: Kevin Bai](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Agent Security Checklist Before Connecting Tools](/blog/agent-security-checklist-before-connecting-tools)
- [Using LLMs to Secure Source Code: Eugene Yan](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Enterprise AI</category>
      <category>Agent Architecture</category>
      <category>Healthcare</category>
      <category>AI Engineer World's Fair</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/terminal-map-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents]]></title>
      <link>https://www.developersdigest.tech/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026</guid>
      <description><![CDATA[CJ Avilla and Harrison Stall of Anthropic on multi-agent topologies: lessons from Unix, OS/360 and Linux, Dynamic Workflows in Managed Agents, and when to use Flows vs UltraCode.]]></description>
      <content:encoded><![CDATA[
How do you organize a thousand workers on one project without the person in charge becoming the bottleneck? Software engineering has answered that question three times in sixty years, and CJ Avilla and Harrison Stall of Anthropic open their AI Engineer workshop by walking through all three before showing how Claude now answers it for agents.

The session, about 100 minutes long, introduces multi-agent orchestration in Claude Managed Agents (shipped as Dynamic Workflows, which the speakers also call Flows) and closes with a long Q&A. Here is what matters.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/kiClTcJUnhc" title="Why One AI Agent Isn't Enough (And How to Run 1,000) - CJ Avilla and Harrison Stall, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Why One AI Agent Isn't Enough (And How to Run 1,000)](https://www.youtube.com/watch?v=kiClTcJUnhc), CJ Avilla and Harrison Stall, Anthropic, AI Engineer.*

---

## Three Ways to Build an Operating System

Avilla's history lesson is a framework for thinking about agent topologies:

1. **Unix, 1969: one person, total conceptual integrity.** Ken Thompson had a month while their family was away. They gave themself a week each for a kernel, an editor, an assembler and a shell, and came out with Unix. One mind held the whole thing.
2. **OS/360, 1960s: a thousand engineers.** IBM bet the company on a single operating system across its hardware line, estimated about 5,000 person-years, and threw up to 1,000 engineers at it. Fred Brooks wrote down the lessons in *The Mythical Man-Month*. One recommendation was the **surgical team**: one chief who holds the design, surrounded by specialists.
3. **Linux today: layers of trust.** A recent kernel release took nine weeks with contributions from more than 2,600 developers at about 300 companies. It did not start that way. In 1998 Linus Torvalds was drowning in emailed patches and threatened to go on vacation. Larry McVoy replied that the problem was that "Linus doesn't scale." By around 2002 the project had moved from a star, where everyone sends to Linus, to a network of trusted maintainers who review and only escalate the exceptional cases.

The parallel is direct. If you orchestrate many agents today and you are the one approving every PR, **you are 1998 Linus.** The fix is the same: layers of trust.

## Why a Single Agent Falls Over

Stall's version uses rough, admittedly hand-waved numbers. A single agent runs for about an hour before it loses the plot. A coordinator with one level of helpers runs a bit longer. Arbitrarily nested topologies, where agents spawn agents that collaborate, are what make genuinely hard problems tractable.

They list the pain points teams hit when hand-rolling this:

- Building and maintaining your own multi-agent harness.
- **Container restarts:** if one of 100 agents dies two hours in, how does it resume, and how do you know the state of the whole topology?
- **Coordinator overload:** one agent tracking 60 sub-agents hits the same ceiling Linus did.
- **Observability:** how do you even inspect a graph of agents? Poke each node? Route everything through the coordinator?

They also recall the post-Opus 4.5 meme of people walking around with laptops half open so Claude Code would not die, tapping "approve" in the park. That does not scale to the ambitions Anthropic has in mind.

## Dynamic Workflows in Claude Code, Then in the API

Many developers know Dynamic Workflows in Claude Code: ask Claude to do something big, and it spins up its own web of agents, using a JavaScript engine under the hood for map-reduce style work. You do not draw the topology (classifier, fan-out and synthesize, adversarial verification). You state the goal and Claude chooses how to organize itself, based on its training and capabilities. Our [dynamic workflows guide](/blog/claude-code-dynamic-workflows-guide) covers the Claude Code side.

On the Managed Agents API the evolution went:

- **Multi-agent v1 (around May 2026):** you defined each sub-agent the primary could spawn and listened to every thread yourself, like managing threads in an operating system. Powerful, but not trivial to set up.
- **Dynamic Workflows / Flows (shipped the Friday before the talk):** a lead agent writes a plan, for example "migrate my million-line monorepo from Python to Rust," then fans out automatically according to that plan.

```mermaid
%% title: From star topology to layered agents
flowchart TD
  L[Lead agent: writes the plan]:::emphasis --> A[Worker group A]
  L --> B[Worker group B]
  A --> V[Verifier]
  B --> V
  V --> L
```

### Flows vs UltraCode

The clearest answer in the Q&A was about when to use which:

- **UltraCode in Claude Code** is the interactive, one-off version: you at your terminal, watching it run.
- **Flows in Managed Agents** generalize the same methodology into a reusable, API-driven resource you can trigger on a schedule or from your own product.

Their suggested path for a new workflow (the example was generating videos): prototype interactively in Claude Code first, have Claude encode what worked into a skill, use that skill inside a Managed Agents flow, then iterate with a hill-climbing skill, which can even be human-driven by picking the better of two outputs each round.

## Q&A Details Worth Knowing

- **Nesting depth:** today Flows support one layer of nesting. Arbitrarily deep fan-outs may come later, once the safety story is locked down.
- **Self-hosted sandboxes:** Flows are fully supported there, though a few other features are not.
- **Multi-repo work:** give Claude access to the repos and they are mounted in its container. With a clean dependency graph (Bazel, for example) Claude uses it; otherwise it searches for symbols. If you have a precomputed dependency graph, upload it as a file and tell Claude where it is.
- **Private data behind a VPN:** use MCP Tunnels, which currently run over Cloudflare Tunnels, to give agents access to an internal MCP server without exposing it to the internet.
- **Event streams:** the durable event log is generic enough to build any UI: chat with expandable tool calls, generative charts for a stock watchlist, or one internal demo that used the events to explain each player's choices in a simulated game of Catan.
- **How Anthropic does recurring work:** mostly through Claude Tag, which can take a schedule in plain language ("every day at 6 AM, do this").

## Our Take

The history framing is not just a nice intro. It gives you a test for any multi-agent design: **who is Linus, and does Linus scale?** If every result flows to one coordinator, or to you, you have a star topology and it will hit a ceiling. The fix is layered trust: verifiers and sub-leads that absorb routine work and escalate only exceptions.

The other takeaway is the product split. Anthropic now offers the same orchestration idea at two levels: interactive in Claude Code and reusable on the API. Prototype in the first, productionize in the second. Lance Martin's [1,000-agent Fermat result](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026) shows how far the self-organizing end of this can go when there is a hard verifier, and the [Managed Agents workshop](/blog/claude-managed-agents-workshop-ai-engineer-2026) covers the building blocks underneath.

---

## FAQ

### What are Flows in Claude Managed Agents?

The multi-agent orchestration feature, shipped as Dynamic Workflows, where a lead agent writes a plan and automatically fans out to other agents to execute it, instead of you defining every sub-agent and thread.

### What is the difference between UltraCode and Managed Agents Flows?

UltraCode is the interactive version in Claude Code at your terminal. Flows generalize the same approach into a reusable API resource you can run on a schedule or from your own product.

### How deep can Managed Agents topologies nest?

As of the talk, one layer of nesting. Anthropic said deeper fan-outs may come once safety controls are in place.

## Sources

- [Why One AI Agent Isn't Enough (And How to Run 1,000) - video](https://www.youtube.com/watch?v=kiClTcJUnhc)
- [The Mythical Man-Month](https://en.wikipedia.org/wiki/The_Mythical_Man-Month) - Fred Brooks
- [Claude Managed Agents documentation](https://docs.claude.com)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Claude Code Dynamic Workflows Guide](/blog/claude-code-dynamic-workflows-guide)
- [1,000 Claude Agents, Git and a Database](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [Fable 5 Agent Fleet Orchestration](/blog/fable-5-agent-fleet-orchestration)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Multi-Agent</category>
      <category>Claude Managed Agents</category>
      <category>Claude Code</category>
      <category>Agent Orchestration</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/terminal-map-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[The Claude Certified Architect Exam as a Field Guide to Agentic Engineering]]></title>
      <link>https://www.developersdigest.tech/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026</guid>
      <description><![CDATA[UC Berkeley's Frank Coyle reads Anthropic's Claude Certified Architect exam as a map of production agent design: five domains, six scenarios and the anti-patterns each one tests.]]></description>
      <content:encoded><![CDATA[
Frank Coyle teaches at UC Berkeley. Their AI Engineer World's Fair 2026 talk uses Anthropic's Claude Certified Architect (CCA) exam as a lens: not "how to pass the test," but what the test says Anthropic thinks a production agent engineer needs to know. Read that way, the exam blueprint is a compact field guide to agentic engineering.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/Z-c11pV_uvU" title="The CCA Exam as a Field Guide - Frank Coyle, UC Berkeley" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Frank Coyle, UC Berkeley](https://www.youtube.com/watch?v=Z-c11pV_uvU), AI Engineer World's Fair 2026. Exam details are as described in the talk; check Anthropic's partner network page for current terms.*

---

## What the Exam Is

As Coyle describes it, the CCA launched in March 2026 alongside Anthropic's [Claude Partner Network](https://www.anthropic.com/news/claude-partner-network). It is scenario-based, timed and proctored. Individuals pay $99 and can attempt it once every six months.

It is not a trivia test about API parameters. Questions put you inside a realistic production situation and ask you to pick the design that will hold up.

## Five Domains

The blueprint weights five areas. Coyle gave the top two explicitly:

| Domain | Weight (per the talk) |
| --- | --- |
| Agentic architecture | 27% |
| Claude Code configuration | 20% |
| Prompt engineering and structured output | Remainder split across these three |
| Tool design and MCP | |
| Context management and reliability | |

The weighting itself is a signal. More than a quarter of the exam is about how agents are structured, and a fifth is about configuring Claude Code. Prompt wording is one domain among five.

## Six Scenarios, Four Per Sitting

The exam draws four scenarios at random from a pool of six production settings:

1. A customer support agent
2. Code generation
3. A multi-agent research system
4. Developer productivity tooling
5. Claude Code running in CI
6. Structured data extraction

Because you do not know which four you will get, you have to understand all six. Coyle's most useful contribution is the anti-patterns each scenario is built to catch.

## The Anti-Patterns Worth Knowing

**Ignoring why the model stopped.** An agent loop has to branch on the response's `stop_reason`. `tool_use` means run the tool and continue; `max_tokens` means the output was truncated and is not a finished answer. Treating every response as final is a classic bug. Anthropic documents this in [handling stop reasons](https://platform.claude.com/docs/en/build-with-claude/handling-stop-reasons).

**One flat CLAUDE.md for everything.** Claude Code supports [hierarchical memory files](https://code.claude.com/docs/en/memory): user-level, project-level and per-directory. Instructions belong at the level where they apply. Lydia Hallie's advice in [rethinking Claude Code best practices](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026) adds the second half: keep them to what Claude cannot see from the code.

**One agent with every tool.** Overloading a single agent with a long tool list degrades tool selection. The better pattern is specialized sub-agents with one or two tools each, coordinated by an orchestrator.

**A critic that sees everything.** In multi-agent research, a reviewer agent that reads the whole conversation tends to agree with it. Coyle's fix: give the critic only the claim and the evidence, so it judges the argument rather than joining the groupthink.

**Letting context sprawl.** Long sessions need isolation and compaction. Skills can run in a forked context (`context: fork` in a skill's frontmatter, per the [skills docs](https://code.claude.com/docs/en/skills)) so a subtask's exploration does not pollute the main thread, and long sessions should be compacted rather than allowed to fill up.

**Interactive mode in CI.** A pipeline has nobody to answer a prompt. Claude Code in CI should run non-interactively with permissions and outputs defined up front.

**Paying full price for work that can wait.** For bulk extraction or offline evaluation, the [Message Batches API](https://claude.com/blog/message-batches-api) costs half as much in exchange for results within a 24-hour window. If nobody is waiting on the answer, you should not be paying for latency.

## Loops Are Not New

Coyle's framing for the architecture domain reaches back to 1966, when Böhm and Jacopini showed that sequence, selection and iteration are enough to express any computation. An agent is a loop with a model inside it: call, check the stop reason, act, repeat. What is new is that the selection step is a model's judgment, which is why so much of the exam is about bounding and verifying that judgment.

That framing is a useful antidote to agent-framework sprawl. If you can draw your agent as a loop with clear exit conditions, you understand it. If you cannot, more framework will not help. Lance Martin's [long-horizon tasks talk](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026) covers what changes when that loop runs for hours.

## Our Take

Whether or not you sit the exam, the blueprint is a good self-audit. Run your own agent through the six scenarios and ask which anti-patterns you are shipping. The two that catch the most teams are the cheapest to fix: branch on `stop_reason`, and stop giving one agent every tool.

For a hands-on version of the architecture domain, see our write-up of the [Claude Managed Agents workshop](/blog/claude-managed-agents-workshop-ai-engineer-2026).

---

## FAQ

### What is the Claude Certified Architect exam?

A scenario-based, timed and proctored certification from Anthropic, launched in March 2026 with the Claude Partner Network. Per the talk, it costs $99 for individuals with one attempt every six months.

### What does the CCA exam cover?

Five domains: agentic architecture (27%), Claude Code configuration (20%), prompt engineering and structured output, tool design and MCP, and context management and reliability. Each sitting draws four of six production scenarios.

### What is the most common agent loop bug?

Not checking `stop_reason`. A `max_tokens` stop means truncated output, and a `tool_use` stop means the loop must run the tool and continue rather than treat the response as final.

## Sources

- [Frank Coyle on the CCA exam - video](https://www.youtube.com/watch?v=Z-c11pV_uvU)
- [Claude Partner Network announcement](https://www.anthropic.com/news/claude-partner-network)
- [Handling stop reasons](https://platform.claude.com/docs/en/build-with-claude/handling-stop-reasons)
- [Claude Code memory (CLAUDE.md)](https://code.claude.com/docs/en/memory)
- [Claude Code skills](https://code.claude.com/docs/en/skills)
- [Message Batches API](https://claude.com/blog/message-batches-api)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Rethinking Claude Code Best Practices: Lydia Hallie](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Claude Handles Long-Horizon Tasks: Lance Martin](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Claude Managed Agents Workshop](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Certification</category>
      <category>Claude Code</category>
      <category>Agent Architecture</category>
      <category>AI Engineer World's Fair</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/blog-read-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar]]></title>
      <link>https://www.developersdigest.tech/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026</guid>
      <description><![CDATA[Cat Wu and Thariq Shihipar talk with Simon Willison about Fable, Claude Tag landing 65% of product engineering PRs, why rewrites are good now, and Anthropic's culture.]]></description>
      <content:encoded><![CDATA[
Simon Willison hosted a fireside chat at the AI Engineer World's Fair 2026 with Cat Wu and Thariq Shihipar, both on the Claude Code team at Anthropic. It started with a live moment: about a minute and a half before they walked on, Fable came back online after its suspension.

The 52-minute conversation covers how their work has changed, how Anthropic uses Claude Tag internally, and which old software engineering rules no longer hold. Willison published their own [annotated version of the chat](https://simonwillison.net/2026/Jul/21/cat-and-thariq/), which is worth reading alongside the video.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/uU5Gv2h8-9g" title="Claude Fable, Claude Tag, and Anthropic's Culture - Cat Wu and Thariq Shihipar ft Simon Willison" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Claude Fable, Claude Tag, and Anthropic's Culture](https://www.youtube.com/watch?v=uU5Gv2h8-9g), Cat Wu and Thariq Shihipar with Simon Willison, AI Engineer World's Fair 2026.*

---

## From Reading Every Permission Prompt to One-Shot Features

Willison opens by noting that Claude Code launched in February 2025 as a bullet point in the Claude 3.7 Sonnet announcement, and is less than a year and a half old.

Wu remembers the early days: reading every permission prompt carefully, saying no constantly, asking whether Claude had checked this file or that one. With each model generation they have delegated more implementation and spent more time on what the user experience should be. With Fable, they say, many features can be one-shot.

Shihipar points out how fast people forget: auto mode now feels like it has always existed. Their bar has gone up instead of down. They have been using Claude to edit videos that have to meet the brand team's exacting standards in a couple of hours, or they do not ship. Willison agrees: software engineering is getting *harder*, because ambition rises faster than effort falls.

## What Conventional Wisdom No Longer Holds

### Product sense beats execution

Wu's answer: two years ago a PM would spend months talking to customers and aligning teams on a PRD, then write a full spec before any code. Now the gap between idea and working software is down from six to twelve months to as little as a week. So the scarce skill is **taste: deciding what is worth building** and what will actually move the business. Execution matters less in most product work, though infrastructure still demands getting every detail right.

### Rewrites are good now

Shihipar: the old "never rewrite" wisdom from *The Mythical Man-Month* is dead. They are pro-rewrite, with a condition: a rewrite forces you to have a good test suite. Their deeper point is that **a codebase is a spec, and often the only complete copy of it you have**, since nobody knows every branch. You can treat it as an artifact to distill into new versions.

They mentioned that Bun's Rust rewrite works well and that Anthropic is running Claude Code on the Rust build of Bun internally. For how that rewrite was done, see the [Bun Rust rewrite case study](/blog/bun-rust-rewrite-agent-fleet-case-study), and for Bun's even larger compiler project, Jarred Sumner's talk on [shipping millions of lines of agent-written code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026).

Willison adds their own twist: write a good test suite, spin up three implementations, and keep the most accurate one. They also prototype on their phone during conferences so they have something to pick up later.

## How Anthropic Uses Claude Tag

[Claude Tag](https://www.anthropic.com/news/introducing-claude-tag) had launched in Slack about a week earlier. Wu described three things that set it apart:

1. **Multiplayer by default.** Once Tag is in a channel, everyone can chime in and collaborate on the same work.
2. **Proactive, not reactive.** You can tell it something like "monitor every bug report in this channel, put up a PR to fix it, and tag the engineer who last touched that code," and it does so for the life of the channel.
3. **Team memory.** Preferences stated in the channel are remembered for everyone. In the Q&A, Shihipar said memory is currently a markdown file per channel, shared by every Claude instance in it, with sessions able to contribute back.

Then the headline number: **the internal version of Claude Tag lands 65% of Anthropic's product engineering PRs.** Wu clarified that is the product engineering team, not all of Anthropic. Internally they see Tag as the evolution of Claude Code. The split: Claude Code for the most complex tasks where you iterate interactively; Tag for proactive work you would otherwise have to kick off by hand.

Non-coding uses came up too:

- **Company search.** Before the talk they asked Tag when Fable was releasing, and it searched Slack to find out.
- **Metrics questions,** once it is hooked up to the event store.
- **Marketing questions.** Non-programmers ask about a feature, and Tag clones the repo, finds it and records a demo.

### Multiplayer sessions change behavior

A large share of internal sessions are now multiplayer. Wu's example: they ask Tag for a first pass at a Cowork feature and a recording of the result, then tags Design to nudge it, then Engineering to take it to production. They are still working out the social norms of several people steering one session, but people mostly learn by watching each other.

Shihipar noticed a side effect: public usage **reduces slop**. When everyone can see you write "@Claude fix this" with no context, you write better prompts. Willison summed it up: you want work you are proud to do in public.

## Prioritization When Building Is Cheap

On the hardest problem in engineering, deciding what to build, the team leans on dogfooding every day. When they want to do something in their own products and cannot, the default is to fix the product rather than work around it.

## What Fable Still Cannot Do

Asked what they are waiting for in the next model:

- **Wu wants better design and UX taste.** Given a detailed spec, behavior now usually comes out right, but the padding is off and the interface is not delightful. Models lean on existing app conventions, while frontier AI products need interaction patterns nobody has designed yet. Willison noted there is a recognizable "Opus aesthetic," with the cream colors, and it would be good to move past it.
- **Shihipar wants more real-world interaction,** like orchestrating scientific experiments, which needs taste about the physical world as well as code.

## Culture Hacks Worth Stealing

- **Make channels public.** Tag works best when most channels are public, because it can only search what it can see. Context is accuracy.
- **Don't negotiate against yourself.** Shihipar repeated a line they attribute to Anthropic's co-founders. It is easy to imagine tradeoffs and talk yourself out of the ambitious version. Ask where the proof is that the tradeoff is real. Willison, with 25 years of "the default answer is no," called this a full reset of their intuitions.

## The Absurd Things They Built

Shihipar is building a 2D fighting game starring themself and their friends. Claude Code prompts image and video models to generate sprite animations, checks the frames, and writes JSON hitboxes. Wu, a rock climber, built an app for them climbing group and uses Claude Code workflows for trip research: destinations with direct flights for everyone, climbs at their grade, places to stay, and short approach hikes. Willison called it "vibe coding Jira for mountain climbing."

## On Evals

Asked whether Anthropic will ship more eval tooling, Wu said the constraint is usually not tooling. It is that building a high-quality eval takes customers a long time and real skill. Anthropic wants to share more best practices there.

## Our Take

The 65% figure is the number to remember, and it is less about Slack than about where work starts. If most PRs on a world-class product team are now opened by a proactive, shared agent rather than by an engineer starting a session, the unit of engineering work is shifting from "a task I do with an agent" to "an area the agent owns, which people steer."

The practical advice that transfers to any team: make context public so agents can see it, do agent work in shared spaces where quality is visible, and treat your codebase as a spec you can regenerate when you have the tests to back it.

---

## FAQ

### How much of Anthropic's code does Claude Tag write?

Cat Wu said the internal version of Claude Tag lands 65% of the product engineering team's PRs. That figure is for product engineering, not all of Anthropic.

### How does Claude Tag memory work?

Per Thariq Shihipar, memory is channel-specific: a markdown file per channel shared by every Claude instance in it, which sessions can add to.

### What is the difference between Claude Code and Claude Tag?

Anthropic uses Claude Code for complex, interactive work and Claude Tag for multiplayer, proactive work in Slack, such as monitoring a bug channel and opening fixes automatically.

## Sources

- [Claude Fable, Claude Tag, and Anthropic's Culture - video](https://www.youtube.com/watch?v=uU5Gv2h8-9g)
- [Simon Willison's annotated fireside chat](https://simonwillison.net/2026/Jul/21/cat-and-thariq/)
- [Introducing Claude Tag](https://www.anthropic.com/news/introducing-claude-tag)
- [Claude Fable 5 and Claude Mythos 5](https://www.anthropic.com/news/claude-fable-5-mythos-5)
- [Claude 3.7 Sonnet and Claude Code](https://www.anthropic.com/news/claude-3-7-sonnet)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Claude Tag as an Agent Workspace](/blog/claude-tag-slack-agent-workspace)
- [Claude Tag API and Slack Channel Settings](/blog/claude-tag-api-slack-channel-settings-2026)
- [A Field Guide to Fable: Thariq Shihipar](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Claude Tag</category>
      <category>Claude Fable</category>
      <category>Claude Code</category>
      <category>AI Engineer World's Fair</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/tools-directory-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming]]></title>
      <link>https://www.developersdigest.tech/blog/claude-managed-agents-workshop-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/claude-managed-agents-workshop-ai-engineer-2026</guid>
      <description><![CDATA[What Anthropic's Managed Agents team taught in their two-hour AI Engineer workshop: why the first architecture failed, the core APIs, multi-session orchestration and dreaming.]]></description>
      <content:encoded><![CDATA[
Priyanka Phatak leads the engineering team that builds Claude Managed Agents. Gabe Cemaj works on it with them. At the AI Engineer World's Fair 2026 they ran a two-hour workshop, published as four videos, that goes from "what is an agent" to multi-session orchestration, scheduled deployments and a preview of dreaming. The conference Wi-Fi did not cooperate with the hands-on part, but the content holds up.

This is our condensed guide to all four parts, with the ideas worth keeping and the details that are easy to miss in the Q&A.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/Uv0nAf_7tyU" title="Decoupling the Brain from the Hands: Claude Managed Agents (Part 1 of 4)" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Sources, all from AI Engineer World's Fair 2026: [Part 1: Decoupling the Brain from the Hands](https://www.youtube.com/watch?v=Uv0nAf_7tyU), [Part 2: Build a Research Agent](https://www.youtube.com/watch?v=FGftGOzfohc), [Part 3: Scheduled Agents, Dreaming and Q&A](https://www.youtube.com/watch?v=qJtcEDc_WJU), [Part 4: Evals, CI/CD and Multi-Tenancy](https://www.youtube.com/watch?v=QSeaZ6qHyXs). Speakers: Priyanka Phatak and Gabe Cemaj, Anthropic.*

---

## Agent, Harness, Sandbox

Phatak starts with three definitions that are worth stating precisely because people use them loosely:

- **Agent:** a model in a loop with tools, deciding the next action until the task is done.
- **Harness:** the layer around the model that runs the loop, manages context, and encodes assumptions about what the model *cannot* do.
- **Sandbox:** the computer where the agent's untrusted code actually runs. One task per container, to keep the blast radius small.

Their example of a harness assumption is a good one. Sonnet 4.5 had what the team called "context anxiety": as it neared the context limit, it rushed to wrap up. Harnesses built for Sonnet 4.5 added context resets to work around it. Opus 4.5 did not have the problem, so the workaround became dead weight. **Every harness carries model-specific assumptions that go stale with each release,** and keeping up with that is one of the main things a managed harness sells you. We made a similar argument in [what is an agent harness](/blog/what-is-an-agent-harness-2026).

## Why the First Architecture Was a Pet

The first version, shipped to early-access customers in December 2025, put everything in one container: the session log, the harness and the sandbox. The upside was simplicity. No service boundaries, and file edits were just syscalls.

The downside was the classic infrastructure "pets versus cattle" problem. A pet is a named, hand-tended machine; when it gets sick you nurse it back. Cattle are interchangeable; when one fails you replace it. A container that holds the only copy of a long session is a pet. If it dies, the work dies.

The rebuild virtualized the pieces behind interfaces "all the way down," as Cemaj put it in Part 2: the harness, the sandbox and even the event storage layer are separate components, so each can fail, scale or be swapped independently. Lance Martin covers the same architecture from a product angle in [their long-horizon talk](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026), and Anthropic's engineering post [Decoupling the brain from the hands](https://www.anthropic.com/engineering/managed-agents) is the canonical write-up.

## The Core APIs in Four Steps

The no-code part of the workshop used the console quick start at platform.claude.com, but the underlying objects are the same ones you call from code:

1. **Environment.** A template for the sandbox: networking (unrestricted, or limited to specific domains and MCP servers) and packages to install. Dependencies are installed at creation time and cached across sandbox restarts. They must come from public registries like npm, Cargo or PyPI, though you can upload files or attach GitHub repos to a session.
2. **Agent.** A name, a model, a system prompt and tools. The built-in agent tool set covers the basics (bash, read, write, grep and so on) that almost every agent needs.
3. **Session.** An agent plus an environment. This is your unit of work. It starts idle and does nothing until you send an event.
4. **Events.** You send `user.message` events and read back what the agent emits. Custom tools appear as a tool-use event you handle yourself and answer with a result. There are also error, idle and interrupt events.

For exact request shapes, use the [Managed Agents docs](https://docs.claude.com) rather than anything reconstructed from a talk. The point here is the mental model: environment, agent, session, event stream.

```mermaid
%% title: The Managed Agents object model
flowchart TD
  E[Environment: sandbox template] --> S[Session: unit of work]:::emphasis
  A[Agent: model, prompt, tools] --> S
  S --> EV[Event stream: messages, tool calls, status]
```

## From Chat to Map-Reduce

Cemaj's hands-on section built a financial research desk with Claude Code and a workshop skill checked into the repo, so attendees could replay it later. The progression is a useful template for any agent product:

1. A custom chat interface over one session.
2. Multi-agent: the main agent delegates to sub-agents.
3. Skills: a skill that fetches and analyzes SEC filings for a ticker.
4. Long-running asynchronous tasks.
5. **Multi-session orchestration:** you ask "analyze Google and Microsoft," and a custom tool fans out one session per company. Each of those sessions has its own sub-agents, its own outcome definition for self-supervision, and shared memory stores.
6. **Deployments:** recurring sessions on a schedule, with an agent definition, initial messages and resources like memory stores, repos or files.

Step 5 is the one to study. The harness gives you sessions; your own code, exposed to the agent as a custom tool, decides how to split work across sessions. That is a clean division of labor: Anthropic runs the loop, you own the orchestration logic. If you want the scheduling comparison, see [Claude Code routines vs Managed Agents schedules](/blog/claude-code-routines-vs-managed-agents-schedules).

## Dreaming, Shown Live

Part 3 includes a preview of dreaming. You pick a memory store, a model and optional instructions, and point it at a window of past sessions (the demo used 30 days). It spins up a Managed Agents session that uses sub-agents to read the transcripts and asks whether the memory store captured what was needed, which sessions hit problems, and whether a lesson repeated.

In the demo it found gaps in the SEC skill the team had written and added the missing knowledge to the memory store. Today dreaming only updates memory stores. The team said they want to extend it to skills, agent prompts and sub-agent prompts, which would turn it into a general self-improvement loop. More on the feature in our post on [dreaming and outcomes](/blog/claude-managed-agents-dreaming-outcomes-multi-agent).

## The Q&A Details Worth Knowing

The questions surfaced several practical facts that are hard to find elsewhere:

- **Session length.** Compaction is managed for you. The team said they have seen 10-hour sessions in production. For long runs, the outcomes system is the recommended tool: define an exit criterion and Claude iterates until it meets the rubric.
- **Progress updates.** There is an events API on each session. For human-friendly checkpoints, define a custom tool like "update status" and let Claude call it when it makes progress.
- **Messages during a custom tool call.** If the agent is waiting on your custom tool result, a new message returns a 400, to preserve ordering. The workaround: put the custom tool on a sub-agent, so the coordinator stays free to receive messages while the sub-agent waits.
- **Graders and sub-agents.** Outcomes are defined at the session level. There is no per-sub-agent outcome yet.
- **Memory scoping.** You can attach multiple memory stores to one session, for example a per-user store and an org-wide store.
- **Private data.** Connect over MCP with credentials in the vault, use MCP Tunnels to avoid exposing an MCP server to the internet, or bring a self-hosted sandbox peered with your network.
- **Observability.** You get every event, including model-call start and end times, through the API. There is no built-in OpenTelemetry export; you build the connector.
- **CI/CD.** The `ant` CLI wraps the API and accepts YAML, so you can check agent definitions into your repo and apply them Terraform-style from CI.
- **Access control.** Resources are scoped to a workspace. Admins design workspaces around who should see what. There are no fine-grained per-resource sharing controls.
- **On-prem.** A frequent enterprise ask that the team said it is seriously considering, with nothing to announce.
- **Evals.** Internally they spin up thousands of parallel sessions per model release to decide which harness assumptions to remove. Their advice for your own evals: start from high-quality data, often your historical sessions, because "you get 100%, but what does that mean" is a common trap.

## Managed Agents or Cowork?

One attendee asked when a team using Claude Cowork should move to Managed Agents. Phatak's answer is a good rule of thumb: Cowork is for **personal** agents. Managed Agents is for agents that serve a team, an organization or your end customers. If you are comfortable in Claude Code, there is a Managed Agents skill that walks you through building one in natural language. Notion's external agents and Atlassian's Jira integrations were cited as production examples.

## Our Take

The most valuable idea in this workshop is not an API. It is the admission that the first design was a pet, and the discipline of rebuilding so that every component is cattle. If you are rolling your own harness, audit it the same way: which single process, if it died at hour seven, would take the session with it?

The weakest spot is the one the team was candid about: sharing and access control are coarse, and observability is bring-your-own. For a single product team that is fine. For a large enterprise with many departments, expect to build some glue. Our [honest review](/blog/claude-managed-agents-honest-review) and the [Managed Agents vs LangGraph vs DIY](/blog/managed-agents-vs-langgraph-vs-diy-2026) comparison go deeper on that tradeoff.

---

## FAQ

### How long can a Claude Managed Agents session run?

The team said compaction is handled for you and they have seen 10-hour sessions in production. For long tasks they recommend the outcomes feature, which keeps the agent iterating until an exit criterion is met.

### Can I send a message while a Managed Agent waits on a custom tool?

No. That returns a 400 to keep event ordering intact. Put the custom tool on a sub-agent so the coordinator agent stays free to receive messages.

### How do I version Managed Agents configs?

Use the `ant` CLI, which wraps the API and accepts YAML definitions you can keep in your repo and apply from CI.

## Sources

- Workshop videos: [Part 1](https://www.youtube.com/watch?v=Uv0nAf_7tyU), [Part 2](https://www.youtube.com/watch?v=FGftGOzfohc), [Part 3](https://www.youtube.com/watch?v=qJtcEDc_WJU), [Part 4](https://www.youtube.com/watch?v=QSeaZ6qHyXs)
- [Scaling Managed Agents: Decoupling the brain from the hands](https://www.anthropic.com/engineering/managed-agents) - Anthropic Engineering
- [New in Claude Managed Agents: dreaming and outcomes](https://claude.com/blog/new-in-claude-managed-agents)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Claude Managed Agents: An Honest Review](/blog/claude-managed-agents-honest-review)
- [Managed Agents vs LangGraph vs DIY](/blog/managed-agents-vs-langgraph-vs-diy-2026)
- [Claude Managed Agents as a Backend Job Runtime](/blog/claude-managed-agents-backend-job-runtime)
- [Self-Hosted Claude Managed Agents](/blog/claude-managed-agents-self-hosted-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Claude Managed Agents</category>
      <category>AI Engineer World's Fair</category>
      <category>Agent Infrastructure</category>
      <category>Multi-Agent</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/guides-paths-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Claude Ship: How PR Steward and Claude Approvals Change Code Review]]></title>
      <link>https://www.developersdigest.tech/blog/claude-ship-pr-steward-claude-approvals-policy-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/claude-ship-pr-steward-claude-approvals-policy-2026</guid>
      <description><![CDATA[Anthropic's Claude Ship adds PR Steward and Claude Approvals to Code Review. What each agent does, the approvals.yml policy, billing, and a safe rollout order.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 27, 2026

On November 23 Anthropic launched [Claude Ship](https://claude.com/resources/articles/introducing-claude-ship), and searches for "anthropic claude ship code review" went to Breakout in Google Trends this week. The pitch is simple: the PR is where agent-written code now waits, so put agents on the waiting. The interesting part is not the review. It is the approval policy file, because that is where a team decides how much a human still has to do.

## What the primary source says

Claude Ship is three agents, per Anthropic's announcement and [docs](https://code.claude.com/docs/en/claude-ship):

- **Code Review** (generally available) reads a change against the surrounding code and posts severity-ranked inline findings. Anthropic says it collects findings, adversarially verifies them and offers Quick, Standard or Deep levels per repository. We covered those in [Claude Code Review levels](/blog/claude-code-review-levels-quick-standard-deep-2026).
- **PR Steward** (beta) works on failing CI checks, merge conflicts and review comments from people and review bots. After every push it comments with what it changed and how to undo it. You steer it with `@claude`, or stop it with `@claude stop`. The docs say it is designed not to approve or merge.
- **Claude Approvals** (beta) applies a policy you write as a file in the repository. Anthropic describes it as working like a smarter CODEOWNERS file: Claude can approve routine changes if the policy allows, or require more human sign-off for specific paths.

For developers there is also a `/ship` command in Claude Code. Per the announcement, Claude pushes the change, opens the PR, reviews it and works on feedback and failing checks. What can merge depends on your permissions and the repo's branch rules.

One vendor-reported number: on the Claude Code team, Anthropic says merged PRs more than doubled from June to September while the share reverted fell by more than 40%, with Claude's review as one layer of a broader process. That is Anthropic describing its own team, not an independent measurement.

## The part worth reading: approvals.yml

The policy lives at `.claude/approvals.yml` on the default branch. This example is from [Anthropic's policy reference](https://code.claude.com/docs/en/approvals-policy):

```yaml
# .claude/approvals.yml
version: 1
mode: observe
rules:
  - purpose: "A change takes two people. When Claude's review passes, one is enough and Claude approves."
    paths: ["**"]
    verdict: { claude: comments, seats: 2 }
    override:
      - { if: "claude/code_review = pass", verdict: { claude: approves, seats: 1 } }
  - purpose: "A change to the review rules takes two people."
    paths: ["**/.claude/**"]
    nested: inherit
    verdict: { claude: comments, seats: 2 }
```

Three details matter more than the syntax:

1. **Start in `mode: observe`.** The default mode is `enforce`, so this line is what keeps the policy advisory. The check reports what the policy would decide without blocking. Anthropic recommends starting there before making the check required in branch protection.
2. **Rules combine strictly.** A file under `.claude/` matches both rules above, and the docs say Approvals takes the strictest verdict that applies. The second rule means any edit to the review rules needs two people. The docs also say Approvals reads policy files from the default branch, the same base-branch principle behind [the Claude Code team's verification system](/blog/claude-code-team-verification-system-evidence-not-diffs-2026).
3. **The docs flag a sharp edge.** If you use GitHub auto-merge or a merge queue with a policy that requires no person's approval, a change can merge without anyone acting. Decide that on purpose, not by default.

Also note a side effect for existing Code Review users: once an approvals policy file is on the default branch, automatic reviews normally stop on paths where no rule names `claude/code_review`. Add it as `advisory` to keep them.

## What a builder does Monday

Anthropic's docs give a rollout order, one agent at a time in one repository, under Organization settings > Claude Ship (Owner role needed):

1. Turn on Code Review for one repo and pick a level.
2. Turn on PR Steward with the start setting on **Manual (@claude steward)**. The docs note it has no spend limit until you set one - set one.
3. Add an approvals policy in `mode: observe` and watch the check for a couple of weeks before requiring it.

Before you do, price it. Each agent bills on tokens through usage credits, and the docs say observe mode is billed, and a policy that asks for Claude's review triggers a billed Code Review. Turning usage credits off does not stop an enabled agent; follow the documented turn-off order, Approvals first. Claude Ship is not available to organizations with Zero Data Retention, the HIPAA configuration or customer-managed encryption keys.

If your bottleneck is humans waiting on reviews rather than review quality, this is aimed at you; our take on that queue is in [the AI code review bottleneck](/blog/ai-code-review-bottleneck). If you run many agents against one repo, pair it with [merge discipline](/blog/parallel-coding-agents-merge-discipline). For the governance angle on a competing product, see [agent PR governance with GitHub Copilot review](/blog/agent-pr-governance-github-copilot-review).

## Who wins and loses

Winners: teams with strong CI and a written review culture, because a policy file only automates rules you already have. Smaller reviewers-by-hand teams gain a first pass. Losers: anyone hoping to skip the policy thinking. An approvals file you cannot explain is a liability, and Anthropic's own caveat that Claude Ship "uses AI and may miss bugs, security vulnerabilities, or other issues" applies to the approving step too. Third-party review tools now compete with a vendor that owns both the agent writing the code and the agent approving it.

## What people are actually saying

The launch thread on [r/ClaudeCode](https://www.reddit.com/r/ClaudeCode/comments/1y42xuf/anthropic_launched_claude_ship_on_nov_23_three/) is mostly a summary of the three agents and the `/ship` command. The sharper discussion is a thread titled ["Claude Ship reviews one repo at a time"](https://www.reddit.com/r/ClaudeCode/comments/1y4h7sb/claude_ship_reviews_one_repo_at_a_time_how_are/), where a poster whose product spans three GitHub repos asks how poly-repo teams handle PRs that cross repositories. That matches the setup model in the docs, where every agent is enabled per repository. I could only read the thread excerpts, not the replies, so treat this as the question being raised, not a settled answer.

There is a counter-case in the first-hand tests too. One hands-on write-up on Medium is titled ["I Just Tested Claude Code Ship - Don't Trust the Hype"](https://medium.com/@joe.njenga/i-just-tested-claude-code-ship-dont-trust-the-hype-learn-first-62f0ceac392a), and the framing is the right default: run it in observe mode and judge it on your own PRs.

## FAQ

### What is Claude Ship?

Anthropic's bundle of three GitHub PR agents: Code Review (generally available), PR Steward and Claude Approvals (beta), on Team and Enterprise plans.

### Can Claude Ship merge my pull requests on its own?

PR Steward is designed not to approve or merge. Approvals can post an approving review only if your policy allows, and branch rules still decide what merges.

### How do I try it on one PR?

Update Claude Code and run `/ship`. It counts as regular Claude Code usage.

### What does it cost?

Token-based, billed through usage credits, including observe mode. Eligible Enterprise orgs can claim promotional credits until January 15, 2027, per Anthropic.

## Continue Reading

- [Claude Code Review levels](/blog/claude-code-review-levels-quick-standard-deep-2026) - Quick, Standard and Deep, and how to budget them
- [The AI code review bottleneck](/blog/ai-code-review-bottleneck) - why reviews, not writing, became the queue
- [Agent PR governance with GitHub Copilot review](/blog/agent-pr-governance-github-copilot-review) - the same problem on the other platform
- [Parallel coding agents and merge discipline](/blog/parallel-coding-agents-merge-discipline) - running many agents on one repo
- [Claude Code verification system](/blog/claude-code-team-verification-system-evidence-not-diffs-2026) - evidence over diffs
- [Claude Code tool page](/tools/claude-code) - what the CLI does and how to set it up

## Sources

- [Introducing Claude Ship](https://claude.com/resources/articles/introducing-claude-ship) - Anthropic, November 23, 2026; read in full
- [Claude Ship docs](https://code.claude.com/docs/en/claude-ship) - setup order, billing, limits; read in full
- [Approvals policy reference](https://code.claude.com/docs/en/approvals-policy) - `.claude/approvals.yml` keys and example; read
- [r/ClaudeCode launch thread](https://www.reddit.com/r/ClaudeCode/comments/1y42xuf/anthropic_launched_claude_ship_on_nov_23_three/) - community summary (excerpt read)
- [r/ClaudeCode poly-repo thread](https://www.reddit.com/r/ClaudeCode/comments/1y4h7sb/claude_ship_reviews_one_repo_at_a_time_how_are/) - community question (excerpt read)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Claude Code</category>
      <category>Code Review</category>
      <category>Agents</category>
      <category>GitHub</category>
      <category>AI Coding Tools</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/ai-coding-agents-review-queues/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP]]></title>
      <link>https://www.developersdigest.tech/blog/david-soria-parra-future-of-mcp-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/david-soria-parra-future-of-mcp-ai-engineer-2026</guid>
      <description><![CDATA[MCP co-creator David Soria Parra on why 2026 is about agent connectivity: skills, CLIs and MCP together, progressive discovery, programmatic tool calling, a stateless transport and skills over MCP.]]></description>
      <content:encoded><![CDATA[
David Soria Parra co-created the Model Context Protocol at Anthropic. Their AI Engineer Europe 2026 talk opens with an MCP application running in several different clients, an agent shipping its own interface over a server, and then steps back to argue where the protocol goes next.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/v3Fr2JR47KA" title="The Future of MCP - David Soria Parra, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [The Future of MCP](https://www.youtube.com/watch?v=v3Fr2JR47KA), David Soria Parra, Anthropic, AI Engineer Europe 2026. Roadmap items are as described in the talk; check the [MCP specification](https://modelcontextprotocol.io/specification) for what has shipped.*

---

## The Demo: An Agent Shipping Its Own UI

The opening example is an MCP application: an interface served by an MCP server, not a plugin, not an SDK and not something the model renders on the fly. Put the same server into Claude, ChatGPT, VS Code or Cursor and the app works in each.

That only works because both sides share semantics. The client has to know a UI is coming and how to render it. And the server can ship tools alongside the app, so a human can use the interface while the model drives the same application through tools. Soria Parra thinks that dual mode is still largely unexplored. For how MCP apps compare to plain tool calls, see [MCP apps vs tool calling](/blog/mcp-apps-vs-tool-calling-comparison-2026).

## Eighteen Months In

They recapped how far the protocol has come. It started as a spec document and a few SDKs, local only, with little beyond tools. Since then it gained remote transports, centralized authorization, elicitation and tasks, and experimental extensions like MCP applications.

The number they cited: about **110 million monthly downloads**, most of which come from other projects depending on it, such as OpenAI's Agents SDK, Google's ADK and LangChain. They compared that to React, which took roughly twice as long to reach similar volume. And they stressed that most MCP servers are private, connecting company systems to agents behind closed doors.

## 2026 Is About Connectivity

Their framing of the last three years:

- **2024:** demos.
- **2025:** coding agents, which are the easiest case. They run locally, results are verifiable with a compiler, and a developer is sitting there to fix things.
- **2026:** general agents doing knowledge work for analysts and marketers. Those agents do not need a compiler; they need to connect to five SaaS apps and a shared drive.

And connectivity is not one thing. Anyone who says a single approach solves it, whether computer use, CLIs or MCP, is "probably pretty wrong." Soria Parra lays out a stack:

| Layer | Best for |
| --- | --- |
| Skills | Domain knowledge packaged in a simple, reusable file |
| CLIs | Local agents with a sandbox, especially tools already in pre-training like git and GitHub |
| MCP | Rich semantics, long-running tasks, UI, platform independence, no sandbox, and authorization, governance and policy |

The best agents will use all of them together. That is a more balanced position than the "CLIs over MCP" debate suggests; we covered the other side in [CLIs over MCPs](/blog/clis-over-mcps).

## Work for Client Builders: Progressive Discovery

The first thing they want harness builders to fix is context bloat. A protocol only moves information across a wire; the client decides what to do with it. Most clients so far dump every tool definition into the context window and are then surprised the window fills up.

The fix is **progressive discovery**: defer tool definitions and give the model a tool-search tool so it loads tools when it needs them. Anthropic's API offers this, and you can build it yourself. They showed Claude Code's tool context before and after adding it, with a large drop. Our [MCP roadmap and progressive discovery](/blog/mcp-roadmap-progressive-discovery-agent-auth) piece goes deeper.

## Work for Client Builders: Programmatic Tool Calling

The second fix is **programmatic tool calling**, often called code mode. When a model calls one tool, reads the result, then calls another, every step costs inference and latency. Instead, give the model an execution environment (a V8 isolate, a Lua interpreter or similar) and let it write a short script that calls several tools and filters the results.

MCP's structured output declares a tool's return type, which lets the model compose calls with type information. If a server does not provide one, Soria Parra suggests asking a cheap model to extract a typed shape. See also [code mode in Claude Code](/blog/claude-code-code-mode-2026).

## Work for Server Authors: Design for Agents

Their sharpest advice for server authors: **stop converting REST APIs one-to-one into MCP servers.** A wrapper that exposes every endpoint as a tool produces poor agent experiences. Design for how the work is actually done, and a good starting point is how you would want to do it as a human.

Server authors can also apply programmatic tool calling on their side, exposing an execution environment instead of dozens of tools; they cited Cloudflare's MCP server as an example. And they should use the semantics only MCP offers: applications, tasks, elicitation and, soon, skills.

## What Is Coming to the Protocol

The roadmap items Soria Parra described:

- **A stateless transport.** Streamable HTTP is hard to scale for very large deployments. A proposal from Google makes MCP servers deployable like ordinary stateless services on Cloud Run or Kubernetes. Our [stateless migration guide](/blog/mcp-stateless-migration-guide-2026) covers the details.
- **Better async tasks,** effectively agent-to-agent communication, with more clients supporting them.
- **Version 2 of the TypeScript and Python SDKs.** They were candid that FastMCP is better than the official Python SDK, which they wrote, and that better Python developers are helping rewrite it.
- **Cross-app access** for enterprises: sign in once with your identity provider (Google, Okta and so on) and use MCP servers without logging in again. See [zero-touch OAuth for enterprise MCP](/blog/mcp-zero-touch-oauth-enterprise-auth).
- **Server discovery on well-known URLs,** so an agent visiting a site can find out whether it offers an MCP server.
- **Extensions,** so clients can support optional capabilities. MCP applications, for example, make sense in web clients but not terminals.
- **Skills over MCP,** so a large server can ship domain knowledge on how to use its tools and update it continuously without a separate plugin registry. You can approximate it today with a load-skills tool. More in [skills over MCP](/blog/skills-over-mcp-progressive-disclosure).

MCP now sits in a foundation and runs as an open community with a Discord and public issues, and Soria Parra asked for blunt feedback.

## Our Take

The most useful idea here is that most "MCP is bloated" complaints are about clients, not the protocol. A client that loads every tool definition up front pays for it on every turn. Progressive discovery and programmatic tool calling are client-side fixes you can ship this week, and they matter more than any spec change.

For server authors, the takeaway is simpler: if your MCP server is a generated wrapper around your REST API, it is probably the reason agents struggle with it.

---

## FAQ

### What is progressive discovery in MCP?

A client-side pattern where tool definitions are not loaded into context up front. The model gets a tool-search tool and loads only the tools it needs, which cuts context usage sharply.

### What is programmatic tool calling?

Letting the model write a short script in a sandboxed execution environment that calls several tools and filters results, instead of making one inference round trip per tool call. It is also called code mode.

### What is skills over MCP?

A planned MCP extension that lets a server ship skills, packaged domain knowledge on how to use its tools, so authors can update guidance continuously without a separate plugin system.

## Sources

- [The Future of MCP - video](https://www.youtube.com/watch?v=v3Fr2JR47KA)
- [Model Context Protocol specification](https://modelcontextprotocol.io/specification)
- [FastMCP](https://github.com/jlowin/fastmcp)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [MCP Roadmap: Progressive Discovery and Agent Auth](/blog/mcp-roadmap-progressive-discovery-agent-auth)
- [Skills Over MCP and Progressive Disclosure](/blog/skills-over-mcp-progressive-disclosure)
- [Gateways Are All You Need: Karan Sampath](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [MCP Stateless Migration Guide](/blog/mcp-stateless-migration-guide-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>MCP</category>
      <category>Agents</category>
      <category>Tool Use</category>
      <category>AI Engineer Europe</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/apps-ecosystem-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic]]></title>
      <link>https://www.developersdigest.tech/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026</guid>
      <description><![CDATA[Eugene Yan of Anthropic on finding and fixing vulnerabilities with Claude: why discovery is no longer the bottleneck, and the threat model, sandbox, verify, triage and patch loop.]]></description>
      <content:encoded><![CDATA[
Eugene Yan, a member of technical staff at Anthropic, has spent months working with security teams and Claude to find and fix vulnerabilities. Their AI Engineer World's Fair 2026 talk distills what dozens of organizations converged on into a six-step pipeline, and makes one argument loudly: **finding vulnerabilities is no longer the hard part.** Verifying, triaging and patching them is.

The talk pairs with a written guide they co-authored, [Using LLMs to secure source code](https://claude.com/blog/using-llms-to-secure-source-code), and an open-source [reference harness](https://github.com/anthropics/defending-code-reference-harness).

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/imFedndyXYQ" title="Using LLMs to Secure Source Code - Eugene Yan, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Using LLMs to Secure Source Code](https://www.youtube.com/watch?v=imFedndyXYQ), Eugene Yan, Anthropic, AI Engineer World's Fair 2026.*

---

## Three Trends

**Capability is jumping, not creeping.** The UK AI Security Institute tracks a cybersecurity version of task-horizon benchmarks: how long a cyber task (reverse engineering, web exploitation) a model can complete, against human baselines. Recent models sit above the previous trend line, a step change. AISI's analysis is [here](https://www.aisi.gov.uk/blog/how-fast-is-autonomous-ai-cyber-capability-advancing).

**Vulnerability discovery has exploded.** Mozilla's monthly Firefox security bug fixes averaged around 20 in 2025, roughly tripled in February and March 2026, then hit about 400 in April. Mozilla attributed about two-thirds of April's fixes, roughly 271, to work with Claude Mythos Preview. Mozilla's write-up: [Behind the scenes hardening Firefox](https://hacks.mozilla.org/2026/05/behind-the-scenes-hardening-firefox/).

**The bottleneck has moved.** In Anthropic's own scan of more than a thousand open source repositories, about 23,000 candidate findings yielded about 6,200 rated high or critical; at the time of the update, about 1,600 had been reported to maintainers and about 100 patched upstream ([Project Glasswing update](https://www.anthropic.com/research/glasswing-initial-update)). Finding is straightforward. Everything after finding is the queue.

Mozilla's observation captures why: early experiments had too many false positives to scale, but agentic harnesses that reliably detect issues and dismiss non-reproducible speculation changed that. **The harness and the model together** do the work.

## The Six Steps

Yan says most teams converge on the same pipeline. Two steps are one-time setup per codebase; four are a loop.

```mermaid
%% title: The security pipeline most teams converge on
flowchart TD
  T[1. Threat model: context] --> S[2. Sandbox: isolation]
  S --> D[3. Discovery]:::emphasis
  D --> V[4. Verification]
  V --> R[5. Triage]
  R --> P[6. Patch and re-attack]
  P --> D
```

Their running example is a tiny "order service": pass an ID, get an order back.

### 1. Threat model: give the model the system, not just the code

Teams found that a well-documented threat model pushes the true positive rate to about **90%**; Yan considers anything above 75% good. One CISO's phrasing: the model has great context of the code but poor context of the system.

The missing context is in people's heads: why the system was designed this way, what on-call keeps fixing, which controls compensate elsewhere. To build the threat model:

- **Bootstrap** it by giving the model docs, code, past comments and past patches with the CVEs they fixed, and asking what similar issues remain unpatched.
- **Interview the experts,** with the model asking: what could happen that we did not plan for, and what do we *not* need to worry about because the app is VPN-only or there is a compensating control?

For the order service, the threat model names the key asset (customer PII), the entry point (the orders API), and candidate threats like SQL injection and unauthenticated access.

### 2. Sandbox: isolation and reproducibility

You may be running untrusted code and deliberately detonating proof-of-concept exploits, so run in a VM with no egress and no cloud credentials. You also want every agent starting from the same baseline container, so a "bug" is not just an old dependency. One team called live testbeds where the model can detonate PoCs their biggest lever. For the order service: three containers (app, Postgres, Redis) with the security agent outside, probing over HTTP.

### 3. Discovery

Three things matter:

- **Context engineering.** Everything written down and shared improves coverage and cuts false positives.
- **Simpler prompts.** Yan finds they cut prompt size by roughly half with each step-change model. Instead of listing vulnerability classes, something like "look for where untrusted data hits the trust boundary" is enough.
- **Tools.** Give the model what a human security engineer has: call the API, read responses, read logs, read source. One pen-testing team that did this got a true positive rate near 100%, because the model could verify in the loop.

In the example, the discovery agent flags a five-line GET handler that builds SQL with string interpolation.

### 4. Verification

Confirm each finding is real, ideally by running the PoC against the sandbox and checking the actual effect, rather than trusting the model's description.

### 5. Triage

You cannot hand a developer a hundred findings. Deduplicate (cheap heuristics or model-assisted clustering), then score **impact** and **likelihood**. This is where the threat model earns its keep again. A firewall can drop a high to a low; knowing a database holds healthcare data can lift a medium to a high. In the example, the agent rates the SQL injection high; a human downgrades likelihood because an application firewall blocks SQL injection and the service is internal-only. The model could only know that from documentation.

### 6. Patch, then attack the patch

A ladder for validating patches:

1. The original PoC stops working.
2. The existing test suite stays green.
3. A **fresh discovery agent attacks the patched code** to check the fix is comprehensive.
4. A human confirms before merge.

Feeding that feedback to the patching agent greatly improves patch quality. And close the loop: the second half of the patch updates the threat model with the compensating controls, so the next scan does not re-raise the same issue. Yan's framing: loops are operating expense until you close them; then they become capital expense that improves with every run.

Their summary: steps 1 and 2 are context and reproducibility. Steps 3 through 6, if you squint, are an ML pipeline: recall, precision, ranking and closing the loop.

## The Non-Technical Bottlenecks

Compute scales with money; human attention does not. When findings grow by one or two orders of magnitude, organizations hit:

- **Routing.** A dozen findings a month can be hand-curated; hundreds cannot. Send them to code or service owners automatically; this does not need an LLM.
- **Severity calibration.** Product and security engineers often disagree on what "high" means. Get everyone in a room, write it down once, and hand that to the agents.
- **Patching bandwidth.** Implementing patches by hand does not scale. Move to AI-generated patches with human verification, generate then re-attack.

Fully automated patch review for security fixes is still rare.

## How to Start This Week

1. **Start now, with open-source dependencies** or whatever you are comfortable with.
2. **Climb the learning curve interactively** in Claude Code or your IDE before automating. Learn where context is missing and where precision is low.
3. **Do not stop at scanning.** Verification, triage, patching and the organizational process are the bottleneck.

Anthropic's resources: [Claude Security](https://claude.com/blog/claude-security-public-beta) for scanning, validating and proposing fixes, the written guide, and the reference harness repo with interactive skills and an autonomous pipeline you can customize. Our coverage of [Claude Security continuous scanning](/blog/claude-security-continuous-scanning-api-mcp-2026) goes into the product.

## Our Take

The most transferable idea is that **the threat model is just context**, and it is the single biggest lever on precision. Most of what makes a finding real or irrelevant lives outside the code. Teams that skip writing it down will drown in plausible-sounding false positives and blame the model.

The second is the patch ladder, especially re-attacking patches with a fresh agent. It is the same separate-verifier principle Lance Martin describes in their [long-horizon tasks talk](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026), applied to security. We also argued in [security agents need repro harnesses](/blog/security-agents-need-repro-harnesses) that reproducibility is what turns findings into fixes.

---

## FAQ

### What is the bottleneck in AI-driven vulnerability management?

According to Eugene Yan, discovery is now straightforward. The bottleneck has moved to verification, triage, patching and organizational processes like routing and severity calibration.

### Why does a threat model improve LLM security scanning?

The model understands the code it can read but not the system context in people's heads, such as compensating controls or data sensitivity. Teams with a well-documented threat model reported true positive rates around 90%.

### How should AI-generated security patches be validated?

Confirm the original proof of concept no longer works, keep the existing tests green, have a fresh agent attack the patched code, and have a human approve before merge.

## Sources

- [Using LLMs to Secure Source Code - video](https://www.youtube.com/watch?v=imFedndyXYQ)
- [Using LLMs to secure source code](https://claude.com/blog/using-llms-to-secure-source-code) - Eugene Yan and Henna Dattani
- [Defending Code Reference Harness](https://github.com/anthropics/defending-code-reference-harness)
- [Behind the Scenes Hardening Firefox with Claude Mythos Preview](https://hacks.mozilla.org/2026/05/behind-the-scenes-hardening-firefox/) - Mozilla
- [How fast is autonomous AI cyber capability advancing?](https://www.aisi.gov.uk/blog/how-fast-is-autonomous-ai-cyber-capability-advancing) - UK AISI
- [Project Glasswing: An initial update](https://www.anthropic.com/research/glasswing-initial-update)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Claude Security Continuous Scanning](/blog/claude-security-continuous-scanning-api-mcp-2026)
- [The AI Security Triage Bottleneck](/blog/ai-security-triage-bottleneck)
- [Security Agents Need Repro Harnesses](/blog/security-agents-need-repro-harnesses)
- [Give the Agent a Budget, Not a Token](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Security</category>
      <category>Claude Security</category>
      <category>Vulnerability Management</category>
      <category>AI Engineer World's Fair</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/tools-directory-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[How Jarred Sumner Ships Millions of Lines of Agent-Written Code]]></title>
      <link>https://www.developersdigest.tech/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026</guid>
      <description><![CDATA[Bun creator Jarred Sumner on building an ahead-of-time JavaScript compiler with Claude: five rewrites, 140 parallel agents, pre-existing tests as the only trusted oracle.]]></description>
      <content:encoded><![CDATA[
Jarred Sumner created Bun, the JavaScript runtime that powers Claude Code, and works at Anthropic. Over the summer of 2026 they led Bun's rewrite from Zig to Rust. In this AI Engineer talk they describe a project they call bigger than that one: an ahead-of-time (AOT) compiler for JavaScript and TypeScript, built mostly by Claude, that landed as a multi-million-line pull request.

It is a 22-minute talk and one of the most concrete accounts anywhere of what it takes to trust a very large amount of agent-written code.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/TvsF67C2F54" title="How to Ship Millions of Lines of Agent-Written Code - Jarred Sumner, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [How to Ship Millions of Lines of Agent-Written Code](https://www.youtube.com/watch?v=TvsF67C2F54), Jarred Sumner, AI Engineer. Performance figures below are as reported on stage; we have not benchmarked the canary build ourselves.*

---

## The Goal: Make Claude Code Lighter Without Rewriting It

The opening prompt was simple: Claude Code needs to use much less memory and start faster, and we are allowed to modify either WebKit or Bun.

Sumner explains why the JIT is the target. In a typical JavaScript application, roughly half the CPU time goes to compiling code on demand. That, combined with single-threading, is why so many teams rewrite JavaScript tools in Rust or Go. An AOT compiler pays the compile cost once, ahead of time, instead of in every session. That matters a lot for something like Claude Code running many sessions at once.

### Why not just rewrite Claude Code in Rust?

The Bun team had just rewritten Bun in Rust, so the option was on the table. They said no, and the reason is the most important idea in the talk: **Bun was an easy rewrite because its tests are written in a different language from the one it runs in.**

Bun's tests are TypeScript, so the same suite could run against both the Zig and Rust builds. Claude Code's tests are also TypeScript, so a Rust port would mean porting the test suite too. And **once you rewrite the tests, you can no longer trust them.** So they made JavaScript faster instead. Our earlier [case study of the Bun Rust rewrite](/blog/bun-rust-rewrite-agent-fleet-case-study) covers the first project.

## Verification Decides the Architecture

Sumner's framing: on a project like this, how you will verify the code constrains everything, more than any choice about how to build it.

AOT compilation is close to an ideal agent problem because the oracle is so rich:

- Bun's existing test suite.
- WebKit's tests.
- Test262, the official ECMAScript conformance suite.
- Claude Code's own tests.
- Bun's test runner itself, run in AOT mode.
- **Differential testing:** run an application three ways (JIT, AOT, and AOT without types). If all three behave identically, it works for that application.
- **Fuzzing:** Claude writes code generators to fuzz different patterns, and the team extended Fuzzilli, the JavaScript engine fuzzer V8 uses, to cover TypeScript types.

The key property is that almost none of these tests were written for the project. **They predate it, so the agent could not have bent them to pass.** And they add a warning that applies to every agent-driven test effort: check that your tests actually catch bugs, because it is easy to fool yourself that they are finding problems when they are not.

```mermaid
%% title: Trusted oracles for agent-written compiler code
flowchart TD
  C[AOT-compiled app]:::emphasis --> D{Same behavior?}
  J[JIT run] --> D
  U[AOT run without types] --> D
  D --> T[Pre-existing suites: Bun, WebKit, Test262, Claude Code]
  D --> F[Fuzzing with Fuzzilli and generated programs]
```

One design detail: the compiler treats TypeScript types as **predictions, not facts**. Types can be wrong, so when it can prove a value is monomorphic it emits a direct field access, and otherwise it checks at runtime.

## Five Rewrites in About a Month

The compiler went through five versions in a bit over a month. The history is the best part of the talk because it shows where agent output goes wrong:

1. **Version 1** reused as much of JavaScriptCore as possible and was capped by it. Claude Code used about a gigabyte of memory.
2. **Version 2** added a TypeScript type checker into Bun (`bun check`) and told Claude to use it. Startup got about 2x faster and memory about 3x lower, but the code was slop. Their example: any object accessing a property named `archive` was assumed to possibly be the `Bun.archive` API. Not shippable.
3. **Version 3** used about 140 agents in parallel to write all the code at once, then got Claude Code to run on it.
4. **Version 4** had good code and the same performance, but compiling Claude Code took about 50 seconds. JavaScript developers do not expect compile times at all.
5. **Version 5** had good code and builds under 20 seconds. It is the one shipping.

Two observations along the way:

- Claude **loves writing markdown design docs.** At one point it had around 1,500 of them. Nobody reads 1,500 design docs.
- When Claude sizes up whether an idea is worth pursuing, it can easily **convince itself its measurements are good when they are not**, and talk itself out of a promising idea. Sumner thinks several rejected ideas deserve another try.

Their conclusion: for a large project that has not shipped, **rewriting is often easier than refactoring.**

## How the Work Is Organized

The logistics differ by phase:

- **Bulk-writing phase:** many agents write lots of code at once, and you run **one** build at the end rather than letting every agent compile and chase build errors.
- **Hardening phase:** long-lived sub-agents that keep the relevant code in their context window and keep going. For the Rust rewrite they leaned on Claude Code workflows; with the latest models they mostly rely on long-lived sub-agents, which they find less wasteful.
- **Visibility:** an hourly scorecard posted to Slack comparing the current and previous values of the metrics they cared about, so regressions are obvious at a glance. If you are not actively re-measuring, they say, things get worse without anyone noticing.

## What Does the Human Actually Do All Day?

They showed their most-sent messages. The top one was "continue." Beyond that, their job was mostly asking leading questions:

- "Why are we doing this?" and "Can we do this?"
- "Can you do this faster?" and "What's taking so long?" because the model tends to talk itself into made-up rules.
- Pushing it to try harder, because left alone **the model underestimates what it can do** and settles for 0.1% improvements instead of 10%.

That matches what Mike Krieger said about being [unreasonable with Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026). Ambition has to come from the human.

## The Reported Results

As presented in the talk:

- About **4x less memory** and about **2x faster startup** for Claude Code, being dogfooded internally.
- On JetStream 3, Bun's AOT output beat both JavaScriptCore's JIT and Node.js (V8) on most tests.
- A single-threaded program compiled with `bun compile` ran faster than the single-threaded build of TypeScript's Go port (TypeScript 7).
- It is not always faster: code that leans on the interpreter (heavy `eval` or `new Function`, as in the uglify-js benchmark) does not benefit.
- Two breaking changes, both mostly security-driven: for example, the compiler bans assigning to `Object.prototype`, which blocks a whole class of prototype pollution attacks and also helps performance.

They invited people to try it with `bun upgrade --canary` followed by `bun compile`. Check the [Bun docs](https://bun.sh/docs) for current flags before relying on it.

## Our Take

The lesson that generalizes is not about compilers. It is this: **the scale of agent-written code you can trust is bounded by the quality of an oracle the agent did not write.** Projects with independent, pre-existing tests, a reference implementation to diff against, or a spec suite are where agent fleets shine. Projects where the agent must write its own tests are where they produce confident slop.

Before you point a fleet at a big change, ask two questions. What will tell us it works that the agents cannot edit? And how will we know if that check is quietly not catching anything?

---

## FAQ

### What is Bun's ahead-of-time compiler?

A compiler that turns JavaScript and TypeScript into native code before the program runs, instead of compiling on demand with a JIT. It uses TypeScript types as hints and falls back to runtime checks when they cannot be proven.

### Why did Anthropic not rewrite Claude Code in Rust?

Claude Code's tests are written in TypeScript, the same language as the code. A Rust port would have required rewriting the tests too, and rewritten tests cannot be trusted to verify the rewrite.

### How many agents worked on the compiler?

Sumner described one version where about 140 agents wrote code in parallel during the bulk-writing phase, followed by long-lived sub-agents for hardening.

## Sources

- [How to Ship Millions of Lines of Agent-Written Code - video](https://www.youtube.com/watch?v=TvsF67C2F54)
- [Bun documentation](https://bun.sh/docs)
- [Test262](https://github.com/tc39/test262) - the ECMAScript conformance suite
- [Fuzzilli](https://github.com/googleprojectzero/fuzzilli) - JavaScript engine fuzzer

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [The Bun Rust Rewrite as an Agent-Fleet Case Study](/blog/bun-rust-rewrite-agent-fleet-case-study)
- [Bun's 535k-Line Rust Rewrite](/blog/bun-rust-rewrite-535k-lines)
- [How Anthropic Builds: Mike Krieger](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [Claude for Long-Horizon Tasks](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Bun</category>
      <category>Agent Fleets</category>
      <category>Testing</category>
      <category>AI Engineer</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/tools-directory-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise]]></title>
      <link>https://www.developersdigest.tech/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026</guid>
      <description><![CDATA[Anthropic's Karan Sampath on why enterprises get stuck with a handful of MCP servers, and how one blessed gateway for auth, access control, routing and observability lets every team ship its own.]]></description>
      <content:encoded><![CDATA[
Karan Sampath is a product engineer at Anthropic, the first one based outside the US, and spends much of their time helping enterprises deploy MCP. Their AI Engineer Europe 2026 talk argues that the thing holding enterprise MCP back is not the protocol or the servers. It is the lack of one trusted platform to run them on.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/CD6R4Wf3jnY" title="Gateways are All You Need - Karan Sampath, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Gateways are All You Need](https://www.youtube.com/watch?v=CD6R4Wf3jnY), Karan Sampath, Anthropic, AI Engineer Europe 2026.*

---

## The Three-Headed Hydra

The official MCP registry now lists thousands of servers, and companies build new ones constantly. Yet Sampath sees enterprises stuck with a handful. The blockers are what enterprises consider table stakes:

1. **Observability.** Who is using which server and which tools? Which tools fail? Today this is largely opaque.
2. **Access control.** The whole company might be allowed to read from an observability server, while only a few people should be able to change dashboards. Scoping servers and tools by group is hard.
3. **Security.** Is this server safe? Can it exfiltrate data or harm internal infrastructure? And how do you let remote, possibly untrusted clients reach private data?

Registries help with discovery, but they do not cover authentication, access control, observability or credential management.

## The Bottleneck

The result is a familiar org chart failure. With coding agents, every team can now build an MCP server, but they cannot get it deployed, or it cannot get the access it needs. Security teams are overloaded and cannot review everything. Leadership asks why the agents are not delivering. Sampath's warning is that if enterprises stay stuck with a few MCP servers, it will hold back both the protocol and agents.

## Bless One Platform

The slide Sampath said to remember if you remember only one: **the security team's goal should be to bless one platform**, a single root of trust, and let teams build freely on top of it.

That matters because MCP value compounds. Every good server makes every agent in the company more capable, so unlocking decentralized server building has knock-on effects well beyond any one server.

## What a Gateway Is

As a black box, a gateway is a middle layer between your MCP servers, potentially hundreds of them, and any MCP client. Its job is to take the cross-cutting concerns off every server author:

| Component | What it does |
| --- | --- |
| Auth | Plug in your identity provider; delegated identity for users and agents |
| Role-based access control | Which groups can see which servers and tools |
| Proxy and routing | Clients only see the gateway; servers trust only the gateway |
| Secure tunnel | Encrypted connections between untrusted clients and internal servers |
| Sub-registry | Your internal catalogue of servers |
| Tooling | A CLI so a team's coding agent can scaffold and register a new server |

With that in place, a legal team building a contract-review server only writes business logic: what to look for, how to redline, when to escalate. They do not decide who can access it, how often, or how it scales. And because their coding agent can drive the gateway CLI, they may not need a separate engineering team at all.

```mermaid
%% title: The gateway is the one root of trust
flowchart LR
  C[Claude.ai, Claude Code, Cowork, custom agents] --> G[MCP gateway: auth, RBAC, routing, audit]:::emphasis
  G --> S1[Legal server]
  G --> S2[Observability server]
  G --> S3[Data server]
```

## The Free Lunches

Once a gateway exists, Sampath lists benefits that come almost for free:

- **New surfaces in one step.** Claude.ai, Claude Code and Cowork all talk to the same gateway, instead of 40 servers each configured slightly differently per client.
- **Secured connections** for sensitive internal data, so servers can use real data rather than toy datasets.
- **Fast iteration.** Teams change their own servers without a fresh security review every time.
- **Standard primitives.** The gateway encodes the enterprise's own standards for what tools look like and what is not allowed.
- **Pluggable credentials.** User, team or service-account auth can be swapped per server.
- **Scale.** Going from tens to hundreds of thousands of agent calls is the gateway's problem, not every server's.

Observability here means more than usage counts. Sampath wants teams to see which tools are load-bearing and how tool definitions should evolve as the protocol changes.

## Separate the Harness From the Data

The bigger picture is decoupling. Agents are multiplying, and they should not be tightly coupled to how your data and servers are structured. With a gateway, the same servers work whether you run agents on [Claude Managed Agents](/blog/claude-managed-agents-workshop-ai-engineer-2026) or build them in-house with the Claude Agent SDK, so whether an agent lives inside or outside the company becomes a decision you can change later.

This is the same "decouple the brain from the hands" principle Anthropic applies inside Managed Agents, described in their engineering post on the topic.

## Our Take

The argument is persuasive because it is organizational, not technical. Gateways are an old idea from the API era. What changed is that coding agents made building MCP servers cheap for every team, which moved the bottleneck to security review. A single blessed platform is how you get the security team out of the critical path without lowering the bar.

If you are planning enterprise MCP, the three takeaways in Sampath's order: invest in common infrastructure rather than letting each team roll its own, use the gateway as your root of trust, and keep the agent harness separate from your data layer. For the identity piece, see our post on [zero-touch OAuth for enterprise MCP](/blog/mcp-zero-touch-oauth-enterprise-auth); for the protocol roadmap, David Soria Parra's [future of MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026).

---

## FAQ

### What is an MCP gateway?

A middle layer between MCP clients and an organization's MCP servers that centralizes authentication, role-based access control, routing, secure tunnels, an internal registry and observability, so individual servers only implement business logic.

### Why do enterprises struggle to adopt MCP?

According to Sampath, because observability, access control and security are hard to provide server by server, so security teams become a bottleneck and companies end up with only a handful of approved servers.

### Does a gateway lock you into one agent platform?

No. The point is the opposite: the gateway decouples servers from the agent harness, so the same servers work with Claude.ai, Claude Code, Cowork, Managed Agents or an in-house Agent SDK build.

## Sources

- [Gateways are All You Need - video](https://www.youtube.com/watch?v=CD6R4Wf3jnY)
- [Introducing the MCP Registry](https://blog.modelcontextprotocol.io/posts/2025-09-08-mcp-registry-preview/)
- [MCP security best practices](https://modelcontextprotocol.io/docs/2025-11-25/tutorials/security/security_best_practices)
- [Decoupling the brain from the hands](https://www.anthropic.com/engineering/managed-agents)
- [Connect the Claude Agent SDK to MCP](https://code.claude.com/docs/en/agent-sdk/mcp)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [The Future of MCP: David Soria Parra](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Zero-Touch OAuth for Enterprise MCP](/blog/mcp-zero-touch-oauth-enterprise-auth)
- [The Enterprise Tech Stack for AI Agents](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>MCP</category>
      <category>Enterprise AI</category>
      <category>Agent Security</category>
      <category>AI Engineer Europe</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/terminal-map-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic]]></title>
      <link>https://www.developersdigest.tech/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026</guid>
      <description><![CDATA[Kevin Bai of Anthropic's Applied AI team explains the forward deployed engineer: the two-by-two that says when you need one, why it needs a platform, and why agents make it common.]]></description>
      <content:encoded><![CDATA[
"Forward deployed engineer" has become one of the most popular job titles in AI. Kevin Bai, a member of technical staff on Anthropic's Applied AI team, has done the job at three companies: at Palantir, where the model was invented, then as the first FDE at Rippling, where they grew the team to about 25 people in a year, and now at Anthropic.

Their AI Engineer World's Fair 2026 talk is a primer on what the function actually is, when a company needs it, and why AI is making it much more common.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/KwhgfwOSToQ" title="Forward Deployed Engineering 101 - Kevin Bai, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Forward Deployed Engineering 101](https://www.youtube.com/watch?v=KwhgfwOSToQ), Kevin Bai, Anthropic, AI Engineer World's Fair 2026. Bai's companion primer: [What Is a Forward Deployed Engineer?](https://fdepod.substack.com/p/test)*

---

## Why Palantir Invented the Role

Palantir's platform, Foundry, lets an organization centralize its data into an **ontology**, turning scattered tables into proper nouns (one source-of-truth table for "warehouses" instead of table one, two and three), and then build applications on top. The [Palantir ontology docs](https://www.palantir.com/docs/foundry/ontology/overview) explain the concept.

The problem: tell an industry executive "we organized your data" and they ask what that does for the business. And the platform's success depends on how well customers use it, so they pay twice: for the software, and to train people before anything gets built.

Palantir's answer was to sell neither software nor services, but **an outcome.** Send very capable engineers who learn the customer's business, build the solution on the platform, and deliver the result. A consumer-goods executive cares about shelf placement and sales throughput, not how the data is organized.

As evidence that it works, Bai cited average contract values among public SaaS companies in the Fortune 500 by their count: Palantir at around $4 million, ServiceNow around $1.2 million, Workday around $600,000, and nobody else above about half a million.

## The Two-by-Two: When You Actually Need FDEs

The most useful part of the talk is a simple matrix of **what you sell** against **who buys it**:

| | Technical buyer | Non-technical buyer |
| --- | --- | --- |
| **Complex, technical product** | Fine without FDEs. Think GitHub or Datadog, bought by CTOs and used by engineers who can absorb the complexity | **This is where you need FDEs** |
| **Configurable, less technical product** | Fine | Fine without FDEs. Think Slack, Jira or an HR suite: complicated but configured, not developed on |

You need forward deployed engineering only in the top-right box: **selling something very technical to a buyer who is not.** Big tech companies and AI labs have engineers to build whatever apps they need on a platform. A Fortune 500 oil and gas company's pipelines are physical, not data pipelines. It can either try to build that engineering depth or borrow yours.

Their analogy: a fine-dining waiter whose job is to understand what you need and make sure you get it.

## FDE Is a Design Partnership at Enterprise Scale

Early B2B startups find product-market fit through design partnerships: work closely with a customer, understand the problem, build the solution. Palantir's insight was asking why that should stop once you are big.

The obvious objection: build something custom for every customer and you get 55 unmaintainable repos and no engineer who wants to work there. Bai agrees. **If each FDE builds from scratch, you do not have an FDE function, you have a dev shop.** That can be a fine business, but it is a different one.

What makes it work is that **FDEs build on a platform**, assembling existing primitives into a customer-specific workflow. Two rules followed in the Q&A:

- **Where does a change go?** Anything bespoke to one customer stays with that customer. Anything generalizable should move into the platform over time. Early on you will not have many primitives, and that is fine: FDEs also scout which primitives to build next.
- **How atomic should primitives be?** It depends on the market. Some industries allow robust primitives where the app is 60% built and FDEs customize the rest; others need granular building blocks. AWS is the broad-market example: DynamoDB means you do not invent a database, because AWS serves an enormous range of customers.

Their two diagnostic questions for any company: do I have to sell something complicated to a non-technical buyer, and do I have a platform my FDEs can build on?

## Why AI Makes This Everyone's Problem

Bai's hypothesis on why FDE is suddenly everywhere is not that the industry discovered Palantir's playbook. It is that **the nature of software itself changed.** Nearly every platform is now agentic, which means nearly every platform is customizable, which means most customers will not know what your product can actually do for them.

If you are building an agent for insurance or legal or any vertical, and success depends on the customer figuring out implementation, expanding upmarket will be hard. That puts most AI companies in the top-right box. Chris Lovejoy and Saul Howard make a related argument about what enterprises must build in [why your enterprise tech stack isn't ready for agents](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026).

## What Makes a Good FDE

Their closing definition: **an FDE is a customer-facing software engineer.** Someone you would hire as an engineer on your team and also trust in front of a customer. Avoid single points of failure: having multiple FDEs on an account means knowledge does not leave when one person goes on vacation.

## Our Take

The two-by-two is the takeaway. Plenty of AI startups are hiring FDEs because it is fashionable, when their buyer is technical and a good product with docs would do. Others genuinely sell complex agentic systems to non-technical buyers and are trying to get by with sales engineers and onboarding calls.

The second test is the one that separates a scalable business from a services company: if your FDEs are not building on shared primitives and feeding generalizable work back into the product, you are running a dev shop. For how Anthropic's own platform has evolved to support this kind of building, see the [Applied AI team's history of agentic surfaces](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026).

---

## FAQ

### What is a forward deployed engineer?

A customer-facing software engineer who works inside a customer's business to understand the problem and build a solution on the vendor's platform, so the customer buys an outcome rather than software or consulting hours.

### When does a company need forward deployed engineers?

According to Kevin Bai, when it sells a complex, technical product to a non-technical buyer. Technical buyers can absorb the complexity, and simpler configurable products do not need it.

### What is the difference between an FDE team and a dev shop?

FDEs build on a shared platform of primitives and push generalizable work back into the product. A dev shop builds each solution from scratch.

## Sources

- [Forward Deployed Engineering 101 - video](https://www.youtube.com/watch?v=KwhgfwOSToQ)
- [What Is a Forward Deployed Engineer?](https://fdepod.substack.com/p/test) - Kevin Bai
- [Palantir Ontology overview](https://www.palantir.com/docs/foundry/ontology/overview)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [From Messages API to Managed Agents: Anthropic's Applied AI Team](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Why Your Enterprise Tech Stack Isn't Ready for AI Agents](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Forward Deployed Engineering</category>
      <category>Go-to-Market</category>
      <category>Enterprise AI</category>
      <category>AI Engineer World's Fair</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/tools-directory-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness]]></title>
      <link>https://www.developersdigest.tech/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026</guid>
      <description><![CDATA[Lance Martin on a 1,000-agent Claude team that formalized Fermat's Last Theorem in Lean with only Git and SQL, plus what Anthropic learned about memory and dreaming.]]></description>
      <content:encoded><![CDATA[
Lance Martin of Anthropic used this short AI Engineer keynote to tell two stories about Claude's frontier capabilities. The first is a multi-agent result published with the Fable 5.2 launch: a team of 1,000 Claude agents formalizing Fermat's Last Theorem in Lean with almost no scaffolding. The second is about memory, and why agents, like people, need to "dream."

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/wrfbI5eyLAI" title="1,000 Claude Agents Formalized Fermat's Last Theorem - Lance Martin, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [1,000 Claude Agents Formalized Fermat's Last Theorem](https://www.youtube.com/watch?v=wrfbI5eyLAI), Lance Martin, AI Engineer. All results below are as reported by Anthropic.*

---

## Story 1: From a Dozen Agents to a Thousand

Fermat's Last Theorem says that a^n + b^n = c^n has no solutions in positive integers for n greater than 2. It stood unproven for about 350 years until Andrew Wiles published a proof in the mid-1990s after seven years of work. Since then, a major effort in mathematics has been **formalizing** that proof: expressing every step in a system like [Lean](https://lean-lang.org/) so a computer can check it.

In September 2026 Anthropic reported that Claude had done it (our write-up: [Anthropic's Fermat proof is an autoformalization milestone](/blog/anthropic-fermat-lean-autoformalization-2026)). That first effort used about a dozen agents, a domain-specific platform for orchestrating proofs, and a lot of help from a researcher. Early on, Martin says, the small team did not work well until it had that orchestration platform to manage project state.

For Fable 5.2, the question changed: **can a much larger team do the same formalization with no domain-specific harness and no human steering on the solution?**

### The harness: deliberately boring

The setup is the most instructive part:

- 1,000 agents, each in its own sandbox with restricted network access.
- Each agent can reach exactly two things: **Git and a SQL database.**
- Real-time monitoring of every tool call for things like sandbox escapes, plus an offline review of all agents' runs every 10 minutes.
- The prompt names one lead agent and 999 helpers, tells them Git and the database exist, and states the problem. That is all.

Most of the engineering effort went into safety and monitoring, not into telling agents how to collaborate.

```mermaid
%% title: The 1,000-agent Fermat setup
flowchart TD
  L[Lead agent]:::emphasis --> DB[(SQL database)]
  W[999 helper agents] --> DB
  L --> G[Git repo of Lean code]
  W --> G
  M[Real-time and 10-minute monitors] -.-> W
```

### The agents built their own coordination layer

About five minutes in, the lead created database tables nobody asked for:

- an **announce** table for global updates,
- a **roles/assignments** table to hand statements to workers,
- a **notes** table where agents shared progress,
- a **subtasks** table,
- a **landed** table tracking which Lean code had actually merged.

A visualization of reads and writes over the run shows the pattern: the lead occasionally posts global announcements and assignments, workers read and write notes constantly, and landed proofs accumulate. The run lasted about 30 hours. For the hardest statements, agents built their own task trees with dependencies, and the lead and workers reallocated themselves across the proof's roughly 60 statements as pieces were solved. One note left near the end, roughly: total freeze, magnificent work, all 999 of you.

Martin's conclusion is the line to remember: **agents are now good enough to build the primitives they need** to coordinate on very long, hard problems, given only general tools. For more on running fleets in practice, see Anthropic's CJ Avilla and Harrison Stall on [why one agent is not enough](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026).

### What we would take from it

The temptation when building multi-agent systems is to design the coordination protocol up front: roles, queues, message types. This result suggests that, for frontier models, a shared durable store and version control may be enough, and the protocol can be emergent. The caveat is that Fermat has a perfect oracle: Lean either accepts the proof or it does not. Tasks without a hard verifier will not self-organize this cleanly.

## Story 2: Memory Is Lived Forwards, Understood Backwards

The second half is about memory, drawn from a blog post Martin published. They open with Kierkegaard: life can only be understood backwards, but must be lived forwards.

That is the core paradox of agent memory. Agents write memories during a task, greedily, when something looks important right now. But memory needs to be a globally coherent, non-redundant map that future sessions can rely on. Writing myopically produces a messy map.

### Better models know what is salient

On the open Continued Learning Bench (CLB), Claude answers 40 sequential questions about a database, each in a fresh session, with a memory directory it can write to between sessions. The prompt just says the directory exists and it may use it. No memory-specific prompting.

- **Sonnet 4.6** barely benefits. It does not reliably know when to write to memory or think to read from it.
- **Sonnet 5** does better, and larger models better still, with the same instruction.

Stronger models write memories that are closer to verified statements and predictions about the database, rather than loose notes.

The Pokemon comparison makes it visual. Claude 3.7 Sonnet's memory directory was huge and indiscriminate. Fable 5's was compact: strategic insights and tactical knowledge you cannot get from game state. Fable 5 also got much further in the game. **Better instincts for salience show up as smaller memory.**

### Dreaming: transcripts, notes, then reflection

Martin frames memory as layers:

1. **Transcripts** are the foundation. Transcript search alone is a memory system, but transcripts are huge and only a small fraction is salient.
2. **Notes** the agent writes as it goes.
3. **Dreaming** reflects over transcripts and notes to re-represent them: build wikis, fix errors, and promote some memories to context injected into every future session.

Three results from dreaming:

- **Fixing a poisoned memory.** In Pokemon, Claude wrote down the wrong location of a landmark, then kept mislocating itself, falling through a trapdoor and regressing. Without dreaming it stayed stuck; with dreaming the bad memory was corrected and it moved on.
- **Building a wiki from a company corpus.** Using an anonymized corpus from Stainless, which Anthropic acquired in May 2026, they wrote 25 questions answerable only from its documents and Slack. Plain semantic search scored about 53%. Letting Claude build a wiki improved as more dreaming tokens were spent, and wiki plus search beat search alone.
- **Filling gaps.** A wiki Claude built without dreaming had placeholder pages that did not exist; a dreaming pass filled them in and added an index.

The general idea: give agents raw transcripts and let offline compute turn them into better representations. You can read more about the product version in our post on [Managed Agents dreaming and outcomes](/blog/claude-managed-agents-dreaming-outcomes-multi-agent), and the same theme appears in Martin's [long-horizon tasks talk](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026).

## Our Take

Both stories argue the same thing: **stop over-specifying.** Do not design the coordination protocol for a frontier multi-agent team; give it Git, a database and good monitoring. Do not design the memory schema; give it a directory, let it write, then spend offline compute to clean up.

What you should still specify, carefully, is the outside of the box: sandboxing, network limits, monitoring, and a verifier that cannot be argued with. In the Fermat run that verifier was Lean. In your system it might be a test suite or an eval. Without it, emergent coordination is just emergent confusion.

---

## FAQ

### How did 1,000 Claude agents coordinate on Fermat's Last Theorem?

Each agent had only Git and a SQL database. The lead agent created its own tables for announcements, assignments, notes, subtasks and landed work, and the team coordinated through them over about 30 hours.

### What is dreaming for AI agents?

An offline process where the agent reflects over past transcripts and memory notes to correct mistakes, fill gaps, build representations like wikis, and promote key memories into future context.

### Do weaker models benefit from memory?

In Anthropic's Continued Learning Bench results, Sonnet 4.6 gained little from a memory directory because it did not reliably decide when to write or read. Newer, stronger models gained much more with the same instruction.

## Sources

- [1,000 Claude Agents Formalized Fermat's Last Theorem - video](https://www.youtube.com/watch?v=wrfbI5eyLAI)
- [Lean theorem prover](https://lean-lang.org/)
- [New in Claude Managed Agents: dreaming and outcomes](https://claude.com/blog/new-in-claude-managed-agents)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Anthropic's Fermat Proof Is an Autoformalization Milestone](/blog/anthropic-fermat-lean-autoformalization-2026)
- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Why One Agent Is Not Enough, and How to Run 1,000](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Agent Memory Architectures Explained](/blog/agent-memory-architectures-explained)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Multi-Agent</category>
      <category>Agent Memory</category>
      <category>Formal Verification</category>
      <category>Claude Fable</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/blog-read-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours]]></title>
      <link>https://www.developersdigest.tech/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026</guid>
      <description><![CDATA[Lance Martin of Anthropic on building long-horizon agents: decouple the brain from the hands, verify in a separate context, dream to fix memory, and go org-level.]]></description>
      <content:encoded><![CDATA[
Lance Martin works on the Claude Platform at Anthropic, including Claude Managed Agents. At the AI Engineer World's Fair 2026 they gave a 25-minute talk on what changes when a model can work unattended for many hours instead of a few minutes. It is one of the most compact statements of how Anthropic is thinking about agent architecture right now, and it is worth watching in full.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/9QebvrrY3KY" title="Claude for Long-Horizon Tasks - Lance Martin, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Claude for Long-Horizon Tasks](https://www.youtube.com/watch?v=9QebvrrY3KY), Lance Martin, AI Engineer World's Fair 2026. Talk page with slides and corrected transcript: [ai.engineer](https://ai.engineer/talks/9QebvrrY3KY-claude-for-long-horizon-tasks).*

What follows is our read of the talk: the four themes, what we think they mean for people building agents, and where we would push back.

---

## The Window Has to Move With the Light

Martin opens with a metaphor. The model is a light source; products are windows that let the light through. When the light changes, the old window stops showing what the model can do.

They sketch three regimes using [METR's task-horizon measurements](https://metr.org/time-horizons/) (which measure how long a task takes a human expert, at a given agent success rate, not how long the agent runs):

1. **Minutes of autonomy (roughly the Opus 3 era, 2024).** Autocomplete and chat make sense because the human steers after every small unit of work.
2. **About an hour (the synchronous coding-agent era).** Claude Code runs locally where you can watch and intervene. Martin admits that early asynchronous agents in this regime felt bad: the agent leaves, hits an error, and is back in your inbox ten minutes later.
3. **Many hours (now).** Delegation finally pays off because the agent can get a lot done between check-ins.

The API surface tracked the same curve. The Messages API is prompt in, response out, and you build and deploy your own harness. The Agent SDK hands you Claude Code's harness to call programmatically. Managed Agents, released in April 2026, packages the harness and the deployment infrastructure together. The rest of the talk is the set of ideas underneath that last layer.

The practical takeaway: if your product UX was designed when agents could only do an hour of work, it is probably the wrong window now.

## Theme 1: Decouple the Brain From the Hands

The first Managed Agents prototype put the harness and the sandbox in the same container. Two problems showed up:

- **Fragility.** If the container died, the session died with it. For a ten-hour run that is unacceptable.
- **Credential exposure.** Leaving secrets in the same box as a highly capable model that runs unwatched for hours is, in Martin's word, "spooky."

The fix splits the system into three parts:

```mermaid
%% title: Brain, session and hands in Managed Agents
flowchart TD
  H[Harness: stateless brain]:::emphasis --> S[Session: append-only event log]
  H --> C1[Container A]
  H --> C2[Container B]
  V[Credential vault] -.-> H
```

The harness is a stateless process. The session is an append-only event log. The "hands" are just sandboxes where tools run, and a single harness can drive many of them. If a harness or a sandbox dies, nothing is lost because the session survives, and credentials live in a separate vault rather than in any sandbox. Anthropic's engineering blog has the long version: [Scaling Managed Agents: Decoupling the brain from the hands](https://www.anthropic.com/engineering/managed-agents).

The part we found most interesting is the context-engineering consequence. Martin connects it to the [Recursive Language Models](https://arxiv.org/abs/2512.24601) work: if the session is a persistent, never-rewritten object the model can query, then compaction stops being destructive. Normal compaction throws away whatever did not make the summary. Here the summary is just a view, and the model can always go back and fetch the original events.

That is a real design rule you can apply today even without Managed Agents: **keep the raw log, treat summaries as a cache.** If your agent framework overwrites history when it compacts, you have built in a slow memory leak of exactly the details you will need at hour six.

## Theme 2: Verify in a Separate Context

The second theme is one most agent builders have learned the hard way. Ask a model to do the work and then grade the work in the same context, and you get confabulation. The context is full of the model's own reasoning, and it is not tuned to be critical.

Anthropic's answer is to give verification its own context window, with its own goal or rubric, and loop:

1. A build context does the work.
2. A verifier context checks it against a measurable end state.
3. The loop exits only when the independent verifier is satisfied.

In Claude Code the primitive is a goal; in Managed Agents it is called outcomes. Same idea.

Martin's demonstration was OpenAI's [Parameter Golf](https://github.com/openai/parameter-golf/blob/main/README.md) challenge, which asks a model to train a small language model on eight H100s in under ten minutes, scored on loss. They set up an outcomes loop with Managed Agents and let frontier Claude models iterate until the benchmark's experimental criteria were met. They report it finished in exactly twenty iterations.

Their framing of why this works is the line we would put on a sticky note: instead of the human being the source of steering, **you encode the signal into the environment**, so the model can self-correct when the verifier pushes back. We have written about the same shift in [loop engineering](/blog/loop-engineering-definitive-guide); this talk is a good argument that it gets stronger, not weaker, as models improve.

## Theme 3: Self-Learning, and Why Agents Need to Dream

Martin borrows from neuroscience. During the day the hippocampus writes fast, short-term traces. At night, an offline process consolidates the important parts into long-term memory and lets the rest fade.

Claude agents can use both halves:

- **In-band memory.** Give the model memory tools, which in practice means a directory it can write files to. Martin shows Claude Plays Pokemon: Sonnet 3.5 wrote tactical, low-value notes and made limited progress; newer models write strategic notes and get much further. They also cite an open benchmark they ran (Continued Learning Bench) where a sequential SQL question-answering task improves across model generations when memory writes are allowed between steps.
- **Out-of-band memory ("dreaming").** In-band memory has a flaw: notes written mid-task are locally optimal. They help finish the current task, sometimes encode a wrong lesson, and rarely consider future tasks. Dreaming is an offline pass over past sessions and the memory store that corrects and consolidates. Anthropic shipped this as a Managed Agents feature; see [Dreaming and outcomes in Managed Agents](https://claude.com/blog/new-in-claude-managed-agents) and our earlier write-up on [dreaming and outcomes](/blog/claude-managed-agents-dreaming-outcomes-multi-agent).

Their key observation on what separates stronger models: the difference is mostly in **distillation**. Weaker models save specific facts. Stronger models save the abstraction that will generalize to the next session.

### Do not prescribe a memory schema

The best part of the Q&A came from a question about file systems versus databases. Martin's answer: the substrate barely matters. What hurts performance is telling the model in advance what types of memories to save. A general, programmable substrate (files, or a database with simple primitives) that the model structures itself beats a hand-designed memory taxonomy. They call this "Bitter Lesson-pilled."

That cuts against a lot of current memory products, which ship with fixed categories like preferences, facts and episodes. If you are evaluating a [memory provider](/blog/best-ai-agent-memory-providers-2026), this is a good question to ask it: can the model reorganize memory itself, or is it filling in your form?

## Theme 4: Org-Level Harnesses

The last theme is about [Claude Tag](https://www.anthropic.com/news/introducing-claude-tag). Martin acknowledges that a lot of people looked at it and saw "a Slackbot." Their argument is that the Slack surface is the least interesting part. What matters is that it is an **organization-level harness**:

- It has its own identity and credentials, not tied to one employee.
- It has organizational context, not just one person's local setup.
- Everyone gets a fully configured harness on day one, instead of new hires spending weeks wiring up their own connectors.

They predict two UX shifts follow: agents become **proactive** (watch org context and tell me what I need to know) and **multiplayer** (many people steering one harness at once). Our deeper look at the product is in [Claude Tag as an agent workspace](/blog/claude-tag-slack-agent-workspace).

## Why the Frontier Gap Is Not Just the Model

An audience member asked why frontier models hold a lead on long-horizon benchmarks. Martin noted that both frontier Claude models and OpenAI's recent Codex models sit in what they called the twelve-plus-hour regime on METR, and then made the more useful point: long-horizon agents need memory, prompt-injection resistance, a failure-tolerant architecture and security, all at once. Frontier labs have invested in all of those, which may explain part of the product gap.

## Our Take

This is a talk about infrastructure dressed up as a talk about models. The four themes are really four places where a naive agent loses work over a long run: a dead container, a self-graded result, a wrong lesson stuck in memory, and a harness that only one person can use.

Two things to apply this week, whatever stack you are on:

1. **Make history append-only.** Summaries are views; the log is the truth.
2. **Split the grader from the worker.** Even a cheap second context with a crisp rubric beats asking the same context "are you done?"

Where we would push back: dreaming costs offline compute, and the evidence shown on stage was mostly anecdotal (Pokemon). Martin says Anthropic has run evals showing it helps, but you should run your own before paying for it on every agent.

---

## FAQ

### What does "decoupling the brain from the hands" mean?

The harness (the brain) runs as a stateless process, the session is stored as an append-only event log, and tools execute in separate sandboxes (the hands). If any piece fails the session survives, and credentials never sit inside a sandbox.

### What is dreaming in Claude Managed Agents?

An offline process that reviews past sessions and the agent's memory store, then corrects and consolidates memories. It fixes notes written mid-task that were locally useful but wrong or too narrow for future tasks.

### Should agent memory live in a file system or a database?

According to Martin, either works. What matters is giving the model a general substrate with simple primitives and letting it structure memory itself, rather than prescribing a fixed memory schema.

## Sources

- [Claude for Long-Horizon Tasks - video](https://www.youtube.com/watch?v=9QebvrrY3KY) and [talk page](https://ai.engineer/talks/9QebvrrY3KY-claude-for-long-horizon-tasks)
- [Scaling Managed Agents: Decoupling the brain from the hands](https://www.anthropic.com/engineering/managed-agents) - Anthropic Engineering
- [METR task-completion time horizons](https://metr.org/time-horizons/)
- [Recursive Language Models](https://arxiv.org/abs/2512.24601)
- [Introducing Claude Tag](https://www.anthropic.com/news/introducing-claude-tag)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Claude Managed Agents: An Honest Review](/blog/claude-managed-agents-honest-review)
- [Dreaming, Outcomes and Multi-Agent in Managed Agents](/blog/claude-managed-agents-dreaming-outcomes-multi-agent)
- [Long-Running Agents Need Harnesses](/blog/long-running-agents-need-harnesses)
- [The Definitive Guide to Loop Engineering](/blog/loop-engineering-definitive-guide)
- [Agent Memory Architectures Explained](/blog/agent-memory-architectures-explained)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Claude Managed Agents</category>
      <category>Agent Memory</category>
      <category>AI Engineer World's Fair</category>
      <category>Agent Architecture</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/apps-ecosystem-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models]]></title>
      <link>https://www.developersdigest.tech/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026</guid>
      <description><![CDATA[Anthropic's Lance Martin on why most apps sit inside the cost-quality frontier: prompt debt, broken prompt caching, climbable evals and hill climbing without overfitting.]]></description>
      <content:encoded><![CDATA[
Most teams treat cost and quality as a straight tradeoff: pay more for a bigger model and you get better results. In this hour-long AI Engineer session, Lance Martin of Anthropic argues that most applications are not even on that tradeoff curve. They sit inside it, paying too much for too little, because of a handful of fixable misconfigurations.

The talk is short on slides and long on Q&A, and it is one of the more directly actionable talks Anthropic has given.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/ys6YQ2yfBpM" title="Your Old Prompts Are Making Claude Worse - Lance Martin, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Your Old Prompts Are Making Claude Worse](https://www.youtube.com/watch?v=ys6YQ2yfBpM), Lance Martin, Anthropic, AI Engineer. Figures are as reported in the talk.*

---

## The Frontier You Are Not On

Picture a chart with cost on one axis and quality on the other. Fable sits at the top right, then Opus, Sonnet and Haiku below. Those models trace a Pareto frontier. Martin's claim is that most production apps sit well inside it: you could get the same quality for less, or more quality for the same money, by fixing configuration rather than switching models.

They walk through the fixes in order.

## Fix 1: Audit Your Prompts for Debt

Prompts accumulate debt like code does. Techniques that helped older models are now dead weight or actively harmful:

- **"Think step by step."** Frontier models decide when and how to think on their own.
- **Verification rituals** like "double-check your work." They already verify.
- **Thoughtfulness boosters** like "be maximally thorough." They are already thorough, and the booster just burns tokens.
- **Prescribed scratchpads** telling the model where and how to think.
- **Contradictory rules.** Older models with weaker instruction following would quietly ignore one of two conflicting rules, so the prompt "worked." Frontier models try to honor both and get confused.

The cost is double: more tokens spent, and sometimes worse output. This matches what Anthropic's Claude Code team found when it cut most of its own system prompt; see [Claude 5 context engineering rules](/blog/claude-5-context-engineering-rules-hn-analysis) and Thariq Shihipar's [field guide to Fable](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026).

Martin's practical recommendation is the prompt-audit capability in the claude-api skill bundled with Claude Code, which scans prompts, tools and skills in your working directory for these anti-patterns and removes them. They showed it invoked from Claude Code both through the configuration checkup and through the claude-api skill; check the current Claude Code docs for the exact command names on your version.

Their evidence was a synthetic eval of about 50 customer support tickets. They simulated a migration from Opus 4.8 to Opus 5.5 with each anti-pattern injected. Migrating alone gave some cost savings and a small quality bump. Running the prompt audit on top gave a further improvement in both cost and quality, mostly by removing rituals that made Opus 5.5 spend excess tokens.

## Fix 2: Actually Hit the Prompt Cache

This is basic, and Martin's point is that people still get it wrong. Agents run many turns, each adding a little to a mostly repeated context. Cached input tokens are billed at a fraction of the base rate (they cited roughly a tenth; check the [pricing page](https://www.anthropic.com/pricing) for current numbers) and are faster.

The trap: **the cache is a strict prefix match.** Change a single byte early in the prompt and everything after it misses.

They suggest layering prompts from most stable to least:

| Layer | Cache scope |
| --- | --- |
| System instructions and tool definitions | Global, across all sessions |
| Project files like CLAUDE.md and memory | Per project |
| Session state | Per session |
| Messages | Grow each turn |

The Claude Console shows your cache hit rate per application, and the Claude Code team tracks its own hit rate "religiously." The same claude-api skill includes a caching diagnostic that looks for prompt structures that break the prefix.

The number that stood out: when Martin and Anthropic's applied AI team ran that diagnostic on internal benchmarks with default harnesses, they found **cost reductions of up to 72% with no meaningful change in performance**, because those harnesses were not caching properly. That is free money. Our deeper analysis is in [Fable 5 prompt caching economics](/blog/fable-5-prompt-caching-economics).

## Fix 3: Build an Eval Claude Can Climb

Frontier Claude models are very good at self-correction: give them a well-structured eval and they will hill climb on it autonomously. The catch is that the eval has to be climbable. Martin's checklist for a healthy eval:

1. **Bigger model, higher score.** Stepping from Haiku to Sonnet to Opus should improve results.
2. **More thinking, higher score.** Raising the thinking budget should help.
3. **Headroom at the frontier.** The best model should not be saturated.
4. **Low run-to-run variance.**

The common failure is ambiguous tasks. Many popular evals contain cases nobody can solve, so a score looks like it has 20 points of headroom when it actually has none. You then spend tokens climbing a hill that is already flat.

Their suggested tool is the eval-building workflow in the same claude-api skill. It is not opinionated about where data lives: point it at your traces, describe the problem, and it walks you through building and sanity-checking a dataset and grading criteria.

## Fix 4: Hill Climb Without Overfitting

Once the eval is good, let Claude improve your harness or prompts against it. The danger is **overfitting to the eval distribution**:

- A task in the eval needs OCR, so the harness grows an OCR tool that production never needs.
- The prompt drifts toward distinctive phrasing from your eval examples that does not appear in real traffic.

Keep a held-out set, review what the climber changed, and be suspicious of changes that only make sense for specific eval items.

## The Q&A Worth Hearing

- **Very long hill-climbing runs** need harnesses that stay reliable for hours or days; Anthropic uses Managed Agents internally. Expect more infrastructure and slower signal.
- **Multi-turn evals** are usually necessary for agents. You can grade whole trajectories or final outcomes; both philosophies have merit.
- **Context engineering that actually improves reliability:** decoupling the brain from the hands, so the context object lives outside the harness and survives compaction. They credit the Recursive Language Models work. The same idea anchors their [long-horizon tasks talk](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026).
- **Judgment-based tasks** without easy verification need extra care in eval design: clear grading scales, multiple models validating results, low variance. If you tell a model to optimize a poorly structured eval, "it's not the model's fault."
- **Keeping evals current:** your old evals should show scores rising with each model generation. If they do not, question the eval. Building evals hard enough for today's best models is itself hard.
- **The production loop** they recommend: online evaluators score live traces, poor scores get pulled into an offline set, you climb on those, and passing cases become regression tests. Several observability vendors offer this outer loop.

## Our Take

This talk is a reminder that the cheapest model upgrade is often deleting things. If your prompts were written for Claude 3.5 or 4, they likely contain rituals that now cost you tokens and accuracy. If your agent's cache hit rate is not something you track, you are probably leaving a large share of your bill on the table.

A one-afternoon plan: check your cache hit rate in the console, strip "think step by step" style boosters and contradictory rules from your system prompt, rerun your eval, and confirm the eval itself scales with model size. If it does not, fix the eval before you fix anything else.

---

## FAQ

### Why would old prompts make Claude worse?

Techniques like "think step by step," verification rituals and thoroughness boosters were designed for older models. Frontier models already think and verify, so these instructions add tokens, and contradictory rules can confuse models that follow instructions closely.

### How much can prompt caching save?

Martin reported that fixing caching on internal benchmark harnesses cut costs by up to 72% with no meaningful performance change. Cached tokens are billed at a fraction of base input pricing, but any change to the prompt prefix invalidates the cache.

### What makes a good eval for hill climbing?

Scores should rise with model size and thinking budget, the best model should have headroom, run-to-run variance should be low, and ambiguous tasks that no model can solve should be removed.

## Sources

- [Your Old Prompts Are Making Claude Worse - video](https://www.youtube.com/watch?v=ys6YQ2yfBpM)
- [Anthropic pricing](https://www.anthropic.com/pricing)
- [Prompt caching documentation](https://docs.claude.com/en/docs/build-with-claude/prompt-caching)
- [Recursive Language Models](https://arxiv.org/abs/2512.24601)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Fable 5 Prompt Caching Economics](/blog/fable-5-prompt-caching-economics)
- [Claude 5 Context Engineering Rules](/blog/claude-5-context-engineering-rules-hn-analysis)
- [Evaluating AI Agents in Practice](/blog/evaluating-ai-agents-in-practice)
- [A Field Guide to Fable: Thariq Shihipar](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Prompt Engineering</category>
      <category>Prompt Caching</category>
      <category>Evals</category>
      <category>Claude API</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/guides-paths-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely]]></title>
      <link>https://www.developersdigest.tech/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026</guid>
      <description><![CDATA[Lydia Hallie of the Claude Code team on how best practices moved from the human to the model, harness and environment: auto mode, deny rules, sandboxes, exit-code-2 hooks and orchestrators.]]></description>
      <content:encoded><![CDATA[
Lydia Hallie works on the Claude Code team at Anthropic. Their AI Engineer talk, which they re-recorded at home after technical difficulties on stage, answers a question every heavy Claude Code user is hitting: the best practices from earlier in the year were about steering, approving and checking. If you are no longer in the loop for any of that, what replaces you?

Their answer: nothing disappeared. Each practice moved to the model, the harness or the environment.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/vlfCjWuv4es" title="Rethinking Claude Code Best Practices - Lydia Hallie, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Rethinking Claude Code Best Practices](https://www.youtube.com/watch?v=vlfCjWuv4es), Lydia Hallie, Anthropic, AI Engineer. For exact settings syntax, use the [Claude Code docs](https://docs.claude.com/en/docs/claude-code/overview).*

---

## Then and Now

Early in 2026 a typical session used Opus 4.5. It was good for its time but stopped early, needed constant correction, and accumulated "IMPORTANT!" lines in CLAUDE.md. Without auto mode, you either approved every command or took the risky route of skipping permissions entirely.

Now, at least inside Anthropic, sessions look different: dozens running in parallel for hours, verifying their own results, some orchestrating others. Engineers have become managers of sessions. Hallie cites Anthropic's post about going from roughly 2,500 changes a day in May to more than 30,000 a day in September (covered in Addy Osmani's talk on [how Anthropic merges 30,000 changes a day](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)).

The old best practices were about steering sessions, approving commands, restricting what Claude could do, checking output and starting sessions. Wherever you step out of that loop, something else must take over.

## Step 1: Use Today's Defaults

Start by updating the defaults: Opus 5.5 (their daily driver; Fable 5.2 had just launched) and auto mode, which Anthropic made the default permission mode in August.

Then **clean up CLAUDE.md.** Emphatic "IMPORTANT" and "NEVER" lines written for older models can now send the model off track, causing more tool calls and worse results. CLAUDE.md should contain only what Claude cannot see from the code, like a service that still depends on a legacy source not referenced anywhere. Your stack and where to look are discoverable. They point to a prompt-audit command in Claude Code that checks CLAUDE.md and skills against what the current model no longer needs. This echoes Lance Martin's talk on [old prompts making Claude worse](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026).

### Tune auto mode in plain English

Auto mode runs a separate classifier on almost everything other than reading and editing project files. It allows obviously safe commands like running tests or installing dependencies and blocks ones it is unsure about. By default it trusts only the current folder and repo, so "ship this to staging" might be blocked when it needs to push to a deploy repo.

If you are approving a lot even in auto mode, configure it in your settings in plain English: which repos, buckets and domains you trust, and what it should always allow or never do. That text is what the classifier sees. More detail in our [auto mode explainer](/blog/claude-code-auto-mode-explained).

## Step 2: Keep It Safe

Getting out of the loop is easy. Making it okay that you are gone is the hard part.

### Auto mode is better than you, but not a guarantee

Hallie cites an Anthropic study from August: when humans were in the loop, only about **14%** caught a clearly dangerous command. Auto mode blocked **89%**. Far better than people, but about one in ten still got through. Guarantees only come from the harness.

### Deny rules still matter

A deny rule is checked **before** the auto mode classifier; a tool call matching a deny rule never reaches it. Their rule for deciding what needs a deny rule mirrors the undo test from Sachin Malhotra's [budget, not a token](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026) talk: **if Claude gets this wrong once, can I take it back?** Wrong code can be reverted, so leave it to the model. Discarding uncommitted changes, or reading a secret into the transcript, cannot be undone, so it should be a rule. Example: auto mode is fine with reading `.env` by default. If you never want that, add a deny rule. See also [deny instead of prompting](/blog/claude-code-deny-instead-of-prompting-2026).

### Permissions cannot see side effects; sandboxes can

`npm test` is a normal command and auto mode runs it. But it executes code you did not write: dependencies, or a quick script Claude wrote. A compromised dependency could read `.env` or your SSH keys and send them to an unknown server. A human approver would have clicked allow too, because there was nothing visible to refuse.

Permissions decide whether a tool call runs. They cannot limit what it reaches once running. A **sandbox** can: the operating system enforces which files a command may read, which folders it may write and which hosts it may reach, including for every child process. With sandboxing on, the same deny rule is passed down to the OS, so when the dependency tries to open `.env`, it simply cannot. By default most of the machine is still readable, so add rules for things like SSH keys.

### For long runs, use a cloud session

The sandbox covers shell commands, but Claude Code's own files, MCP servers and hooks still run on your machine. The cleanest option for multi-hour work is a cloud session: its own machine, a fresh clone of the repo, and it keeps running with your laptop closed. Secrets like `.env`, SSH keys and your GitHub token are not there because they are not in git. If the task needs an API key, add it as a network secret so it can be used without being sent to the model. Network access defaults to package registries and GitHub; add other domains explicitly.

The machine is disposable, but what leaves it is not: pushed commits, messages sent through connectors. So keep auto mode and commit your deny rules to the repo so they come along, to catch things like force pushes or secrets in commits.

## Step 3: Verify

When you approved every step, you knew the work was good because you had seen every change. Now Claude works for hours and you will not read every file.

Even with a clear prompt, Claude makes many small decisions. Ask it to move auth to a new API and one run might leave the old API in place, another might only migrate new logins, and a third might log everyone out. All plausible. The fix is **verification points along the way**: anything that returns pass or fail, such as tests, a build or a screenshot. Reviewing those is much faster than reviewing the full diff, and a run that logs everyone out never gets past the first check.

Ways to set them up, from soft to hard:

- **In the prompt:** describe what done looks like, ask Claude to split work into tasks each with its own tests, and ask it to show you actual output since you were not there.
- **Hooks,** for checks that must run: lint on every file edit, run the relevant tests when a task is marked complete (touching auth means passing auth tests), and run the full suite before the session ends.

The gotcha they highlight: most tools exit with code 1 on failure, but **a hook exiting with 1 lets Claude Code mark the task complete anyway. Exit with code 2** to send Claude back to fix it. See the [hooks reference](https://docs.claude.com/en/docs/claude-code/hooks) for exact behavior.

## Step 4: Scale Out With CI and an Orchestrator

With cloud sessions, each run has its own machine, so you do not have to juggle worktrees. You still start and review each session yourself, which is already a good place to be.

The next step is making **CI** the thing that checks every PR, no matter how the session was set up. With CI autofix, Claude sees failing checks and fixes them, so your review time is not spent on what a check could catch. For low-risk changes you can enable merge-when-ready so GitHub merges once checks pass.

On Hallie's team, every PR is first reviewed by Claude, not the session that wrote it, with fresh context and a separate group of agents double-checking each bug it finds. Then human review scales with risk: docs and copy changes need no person once checks are green, ordinary product changes get one reviewer, risky changes get two.

Finally, **stop starting sessions yourself.** Claude Code projects, in beta, give you one orchestrator session: you say what needs doing, it splits the work and starts a session (a "thread") per task, verifies what comes back, and sends unfinished work back. You talk to one session instead of eight. Use a model good at judgment for the orchestrator, like Fable, and a model good at doing the work for threads, like Opus 5.5; you can set them separately. Context management is handled for you.

## Where Each Old Practice Went

| Old best practice | Who does it now |
| --- | --- |
| Steering the session | The model |
| Approving commands | Auto mode, plus your deny rules |
| Restricting what is possible | The environment: sandbox or cloud session |
| Checking the output | Tests, hooks and CI |
| Starting sessions | An orchestrator session |

Their suggested experiment: take one task much bigger than you would normally give Claude, make sure CI catches what you care about, spend time configuring the environment (network access, secrets, setup scripts), start it in the cloud, and watch where it gets stuck or pulls you back in. That is the next thing to hand over.

## Our Take

This is the best single summary of how Claude Code usage has changed in 2026. The table above is worth pinning. The two details most people get wrong are both small: deny rules for irreversible actions are still essential even with auto mode, and hook scripts must exit with code 2 to actually block completion.

---

## FAQ

### Do I still need deny rules if I use auto mode?

Yes. Auto mode blocked about 89% of clearly dangerous commands in Anthropic's study, not all of them. Deny rules are checked before the classifier and are the only guarantee for actions you cannot undo.

### Why does my Claude Code hook not stop a task from completing?

If the hook script exits with code 1, Claude Code can still mark the task complete. Exit with code 2 to send Claude back to fix the failure.

### What should go in CLAUDE.md now?

Only what Claude cannot discover from the code itself, such as hidden dependencies or legacy systems not referenced in the repo. Emphatic instructions written for older models can hurt results.

## Sources

- [Rethinking Claude Code Best Practices - video](https://www.youtube.com/watch?v=vlfCjWuv4es)
- [Claude Code documentation](https://docs.claude.com/en/docs/claude-code/overview)
- [Claude Code hooks reference](https://docs.claude.com/en/docs/claude-code/hooks)
- [Auto mode safety evaluations and default rollout](https://claude.com/blog/auto-mode-default-in-claude-code)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Claude Code Auto Mode Explained](/blog/claude-code-auto-mode-explained)
- [Deny Instead of Prompting in Claude Code](/blog/claude-code-deny-instead-of-prompting-2026)
- [How Anthropic Merges 30,000 Code Changes a Day](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Claude Code</category>
      <category>Agent Security</category>
      <category>Best Practices</category>
      <category>AI Engineer</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/apps-ecosystem-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude]]></title>
      <link>https://www.developersdigest.tech/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026</guid>
      <description><![CDATA[Instagram co-founder Mike Krieger on leaving the CPO job to build at Anthropic Labs, porting a Python codebase to TypeScript in a weekend, Claude Tag and avoiding burnout.]]></description>
      <content:encoded><![CDATA[
Mike Krieger co-founded Instagram, then spent two years as Anthropic's chief product officer. In 2026 they stepped back into an individual-contributor role at Anthropic Labs. At the AI Engineer World's Fair 2026, in a fireside chat with conference host swyx, they talked about why they made the switch, how Anthropic actually works day to day, and what they tell people who are close to burning out.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/qqrk7CtkuIw" title="How Anthropic Builds: Lessons from Labs - Mike Krieger, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [How Anthropic Builds: Lessons from Labs](https://www.youtube.com/watch?v=qqrk7CtkuIw), Mike Krieger, AI Engineer World's Fair 2026.*

---

## From CPO to IC: FOMO as a Career Signal

Krieger is honest about why they left the CPO job: FOMO. As an executive, their use of Claude was writing a strategy doc and asking Claude to critique it. Useful, but not the same as building. They were spending weekends building and decided the interesting work was on the IC side. They note it is a broader pattern: several former CTOs have joined labs as ICs.

The timing matters. They switched around the time internal snapshots of what became Mythos and Fable were circulating, and the way they worked changed with them:

- **Before:** break the idea down in your head the way you would for normal engineering, then walk the model through each step.
- **After:** describe the end state, let the model go, then discuss the tradeoffs it surfaced and where it landed.

They admit the new models sometimes come back with work they need explained "like I'm a little dumber than you are." That is a real shift in the job. Reviewing agent output now includes asking the agent to teach you what it did. We covered that dynamic in [the agent comprehension problem](/blog/armin-ronacher-coming-loop-agent-comprehension).

## Be Unreasonable

The phrase that came up repeatedly is "be unreasonable," which Krieger credits to their colleague Thariq Shihipar. Their argument is that the first generation of AI products put the model in a box. If it can write code but not run it, or look around its environment but not really act, users learn to ask for small things.

That is why products like Cowork give knowledge workers a virtual machine that can run bash. On paper, a typical office worker does not need a bash-capable VM. In practice it means that when the built-in PDF parser fails, the model can write a script to parse the PDF another way. Capability headroom is what makes ambitious requests possible.

Their own "unreasonable" example: a Labs project written in Python, a couple hundred thousand lines, which they wanted on TypeScript so it could use the same Bun-based deployment story as Claude Code. With a 2010s engineering hat on, that port is a terrible idea. Instead they built a dynamic workflow, let it port, verify and cross-check over a weekend, and came back Monday to a working, deployable TypeScript version.

If you want to try the same pattern, start with our [dynamic workflows guide](/blog/claude-code-dynamic-workflows-guide). For the far end of what agent fleets can do on a rewrite, see Jarred Sumner's talk on [shipping millions of lines of agent-written code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026).

## Production Data Beats Guesswork for Ports

Asked whether you could port a product like Instagram the same way, Krieger reached back to an Instagram tool called MonkeyType. When Python got type hints, Instagram captured the types actually observed at runtime in production and mapped them back onto the codebase.

They think the same idea applies to LLM-driven conversions: lean on production data, run segmented tests, and above all find the boundary that lets you migrate **incrementally** instead of swapping the whole system overnight.

## Measure Everything, Make Everything a Knob

Two pieces of scaling advice from Instagram's chaotic first week have stuck with them for fifteen years:

1. **Pre-measure everything you might remotely need.** The worst outage is the one where you cannot tell whether a number is normal because you only just added the metric.
2. **Invest early in feature flags, ramps and dynamic config.** Instagram could change runtime configuration in seconds to shed load. They see the same need in AI products, where you are constantly making tradeoffs that need to be adjustable at runtime.

Neither is new advice. What is new is that agents make it cheaper than ever to add both, so there is less excuse to skip them.

## How Anthropic Actually Works: Tag, Not Just Claude Code

Krieger was clearly happy that [Claude Tag](/blog/claude-tag-slack-agent-workspace) is public, because it finally lets them describe how Anthropic works. Claude Code is used for high-bandwidth interactive iteration. But most internal usage, they said, is **delegation through tagging Claude in Slack.**

The part they find most powerful is that it is multiplayer. They compare it to Midjourney's early days on Discord, where everyone learned by watching everyone else. The first time they saw a colleague tag Claude with something like "you now own this part of the codebase, monitor this feedback channel, proactively take tasks, and handle it if this API changes," they realized they had been using it as "a glorified Claude Code in Slack."

The progression they describe is a useful maturity model for any team adopting agents:

1. Agent as a chat tool you ask for one-off tasks.
2. Agent as a delegate you hand whole tasks to.
3. Agent as a teammate that holds context, has memory, and acts proactively on an area it owns.

Lance Martin made the architectural version of the same argument in their [long-horizon talk](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026), calling Tag an org-level harness.

## Code Was Never the Bottleneck

On whether cheap code kills startups, Krieger is still bullish. Writing code was never what made or broke a startup. It was understanding the problem space and the users. Domain knowledge remains the moat.

On finance specifically, they see the hard problem as combining two things that pull against each other: the flexibility for a model to build just-in-time analyses and dashboards, and a verified, auditable, provenance-tracked core of data. Systems built for auditability tend to be rigid by design, which leaves room for new products on both sides of the stack.

## On Burnout

The chat ended on mental health, and this was the part that drew applause. Krieger's points:

- **Take real time off.** No job is so important you cannot be offline for a couple of days. If yours is, something is wrong and you should talk to a mentor.
- **You are never as good as your best game or as bad as your worst.** The "it's so over, we're so back" cycle is permanent; internalize it and the lows feel less final. They recommend the "we're done" chapter of Ben Horowitz's *The Hard Thing About Hard Things*.
- **Name the feeling out loud.** Their coach's advice: if you feel it, others on the team probably do too. They once opened a meeting about shutting down a Labs project by saying they were sad and frustrated, which let everyone else say the same and move on to what to do next.
- **It is a long game.** Do not let your sense of self ride on today's model launch.

## Our Take

The practical lesson is not "port your codebase in a weekend." It is that the ceiling on what you get from agents is set by what you are willing to ask for, and by whether your product gives the model enough room to say yes. If your agents only ever get small, safe tasks, you will never find out what they can do.

The cultural lesson is that Anthropic's own workflow has moved from individual coding agents to a shared, multiplayer agent with ownership of real areas. That is a preview of where a lot of engineering teams are going.

---

## FAQ

### What does Mike Krieger do at Anthropic now?

After two years as chief product officer, they moved to an individual-contributor role at Anthropic Labs, where they build internal products and experiments.

### How do Anthropic engineers use Claude internally?

Krieger said Claude Code handles interactive, high-bandwidth work, but most usage is delegation by tagging Claude in Slack through Claude Tag, including giving it ownership of parts of the codebase and feedback channels.

## Sources

- [How Anthropic Builds: Lessons from Labs - video](https://www.youtube.com/watch?v=qqrk7CtkuIw)
- [Introducing Claude Tag](https://www.anthropic.com/news/introducing-claude-tag)
- [MonkeyType on GitHub](https://github.com/Instagram/MonkeyType) - Instagram's runtime type collection tool

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Claude Tag as an Agent Workspace](/blog/claude-tag-slack-agent-workspace)
- [Claude Fable, Claude Tag and Anthropic's Culture](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [How to Ship Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [Claude Code Dynamic Workflows Guide](/blog/claude-code-dynamic-workflows-guide)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Claude Tag</category>
      <category>AI Engineer World's Fair</category>
      <category>Engineering Culture</category>
      <category>Claude Fable</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/guides-paths-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions]]></title>
      <link>https://www.developersdigest.tech/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026</guid>
      <description><![CDATA[After an agent deleted 200 workloads in 90 seconds, Anthropic's CI team replaced scoped tokens with budgets: asymmetric verbs, refilling rate limits, tripwires and the undo test.]]></description>
      <content:encoded><![CDATA[
Sachin Malhotra is an engineer on Anthropic's CI team, which runs the test machinery for the whole company: test quarantining, merge automation, merge queues and CI autoscaling. Their AI Engineer World's Fair 2026 talk starts with an incident and ends with a set of primitives that any platform team putting agents into production should steal.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/rbjWzZK2LU0" title="Give the Agent a Budget, Not a Token - Sachin Malhotra, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Give the Agent a Budget, Not a Token](https://www.youtube.com/watch?v=rbjWzZK2LU0), Sachin Malhotra, Anthropic, AI Engineer World's Fair 2026.*

---

## 200 Workloads in 90 Seconds

Most agent demos start the same way: hand an agent a god token and a tool list, and watch it build and deploy a cute coffee website in seconds. Malhotra's talk is about what happens after the demo ships.

The incident: an agent was cleaning up after itself, listing workloads it no longer needed and deleting them. Reasonable. But one stage of the shell pipeline evaluated to nothing, the filter dropped out, and the selector matched **everything**. About 200 workloads belonging to roughly 20 engineers were deleted in 90 seconds. Some were long-running training jobs, possibly not checkpointed.

Nobody was malicious. The agent thought it was tidying up. And it had not done anything Malhotra could not have done themself, because it was using their token. The failure was not the model. It was **unbounded power with nobody watching.**

## Tokens Are Booleans. Budgets Have Dimensions.

The standard post-incident fix is to narrow the token: take away delete. Malhotra argues that works for a week or two, until the agent genuinely needs to delete something and you are back to pressing Enter by hand.

You would never onboard a junior engineer that way. You do not remove whole verbs from new hires; you make catastrophic actions structurally out of reach, give them an escalation path, and stop watching every keystroke. Agents differ in that they never sleep and are occasionally very confidently wrong. "If I'm being honest, that's maybe most of us in the first month of our jobs."

A token is a yes or no. A budget has four dimensions:

1. **How much** can the agent do?
2. **How fast** can it do it?
3. **What can it undo** on its own?
4. **Who is noticing** while it acts?

Each primitive below replaces a yes/no with a budget along one of those axes.

## Primitive 1: Asymmetric Verbs

Stop thinking about resources and think about **verbs**, the operations an agent can perform, and specifically about how each fails.

- Some verbs **fail loudly.** If an agent un-skips a test and it was the wrong call, CI goes red and a human fixes it cheaply. Paging a human by mistake is a nuisance, not a disaster.
- Some verbs **fail silently.** If an agent skips a test it should not have, nothing turns red. A real bug can walk into production with green checks.

Skip and un-skip look like the same size of action, but only one of them shows up on a dashboard when it goes wrong. **Give agents the loud verbs; keep a human on the quiet ones.**

At Anthropic, the test quarantine service holds the tests on-call engineers skipped during incidents. The agent may re-enable them freely. Skipping, a break-glass action, requires a human and always leaves an audit trail. Crucially, **the agent does not write its own audit record.** A proxy in the middle stamps the caller's identity on every call. The agent never holds the pen on its own provenance.

## Primitive 2: Rate Limits That Refill

Every write gets a ceiling that refills over time. Within the limit the agent has full autonomy: no approvals, no waiting. Cross it and the request bounces with the count; wait, and the budget refills. There are no exceptions to *having* a limit, only to its size. Deleting your own namespace's workloads might allow more than touching a shared namespace.

After the incident, a neighboring team built an admission webhook that caps deletes at a fixed number per hour, per resource kind, per namespace. There is a bypass flag for genuine on-call needs. The part Malhotra loves: inside a Claude Code or agent session, **the bypass flag refuses to work and tells the agent to ask the human to run the command.** The agent gets the rate limit, the human keeps the override, and because the limit refills, nobody files tickets.

That one control would have capped the original incident at a few dozen workloads instead of 200.

## Primitive 3: Tripwires Over Allow Lists

An allow list is a guess, written up front, about what the agent will need, before you have any data on how it behaves. A tripwire collects that data after the fact. For cheap actions, let the agent act, record every action with its stamped identity, and **watch the aggregate rather than individual calls.** When the pattern looks wrong, you learn something, and you fix what you can with a sentence in the agent's instructions.

## The Undo Test

The lens that sizes all three: **can this action be undone?** If yes, it can sit inside the agent's budget. If no, it needs a second key, one the agent does not hold, plus an audit record of why it was used. You cannot un-delete a running job in someone else's namespace, so anything past the rate cap there needs a human.

Their non-CI example is feature flags. The agent has a key for the canary environment (staging traffic and dogfooding customers) with the full dial: ramp a flag from 0 to 100%, watch incoming bugs, toggle it back. It has no key for production. The most it can do there is propose a promotion. The "second key" is not a new auth system, just separately scoped keys per environment. Day to day, Malhotra asks Claude Tag in Slack to own a rollout loop end to end, and every action is stamped with the agent's identity, not their.

## Text Explains, Infrastructure Enforces

Where does this policy live? In two places, and you need both.

| Layer | What it is | Strength | Weakness |
| --- | --- | --- | --- |
| Text | Prompts and context files the agent reads | Cheap to change, explains *why* | About 80% reliable in their experience, needs gardening, is only advice |
| Infrastructure | A proxy next to every agent session | Deterministic: count, compare, allow or return 403 | Cannot explain intent |

A clever prompt injection cannot talk a proxy out of a rule. Text shapes what the agent tries; infrastructure bounds how wrong it can go.

```mermaid
%% title: Identity is stamped by infrastructure, not the agent
flowchart TD
  A[Agent session] --> P[Per-session proxy: holds real credentials]:::emphasis
  P --> K[Cluster, CI, flag service]
  K --> L[Identity label inherited by child jobs]
  L --> Q[Quotas, rate limits, tripwires, approvals]
```

## Why Identity Must Come From the Proxy

The final point is the one Malhotra says everything else depends on. If the agent can set its own identity, say in a header, then the moment it hits a limit the easiest fix is to change the header and get a fresh budget. Your rate limit becomes a suggestion.

With a proxy holding the real credentials, the agent never says who it is. The proxy already knows, stamps every call, and adds a per-session ID so you can tell which of many sessions is misbehaving. Downstream, the cluster writes that stamp onto jobs as a label, child jobs inherit it, and ownership, quotas, rate limits, approvals and tripwires all key off that one label the agent never touched.

## Our Take

This is the most practical agent-security talk in the series, and it is notable for what it does not rely on: the model behaving well. Every control assumes the agent will sometimes be confidently wrong and makes the damage bounded and visible.

The four takeaways, in Malhotra's order:

1. Give agents verbs that fail loudly; keep humans on verbs that fail quietly.
2. Put a refilling ceiling on every write, so nobody needs to file tickets.
3. Watch the aggregate, not individual calls, and fix what you can with a sentence.
4. Use the undo test to size everything else.

And underneath all of it: identity comes from infrastructure, not from the request. For the developer-machine side of the same problem, see Lydia Hallie's [rethinking Claude Code best practices](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026), and our [agent security checklist](/blog/agent-security-checklist-before-connecting-tools).

---

## FAQ

### What does "give the agent a budget, not a token" mean?

Instead of a static yes/no token scope, bound an agent's power along several dimensions: how much and how fast it can act, what it can undo on its own, and who is watching, enforced by rate limits and an identity-stamping proxy.

### What is an asymmetric verb?

An action whose failure is visible in one direction but silent in the other. Un-skipping a test fails loudly in CI; skipping one can hide a bug behind green checks, so it needs a human.

### Why should a proxy stamp agent identity?

If the agent can declare its own identity, it can reset its rate limits by claiming a new one. A proxy holding the real credentials stamps every call, so limits and audit trails cannot be bypassed.

## Sources

- [Give the Agent a Budget, Not a Token - video](https://www.youtube.com/watch?v=rbjWzZK2LU0)
- [Kubernetes admission webhooks](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Agent Security Checklist Before Connecting Tools](/blog/agent-security-checklist-before-connecting-tools)
- [Agent Identity as a Security Layer](/blog/agent-identity-security-layer-ai-workflows)
- [Rethinking Claude Code Best Practices: Lydia Hallie](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [Tokens Should Have Jobs](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Agent Security</category>
      <category>Agent Permissions</category>
      <category>Platform Engineering</category>
      <category>AI Engineer World's Fair</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/guides-paths-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns]]></title>
      <link>https://www.developersdigest.tech/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026</guid>
      <description><![CDATA[Claude Code's Thariq Shihipar on working with Fable: capability overhang, a smaller system prompt, a four-box method for surfacing unknowns, and why to be less reasonable.]]></description>
      <content:encoded><![CDATA[
Thariq Shihipar works on Claude Code at Anthropic. They opened their AI Engineer World's Fair 2026 keynote by announcing that Fable was coming back, after its suspension and return, later that same day. The rest of the talk is their field guide to working with the new class of models: what changes, how to find the gaps in your own spec, and how to deal with the odd mix of gain and loss that comes with them.

Their metaphor for Fable is an RPG where you finish the tutorial and the open world unlocks. There is suddenly a lot you can do, and that is a little intimidating.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/9fubhllmsBU" title="Field Guide to Fable - Thariq Shihipar, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Field Guide to Fable](https://www.youtube.com/watch?v=9fubhllmsBU), Thariq Shihipar, AI Engineer World's Fair 2026.*

The talk has four parts: unhobbling Claude, finding your unknowns, dealing with the grief, and being unreasonable.

---

## Part 1: Unhobble Claude

Shihipar's starting point is that models are "grown, not designed." Anthropic does not set out to hit a specific benchmark score; it shapes models with data, feedback and compute, then learns what they can do by using them. The consequence is that **what limits a model in practice is usually us**: the harness we wrap it in and the way we prompt it, both of which reflect our current, incomplete understanding.

### Capability overhang

Their example: ask a plain chat model which Pokemon names end in "aw" and it struggles, even though it knows every name. Ask Claude Code and it fetches the full list and writes a filter script, finding the two answers. The intelligence was there; the tool unlocked it. They call this capability overhang. Models get smarter in spiky ways, and the job is to find the new spikes.

They trace several of these spikes:

- **Context.** The naive bet was that coding would be solved with enormous context windows you paste a codebase into. Instead, giving the model a bash tool let it search and build its own context, which is the insight behind Claude Code.
- **Proactivity.** Claude Code waits to be prompted. Claude Tag can wake itself up and work proactively and multiplayer, which they see as the next wave of agents.
- **System prompts.** The Claude Code team recently removed about 80% of its system prompt. The best practice went from small prompt, few tools, many examples (Sonnet 3.5 era), to big prompt, many tools, many examples, to now a *smaller* prompt again. Newer models are more imaginative than the examples, so examples constrain them. Give context, not constraints, and avoid long lists of "do not." We covered the written version in [Claude 5 context engineering rules](/blog/claude-5-context-engineering-rules-hn-analysis).
- **Asking questions.** The AskUserQuestion tool barely worked on Opus 4. By Opus 4.5, Claude could interview them with 40 questions about a spec. With Opus 4.8 and Fable it can build a whole HTML report with the questions embedded.
- **Output format.** Markdown was a good output, then it became how you read plans in plan mode. Now Claude produces rich HTML reports.

They frame this as closer to biology than physics: empirical, organic, with real structure but no complete rulebook. They recommend Anthropic's interpretability paper [On the Biology of a Large Language Model](https://transformer-circuits.pub/2025/attribution-graphs/biology.html) as a way to build intuition.

## Part 2: Unhobble Yourself by Finding Your Unknowns

This is the most practical section. "The map is not the territory": your prompt and spec are the map, and the codebase and real-world constraints are the territory. Whenever Claude hits something in the territory that is not on your map, that is an **unknown**, a decision point you did not specify.

Fable is one of the first models where they felt they really had to find their unknowns in advance, because it traverses so much ground that it will hit a lot of them. In their words, Fable is bottlenecked by their ability to match the map to the territory.

They sort unknowns into four boxes:

| Box | What it is | How to surface it |
| --- | --- | --- |
| Known knowns | What you want, the stuff you write in the prompt | Write it down |
| Known unknowns | Things you know you have not figured out | Interviews |
| Unknown knowns | Things so obvious you would never write them, but you know them when you see them | Brainstorms and prototypes |
| Unknown unknowns | Things you have not considered at all | Blind spot passes |

And then a toolkit for using Fable itself to fill the boxes:

1. **Blind spot pass.** Before working in an unfamiliar area (their example: a new auth provider), ask Claude to scan the relevant code, git history or Slack and tell you the unknown unknowns that would change how you prompt. They also use this to learn new fields entirely, like color grading for video editing.
2. **Brainstorms and prototypes.** For taste-driven work, ask for something like an HTML page with four wildly different design directions so you can react. You cannot describe what you want, but you can point at it.
3. **Interviews.** Once you know roughly what you want, have Claude interview you. Tell it what stage you are at and what to prioritize, for example "questions that would change the architecture."
4. **References.** The best way to give Claude a map is to hand it another map: existing code in another language, or an HTML mockup for a React component.
5. **Implementation notes.** While Fable runs, ask it to log every unknown it hits and how it resolved it, so you can see where it deviated and why.
6. **Quiz me.** At the end, have Fable quiz you on what was done so you can actually stand behind the PR.

That last step is underrated. It is a cheap way to stay in the loop on work you did not type yourself, and it addresses the comprehension gap we discussed in [the coming loop](/blog/armin-ronacher-coming-loop-agent-comprehension).

## Part 3: The Grief

Shihipar is candid that their first time using Fable felt like both a gain and a loss. Before LLMs, they ran a YC startup of about 30 people that was constantly forced into tradeoffs because code was so hard: make the app fast or prototype the feature, one month or two. Going back to that codebase recently, the things that would have taken weeks took hours. "How can you not laugh? But also, how can you not cry?"

They loved writing code by hand and holding a codebase in their head. They also remember weeks of debugging and that most projects they worked on failed. They cannot go back, and their conclusion is that the only way out is through.

It is unusual for a keynote from a lab to make space for this, and worth hearing if you have felt the same thing.

## Part 4: Be Unreasonable

The last section is the one other Anthropic speakers kept quoting. One of their favorite parts of Anthropic culture is a belief that **tradeoffs are often not real until reality proves them.** At their previous company they were used to ranking priorities and picking. The alternative is: what if you just did all of it, and forced reality to show you the actual tradeoff?

"Good, fast, cheap: now it's pick three" is the slogan. They made the talk's deck in about four hours with Fable. Their personal resolution is to be more productive while working less and spending more time with people they care about.

They add an important caveat: **building is easier, but generating value is still hard.** AI engineers can spend a lot of energy on their setups and process. The point is value, which still takes many swings to find.

## Our Take

The four-box unknowns method is the most useful thing in this talk for anyone using long-running agents. It reframes "prompting better" as an information problem: the agent will make every decision you did not, so your job is to find those decisions before it does, or have it log them when it does.

If you only adopt one habit from it, make it the implementation-notes log. It costs nothing and gives you an audit trail of every place the model filled a gap in your spec.

---

## FAQ

### What is capability overhang?

Shihipar's term for abilities a model already has but cannot show until the harness or prompt lets it, like a model that knows every Pokemon but only answers a filtering question correctly once it can write and run code.

### Why did the Claude Code team shrink the system prompt?

Newer models follow instructions well and are more imaginative than the examples given to them, so long prompts with many examples and prohibitions started to constrain them. The team removed about 80% of the prompt.

### What is a blind spot pass?

A request asking Claude to investigate an unfamiliar area of a codebase or domain and report the unknowns that would change how you should prompt for the task.

## Sources

- [Field Guide to Fable - video](https://www.youtube.com/watch?v=9fubhllmsBU)
- [On the Biology of a Large Language Model](https://transformer-circuits.pub/2025/attribution-graphs/biology.html) - Anthropic interpretability research

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers](/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Claude 5 Context Engineering Rules](/blog/claude-5-context-engineering-rules-hn-analysis)
- [Claude Fable, Claude Tag and Anthropic's Culture](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [Fable 5 Returns: What Changed](/blog/fable-5-returns-what-changed)
- [How Anthropic Builds: Mike Krieger](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Claude Fable</category>
      <category>Claude Code</category>
      <category>Prompting</category>
      <category>AI Engineer World's Fair</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/terminal-map-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Tokens Should Have Jobs: Anthropic's Case for Advisors, Graders and Dreamers]]></title>
      <link>https://www.developersdigest.tech/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/tokens-should-have-jobs-anthropic-ai-engineer-2026</guid>
      <description><![CDATA[Katelyn Lesse and Angela Jiang of Anthropic show that at a fixed token budget, giving tokens jobs (advise, grade, dream) beats pure execution, and cuts the true cost of a correct answer.]]></description>
      <content:encoded><![CDATA[
When an agent does not get the job done, the usual fix is to spend more: more tokens, or more expensive tokens. Katelyn Lesse, who leads platform engineering at Anthropic, and Angela Jiang, who leads platform product, question the assumption hiding underneath that fix: that every token is interchangeable.

Their 13-minute AI Engineer talk makes the case, with data, that tokens assigned to different **jobs** beat tokens that all just execute, even at the same budget.

<div style="display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;">
<iframe width="100%" height="415" src="https://www.youtube.com/embed/PXj0p_mW9nI" title="Tokens Should Have Jobs - Katelyn Lesse and Angela Jiang, Anthropic" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

*Source: [Tokens Should Have Jobs](https://www.youtube.com/watch?v=PXj0p_mW9nI), Katelyn Lesse and Angela Jiang, Anthropic, AI Engineer. All benchmark numbers are Anthropic's, from an internal financial-analysis bench.*

---

## Strategies: Executor Plus a Second Job

In a normal agent setup, every token does one job: execute. Lesse and Jiang call it a **strategy** when you split some tokens off to do something else. They test three:

| Strategy | Second job | Example use case from the talk |
| --- | --- | --- |
| **Advise** | The executor can call an advisor for guidance on its next step | A sales agent that flags overdue follow-ups and stalled deals |
| **Grade** | A grader scores the executor's output against a rubric; the executor retries until it passes | A customer service agent deciding refunds against specific policy criteria |
| **Dream** | A dreamer reviews the executor's transcripts and writes learnings to memory for the next run | A recruiting agent that sharpens with feedback on candidate fit |

The grade and dream strategies map onto features Anthropic already ships in Managed Agents (outcomes and dreaming); see our post on [dreaming and outcomes](/blog/claude-managed-agents-dreaming-outcomes-multi-agent).

## The Experiment

They built a bench of financial-analysis tasks meant to mirror what an expert human analyst does, then compared plain execution with each strategy.

### Round 1: let each strategy choose its budget

One-shot, with each strategy spending what it wanted:

- **Execute** scored about 15% and used only about 39,000 tokens.
- The more complex strategies spent more and did better, with **dream** doing best but using roughly 600,000 tokens.

That comparison proves nothing, since the winner simply spent fifteen times more.

### Round 2: fix the budget

So they gave every strategy dream's budget of about 600,000 tokens. Everything improved, as expected with more test-time compute: execute rose to about 76%, while advise and grade climbed into the high 80s and 90s.

If tokens were truly fungible, all strategies would converge at the same budget. They did not. **Execute at 76% versus advise at 89%, same tokens, is the alpha.**

## The Lens That Changes Everything: Only Perfect Counts

Then they reframed the score the way an expert actually experiences it. If an agent builds a P&L that is 80% accurate, a financial analyst cannot use it. They must redo it or rerun the agent. You cannot make up an income number. In this domain, **anything less than 100% correct is a failure.**

Rescored as pass/fail on perfect answers at the fixed budget:

- **Execute** passed about 42% of the time.
- The better strategies reached about 75%.

Now compute what it costs to get one perfect answer. At about 40% success, execute needs roughly three runs on average. Three runs at 600,000 tokens each is about **1.8 million tokens** per correct answer. Run the same math across strategies and **advise and grade come out much more token-efficient** per usable result.

That metric, expected tokens to a correct answer rather than accuracy per run, is the most useful idea in the talk. If you only measure accuracy, you will undervalue strategies that cost more per run but fail less.

## Which Strategy Should You Pick?

It depends on what you optimize:

- **Token efficiency first:** advise looked best in their domain.
- **Reliability first,** maximizing the share of runs that are perfect: lean toward grade or dream.

These are results on one bench in one domain; the method transfers more than the specific winner. Run the same comparison on your own tasks.

## Strategies as Composable Primitives

The last part zooms out. Anthropic built Managed Agents as a strong single-agent harness, and is now working at the **meta-harness** level: multi-agent coordination where strategies are composed. With the right primitives, combining them is simple:

1. An executor does the task, with Fable as its advisor.
2. A grader verifies the result in a loop.
3. Passing runs go to a dreamer so the next run starts smarter.

You can also invent jobs that are not on this list. Anthropic's longer-term goal is for models and the platform to construct these strategies dynamically. Until then, you design them.

## Our Take

This is the cleanest public argument for something many agent builders do by instinct: a cheap second opinion is often worth more than more of the first opinion. What makes the talk valuable is the measurement discipline. Fix the budget before comparing strategies, and score by cost-to-correct-answer when partial credit is worthless to the user.

Pair it with Sachin Malhotra's talk on [giving agents a budget instead of a token](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026) and our piece on [harness engineering under a token budget](/blog/harness-engineering-token-budget) for the cost side of the same question.

---

## FAQ

### What does "tokens should have jobs" mean?

Instead of spending an entire token budget on one agent executing, assign some tokens to other roles, such as advising the executor, grading its output, or reflecting on past runs to update memory.

### Which strategy worked best in Anthropic's experiment?

At a fixed budget of about 600,000 tokens, advise reached about 89% accuracy versus 76% for pure execution. When only perfect answers counted, advise and grade were the most token-efficient per correct answer.

### How should I compare agent strategies fairly?

Hold the token budget constant across strategies, then measure the expected tokens to reach a fully correct answer, not just average accuracy per run.

## Sources

- [Tokens Should Have Jobs - video](https://www.youtube.com/watch?v=PXj0p_mW9nI)
- [Building an Ecosystem, not a Walled Garden](https://sequoiacap.com/podcast/anthropics-katelyn-lesse-angela-jiang-building-an-ecosystem-not-a-walled-garden) - Sequoia podcast with Lesse and Jiang
- [New in Claude Managed Agents: dreaming and outcomes](https://claude.com/blog/new-in-claude-managed-agents)

## The Full Series

This post is part of our coverage of Anthropic's talks at AI Engineer 2026:

- [Claude for Long-Horizon Tasks: Lance Martin's Four Rules for Agents That Run for Hours](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
- [Inside the Claude Managed Agents Workshop: Pets, Cattle, Outcomes and Dreaming](/blog/claude-managed-agents-workshop-ai-engineer-2026)
- [How Anthropic Builds: Mike Krieger on Being Unreasonable With Claude](/blog/mike-krieger-how-anthropic-builds-ai-engineer-2026)
- [How Jarred Sumner Ships Millions of Lines of Agent-Written Code](/blog/jarred-sumner-ship-millions-lines-agent-written-code-ai-engineer-2026)
- [A Field Guide to Fable: Thariq Shihipar on Unhobbling Claude and Finding Your Unknowns](/blog/thariq-shihipar-field-guide-to-fable-ai-engineer-2026)
- [Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq Shihipar](/blog/claude-fable-claude-tag-anthropic-culture-ai-engineer-2026)
- [1,000 Claude Agents, Git and a Database: How Fable 5.2 Formalized Fermat Without a Custom Harness](/blog/lance-martin-1000-claude-agents-fermat-memory-ai-engineer-2026)
- [Your Old Prompts Are Making Claude Worse: Lance Martin's Checklist for Frontier Models](/blog/lance-martin-old-prompts-making-claude-worse-ai-engineer-2026)
- [Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 Agents](/blog/cj-avilla-harrison-stall-run-1000-agents-ai-engineer-2026)
- [Give the Agent a Budget, Not a Token: Anthropic's CI Team on Safe Agent Permissions](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop Safely](/blog/lydia-hallie-rethinking-claude-code-best-practices-ai-engineer-2026)
- [How Anthropic Merges 30,000 Code Changes a Day: Addy Osmani on Verifying the Software Factory](/blog/addy-osmani-anthropic-30000-code-changes-a-day-ai-engineer-2026)
- [Using LLMs to Secure Source Code: Eugene Yan's Six-Step Pipeline From Anthropic](/blog/eugene-yan-using-llms-to-secure-source-code-ai-engineer-2026)
- [From Messages API to Managed Agents: Anthropic's Applied AI Team on Harnesses That Go Stale](/blog/anthropic-applied-ai-evolution-agentic-surfaces-ai-engineer-2026)
- [Forward Deployed Engineering 101: When Your AI Startup Needs FDEs, From Palantir to Anthropic](/blog/kevin-bai-forward-deployed-engineering-101-ai-engineer-2026)
- [The Enterprise Tech Stack for AI Agents: Why Your POC Stalls and How to Design Past It](/blog/chris-lovejoy-enterprise-tech-stack-ai-agents-ai-engineer-2026)
- [The Claude Certified Architect Exam as a Field Guide to Agentic Engineering](/blog/claude-certified-architect-exam-field-guide-ai-engineer-2026)
- [The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCP](/blog/david-soria-parra-future-of-mcp-ai-engineer-2026)
- [Gateways Are All You Need: How Anthropic Thinks About MCP in the Enterprise](/blog/karan-sampath-mcp-gateways-enterprise-ai-engineer-2026)
- [How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator Harness](/blog/build-agents-that-run-for-hours-anthropic-ai-engineer-2026)

## Continue Reading

- [Give the Agent a Budget, Not a Token](/blog/sachin-malhotra-give-agent-budget-not-token-ai-engineer-2026)
- [Harness Engineering Under a Token Budget](/blog/harness-engineering-token-budget)
- [Dreaming, Outcomes and Multi-Agent in Managed Agents](/blog/claude-managed-agents-dreaming-outcomes-multi-agent)
- [Claude for Long-Horizon Tasks](/blog/lance-martin-claude-long-horizon-tasks-ai-engineer-2026)
]]></content:encoded>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Anthropic</category>
      <category>Agent Architecture</category>
      <category>Token Economics</category>
      <category>Claude Managed Agents</category>
      <category>Evals</category>
      <enclosure url="https://www.developersdigest.tech/images/abstract-heroes/agent-workflow-hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Dario Amodei Just Fired Back]]></title>
      <link>https://www.developersdigest.tech/tutorials/o4m-5BVPSy4</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/o4m-5BVPSy4</guid>
      <description><![CDATA[Dario Amodei just fired back at the claim that he wants us to surrender our free will to AI. In a long post on X today, Anthropic's CEO called that idea absurd. Here's what he actually believes.

The ...]]></description>
      
      <pubDate>Thu, 26 Nov 2026 17:15:27 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/o4m-5BVPSy4/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[droid exec: Run Factory Droid Headless in CI (2026 Guide)]]></title>
      <link>https://www.developersdigest.tech/blog/droid-exec-headless-ci-guide-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/droid-exec-headless-ci-guide-2026</guid>
      <description><![CDATA[A practical guide to droid exec, the headless mode of Factory Droid: autonomy levels, output formats, tool controls, worktrees, GitHub Actions, PR review with droid-action, and the safety traps to avoid.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 26, 2026

`droid exec` is the part of Factory Droid that runs without you. It takes one prompt, does one pass, writes to stdout and exits, which is what you need for CI jobs, cron, git hooks and batch refactors. Every flag and example below comes from Factory's [Droid Exec docs](https://docs.factory.com/droid-exec/overview) and [CLI reference](https://docs.factory.com/droid-cli/cli-reference) as of CLI v1.21.0 (November 25, 2026). Where an example is adapted, it says so. We did not run these against a live Factory account while writing, so treat them as documented behavior and test them on a throwaway branch first.

If you have used `codex exec` or Claude Code's print mode, the shape is familiar. Our [codex exec CI guide](/blog/codex-exec-ci-headless-guide) and the [headless agents in CI comparison](/blog/headless-ai-coding-agents-ci-comparison-2026) cover the alternatives.

## Install and authenticate

The CLI ships through four channels:

```bash
# macOS / Linux
curl -fsSL https://app.factory.ai/cli | sh

# Homebrew
brew install --cask droid

# npm
npm install -g droid
```

On Windows, Factory documents `irm https://app.factory.ai/cli/windows | iex`.

For headless use you do not log in. Generate a key on the [Factory API keys page](https://app.factory.ai/settings/api-keys) and export it:

```bash
export FACTORY_API_KEY=fk-...
```

One container gotcha worth knowing before you write a Dockerfile: the Droid CLI needs a glibc-based Linux image such as Debian or Ubuntu. **It does not run on Alpine.**

## The execution model

Each `droid exec` call is a single pass. By default it is **read-only**: Droid can read files and run read-only commands such as `git status`, `git log` and `git diff`, but cannot edit anything. That default is the most important design decision in the tool, because it means a forgotten flag fails safe.

You can pass the prompt four ways:

```bash
droid exec "analyze code quality"          # inline
droid exec -f prompt.md                    # from a file
echo "summarize repo structure" | droid exec   # from stdin
droid exec --session-id <id> "continue with next steps"   # resume a session
```

The stdin form composes well with git. The CLI reference shows `git diff | droid exec "draft release notes"`.

## Autonomy levels

Mutations are opt-in through `--auto`. Factory's table, condensed:

| Flag | Allows | Still blocked | Use for |
|---|---|---|---|
| (none) | Reads, listings, git read operations | Edits, installs, git writes | Analysis, reviews, reports |
| `--auto low` | Low-risk file creation and edits | Installs, remote writes, system changes | Docs, comments, formatting |
| `--auto medium` | Low plus installs, builds, tests, `git commit`, `git push`, `gh pr create` | Force pushes, sudo, production changes | Dependency updates, test fixes |
| `--auto high` | Force pushes, deployments, migrations | Extreme destructive operations | Controlled CI/CD environments |
| `--skip-permissions-unsafe` | Skips all permission prompts | Command blocks still apply | Throwaway containers only |

Two behaviors matter in CI. First, **fail-fast**: if Droid attempts an action above the current level, the run stops at that action, prints an error to stderr and exits non-zero. Edits made before that point stay in the working tree, so clean up before retrying at a higher level. Second, `--skip-permissions-unsafe` cannot be combined with `--auto`, and a permission rule that blocks a command still blocks it.

Factory's own best-practice list is conservative and worth adopting as-is: start read-only and redirect output to a file, use `--auto low` only when Droid must edit, and **commit and push in your own script steps instead of giving Droid `--auto medium`.** That keeps the agent's blast radius to the working tree and leaves git writes to code you control.

### Preview your command policy

Permission rules can allow, ask or block commands. A headless run cannot answer an `ask`, so an effective `ask` is not cleared by `--auto high`. Check what your rules will do before the job runs:

```bash
droid rules check
droid rules check --command 'git push origin main' --json
```

Factory warns that a successful check can still report `block`, so read the decision rather than treating exit code 0 as an allow.

## Output formats

Pick one with `-o`:

- `text` (default) - the final response, good for logs and `> report.md`
- `json` - one object at the end with `result`, `session_id` and `usage`
- `stream-json` - one event per line: `system`, `message`, `tool_call`, `tool_result`, `completion`
- `stream-jsonrpc` - the full JSON-RPC protocol for custom integrations

JSON is the one you want in scripts, because it hands you the session ID for a follow-up turn. Adapted from the docs:

```bash
out=$(droid exec -o json "Summarize this repository in one sentence")
echo "$out" | jq -r .result
droid exec -s "$(echo "$out" | jq -r .session_id)" "Now list its packages"
```

The `usage` block in that JSON includes a `factory_credits` field, which is how you attribute spend per job. Stream mode is useful for recording which tools a run used:

```bash
droid exec -o stream-json --auto medium "Fix the failing test" \
  | jq -r 'select(.type == "tool_call") | .toolName'
```

## Exit codes are not verdicts

This is the trap that catches most first CI integrations. `droid exec` exits 0 when the run completes and non-zero when it stops early (a permission stop, a bad flag, an API error). In Factory's words, "Exit 0 means Droid finished, not that the task succeeded."

So every job that edits code needs a deterministic check after it. When you ask Droid for a structured artifact, validate it:

```bash
droid exec --auto low "Write deps.json: an array of {name, version, usedIn}
for each direct dependency"
jq -e 'type == "array"' deps.json
```

For code changes, the check is your test suite or type checker, run as a separate step that Droid does not control.

## Models, reasoning and spec mode

Choose a model with `-m` and reasoning effort with `-r`. Note that in `droid exec`, `-r` means `--reasoning-effort`, while in interactive `droid` it means `--resume`.

```bash
droid exec -m claude-opus-5-5 -r medium -f plan.md
```

`--use-spec` makes Droid plan before it acts, and `--spec-model` lets the planning phase use a different model than the execution phase. A strong planner with a cheaper executor is the obvious pattern:

```bash
droid exec --use-spec --spec-model claude-opus-5-5 --auto medium \
  "implement feature X"
```

The model IDs and their usage multipliers are on the [models page](https://docs.factory.com/models). Since every CI run draws from the same rate limits as your interactive sessions, the multiplier choice is a real budget decision; our [Droid pricing explainer](/blog/factory-droid-pricing-plans-rate-limits-2026) covers how that works. `--model` also accepts provider tier aliases such as `openai-latest-balanced`, which follow Factory's recommended model for that tier as new models ship. That is convenient, but it means a nightly job can change models without a commit, so pin an explicit ID where reproducibility matters.

## Tool controls

You can shrink the agent's toolset per run. List what is available first:

```bash
droid exec --list-tools
```

Then restrict:

```bash
# Read-only analysis with only the search tools
droid exec --only-tools Read,Grep,Glob,LS "Map the auth module"

# Allow edits but no shell commands
droid exec --auto low --remove-tools Execute "Add JSDoc to src/api"

# Add every tool from a configured MCP server
droid exec --add-tools MCP:linear "Summarize my open issues"
```

An unknown tool name fails the run before Droid starts, which is the behavior you want in CI. `--remove-tools Execute` combined with `--auto low` is a particularly useful pairing: Droid can edit files but cannot run anything, so a prompt injection in a file it reads has no shell to reach.

## Parallel runs with worktrees

`-w, --worktree [name]` runs a task in its own git worktree on its own branch, which is how you fan out without jobs overwriting each other. From the docs:

```bash
droid exec --worktree codemod-a --auto medium "apply codemod A" & a=$!
droid exec --worktree codemod-b --auto medium "apply codemod B" & b=$!
wait "$a"; status_a=$?
wait "$b"; status_b=$?
[ "$status_a" -eq 0 ] && [ "$status_b" -eq 0 ]
```

Clean worktrees are removed on exit and dirty ones are kept so you can review them. For per-file work, plain `xargs -P` with bounded concurrency is documented too:

```bash
find src -name '*.ts' -print0 | xargs -0 -P 4 -I {} \
  droid exec --auto low "Refactor {} to use modern TypeScript patterns"
```

If you already run parallel agents with worktrees in other tools, our [git worktrees for parallel agents](/blog/git-worktrees-claude-code-parallel-agents-guide) guide covers the general pattern.

## A GitHub Actions job

Factory's docs include a weekly read-only analysis matrix. This is a trimmed version of that workflow:

```yaml
name: Droid cleanup analysis

on:
  schedule:
    - cron: '0 1 * * 0'
  workflow_dispatch:

permissions:
  contents: read

jobs:
  analyze:
    runs-on: ubuntu-latest
    timeout-minutes: 30
    strategy:
      matrix:
        module: [components, services, utils, hooks]
    steps:
      - uses: actions/checkout@v7
        with:
          persist-credentials: false

      - name: Install Droid CLI
        run: |
          curl -fsSL https://app.factory.ai/cli | sh
          echo "$HOME/.local/bin" >> "$GITHUB_PATH"

      - name: Find dead code
        env:
          FACTORY_API_KEY: ${{ secrets.FACTORY_API_KEY }}
          MODULE: ${{ matrix.module }}
        run: |
          droid exec --cwd "$GITHUB_WORKSPACE/src/$MODULE" \
            "Find unused exports, dead code, and deprecated patterns.
          Respond with a Markdown list of cleanup recommendations." \
            > cleanup-report.md

      - uses: actions/upload-artifact@v7
        with:
          name: cleanup-${{ matrix.module }}
          path: cleanup-report.md
```

Note what this job does not do: it never passes `--auto`, it checks out with `persist-credentials: false`, and the token is read-only. The output is an artifact for a human, not a commit. That is the right first rung. Once you trust the prompts, Factory publishes fuller recipes that edit code and open PRs: [lint autofix](https://docs.factory.com/droid-exec/recipes/lint-autofix), [dependency and secret scanning](https://docs.factory.com/droid-exec/recipes/dependency-secret-scan) and [nightly docs and tests](https://docs.factory.com/droid-exec/recipes/daily-docs-tests).

## PR review without scripting it

For pull request review, you do not need to wrap `droid exec` yourself. Factory ships [`Factory-AI/droid-action`](https://github.com/Factory-AI/droid-action), which handles review, security review and PR description fill. The quickest setup is to run `droid` and type `/install-code-review`. The minimal workflow from the [Automated Code Review docs](https://docs.factory.com/automations/code-review-ci) looks like this:

```yaml
name: Droid Auto Review
on:
  pull_request:
    types: [opened, reopened, synchronize, ready_for_review]
concurrency:
  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
  cancel-in-progress: true
jobs:
  review:
    if: ${{ !github.event.pull_request.draft }}
    runs-on: ubuntu-latest
    permissions:
      contents: read
      id-token: write
      checks: write
    steps:
      - uses: actions/checkout@v5
        with:
          persist-credentials: false
      - uses: Factory-AI/droid-action@main
        with:
          factory_api_key: ${{ secrets.FACTORY_API_KEY }}
          automatic_review: 'true'
```

The docs reference the action at `@main`. For a production repo, pin it to a release tag or commit SHA so an upstream change cannot alter what runs against your code.

## The hooks trap in untrusted repos

This one is easy to miss. Interactive `droid` asks you to trust a folder; **`droid exec` does not**, and an untrusted folder does not stop it from running the repository's project hooks or the hooks of plugins the project enables. If your CI runs `droid exec` on pull requests from forks, a malicious PR can ship a hook. Factory's documented fix is a per-run settings file:

```bash
settings="$(mktemp)" &&
  echo '{"hooks": {"hooksDisabled": true}}' > "$settings" &&
  droid exec --settings "$settings" "Summarize this repository"
```

A `hooksDisabled: true` in your user settings is not enough if the repo's project settings set it back to false, because project settings outrank user settings. Use `--settings` on every run against code you did not write. The broader version of this risk is covered in our [agent security checklist](/blog/agent-security-checklist-before-connecting-tools).

## Missions from the command line

`droid exec --mission` runs a multi-agent orchestrator headless, with separate models for workers and validators. It requires `--auto high` or `--skip-permissions-unsafe`:

```bash
droid exec --mission \
  --worker-model claude-opus-5-5 \
  --validator-model gpt-6.2-sol \
  --auto high \
  "ship the new billing webhook end-to-end"
```

That combination of high autonomy and long runtime is exactly where the guardrails above matter most. Missions also require Extra Usage on individual plans. Whether a Mission is the right tool at all is the subject of [Droid Missions vs Workstreams vs custom droids](/blog/droid-missions-vs-workstreams-vs-custom-droids-2026).

## A sensible rollout

1. **Week one: read-only reports.** No `--auto`, output to artifacts, a human reads them.
2. **Week two: `--auto low` with `--remove-tools Execute`.** Droid edits, your pipeline runs the tests, your script commits.
3. **Later: `--auto medium` in a worktree,** only for jobs whose output is a PR that still needs human review.
4. **Only in disposable runners:** `--auto high` or `--skip-permissions-unsafe`, never on a machine with production credentials.

Each step widens what the agent can do only after the previous step has a track record. That is slower than turning on high autonomy on day one, and it is the reason the rollout survives its first bad prompt.

## FAQ

### What is droid exec?

droid exec is the non-interactive mode of the Factory Droid CLI. It runs one task, writes to stdout and stderr, and exits, which makes it usable from shell scripts, cron jobs and CI pipelines. It is read-only unless you pass an --auto level.

### How do I authenticate droid exec in CI?

Generate an API key in Factory settings and expose it as the FACTORY_API_KEY environment variable, for example from a GitHub Actions secret. droid exec picks it up without an interactive login.

### What do the --auto levels allow?

With no flag, droid exec is read-only. --auto low allows low-risk file edits. --auto medium adds installs, builds, tests, git commit, push and gh pr create. --auto high adds force pushes, deployments and migrations. --skip-permissions-unsafe skips every prompt and belongs only in disposable environments.

### Does exit code 0 mean the task succeeded?

No. Factory documents that exit 0 means Droid finished, not that the task succeeded. Check the result with your own tests, linters or a jq assertion on an artifact before trusting it.

### Is there an official GitHub Action for Droid?

Yes. Factory-AI/droid-action handles pull request review, security review and PR description fill. You can set it up by running /install-code-review inside an interactive droid session.

## Continue Reading

- [Set Up Factory Droid Properly](/blog/factory-droid-setup-agents-md-skills-hooks-mcp-2026)
- [Factory Droid: Review and Setup Guide](/blog/factory-droid-review-setup-2026)
- [Factory Droid Pricing Explained](/blog/factory-droid-pricing-plans-rate-limits-2026)
- [codex exec in CI: the headless guide](/blog/codex-exec-ci-headless-guide)
- [Headless AI coding agents in CI compared](/blog/headless-ai-coding-agents-ci-comparison-2026)
- [All Droid guides](/topics/droid)

## Sources

- Droid Exec (Headless): [docs.factory.com/droid-exec/overview](https://docs.factory.com/droid-exec/overview)
- Droid CLI reference: [docs.factory.com/droid-cli/cli-reference](https://docs.factory.com/droid-cli/cli-reference)
- CI and locked-down environments: [docs.factory.com/droid-exec/ci-and-locked-down-environments](https://docs.factory.com/droid-exec/ci-and-locked-down-environments)
- Automated Code Review: [docs.factory.com/automations/code-review-ci](https://docs.factory.com/automations/code-review-ci)
- Permission rules: [docs.factory.com/autonomy-and-safety/permission-rules](https://docs.factory.com/autonomy-and-safety/permission-rules)
- Factory-AI/droid-action: [github.com/Factory-AI/droid-action](https://github.com/Factory-AI/droid-action)
- Release notes (CLI v1.21.0): [docs.factory.com/changelog/release-notes](https://docs.factory.com/changelog/release-notes)
]]></content:encoded>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Droid</category>
      <category>factory-ai</category>
      <category>CI/CD</category>
      <category>GitHub Actions</category>
      <category>coding-agents</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/droid-exec-headless-ci-guide-2026/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Droid Missions vs Workstreams vs Custom Droids: Which to Use]]></title>
      <link>https://www.developersdigest.tech/blog/droid-missions-vs-workstreams-vs-custom-droids-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/droid-missions-vs-workstreams-vs-custom-droids-2026</guid>
      <description><![CDATA[Factory Droid has three ways to put more than one agent on a job: custom droids (subagents), Missions and Workstreams. What each one is, what it costs, and a simple rule for picking.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 26, 2026

Factory Droid gives you three different ways to put more than one agent on a problem, and the names do not make the difference obvious. **Custom droids** are subagents you define. **Missions** are a planned, milestone-driven project run. **Workstreams** are a long-lived orchestrator that keeps delegating as work arrives. They overlap enough that people pick the wrong one, usually by reaching for a Mission when a subagent would do.

Everything here is from Factory's docs on [custom droids](https://docs.factory.com/harness/subagents), [Missions](https://docs.factory.com/missions/overview) and [Workstreams](https://docs.factory.com/workstreams/overview), checked on November 26, 2026. If you need the basics first, read the [Droid review and setup guide](/blog/factory-droid-review-setup-2026).

## The short version

| | Custom droids | Missions | Workstreams |
|---|---|---|---|
| What it is | A subagent with its own prompt, model and tools | A planned multi-feature project run by an orchestrator | A standing orchestrator that delegates to a team of agents |
| Scale | One focused task inside a session | About 1 to 500 features, bounded outcome | Days to weeks, open-ended |
| Planning | None, the parent delegates | Up front, collaborative, features and milestones | Conversational, as the work unfolds |
| Validation | Whatever you write in the prompt | Built-in validators and user-facing QA | Pull requests and CI you review |
| Where it runs | CLI, App, `droid exec` | CLI (`/missions`), App, `droid exec --mission` | Factory App |
| Cost profile | Same as the session; cheap if you pick a cheap model | Requires Extra Usage on individual plans | More tokens than a single session |

The rule of thumb: **use a custom droid when you want a specialist, a Mission when you want a project finished, and a Workstream when you want a team that stays.**

## Custom droids: specialists in a fresh context

A custom droid is a Markdown file. Project droids live in `<repo>/.factory/droids/` and are shared through the repository; personal droids live in `~/.factory/droids/` and follow you across projects. Factory's own example:

```markdown
---
name: code-reviewer
description: Focused reviewer that checks diffs for correctness risks
model: inherit
tools: read-only
---

You are the team's senior reviewer. Examine the diff the parent agent shares and:

- flag correctness, security, and migration risks
- list targeted follow-up tasks if changes are required
- confirm tests or manual validation needed before merge
```

Droid calls a custom droid through its **Task** tool, either on its own initiative or because you asked ("Use the subagent `code-reviewer` on the files I changed"). The Task tool takes a `subagent_type`, a `description` and a `prompt`, plus optional `complexity` (`light`, `medium` or `heavy`), which routes the call through whatever complexity-to-model mapping you configured, and `resume`, which sends a follow-up to an earlier subagent with its prior context.

Two details make custom droids more useful than they first look:

- **The fresh context window is the point.** A reviewer that has not watched the implementation is a better reviewer. A search droid that reads 40 files and returns a summary keeps those 40 files out of the parent's context.
- **The model is per droid.** A file-triage droid on Claude Haiku 5.5 or GPT-6 Luna (both 0.04x on Factory's multiplier table) costs a sliver of what the same work costs on the parent's model. Our [Droid pricing guide](/blog/factory-droid-pricing-plans-rate-limits-2026) explains the multipliers.

If you already have Claude Code subagents, you do not need to rewrite them. Open `/droids` and run the import flow. It scans `.claude/agents/` and `~/.claude/agents/`, maps `sonnet`, `haiku` and `opus` to the first available Factory model in that family (keeping `inherit` as `inherit`), maps tool names and warns on any without an equivalent, and saves project agents as project droids. That makes Droid one of the easier agents to trial alongside Claude Code; the [Claude Code vs Droid comparison](/blog/claude-code-vs-droid-2026) covers the rest of the migration surface, and [Claude Code subagents vs agent teams vs workflows](/blog/claude-code-subagents-vs-agent-teams-vs-workflows) is the equivalent decision on the Claude side.

**Reach for a custom droid when** the task is one focused job inside work you are already doing: review this diff, find every caller of this function, write tests for this module.

## Missions: plan first, then let it run

A Mission is Factory's answer to "build this whole thing." You start one with `/missions` (or `/mission`) in any session. Droid does not start coding. It interviews you, asks clarifying questions, probes constraints, and turns the conversation into a plan: **features grouped into milestones**, with the skills each part needs. Your existing skills are reused, and Droid develops new specialized skills where the plan needs them. Your MCP servers, hooks and custom droids all carry into the Mission.

Once you approve the plan, Droid enters **Mission Control**, the orchestration view. Workers build features; validators check them. In the CLI, `Ctrl+T` toggles the Mission Control overlay on orchestrator sessions.

Factory gives an unusually concrete sizing guide. A Mission's sweet spot is **about 1 to 500 features**. Fewer than that, use a normal session. More than 500, split it into multiple Missions. And one rule they state plainly: "Do not run a normal session for a long time and then convert it into a Mission." The value of a Mission is the up-front plan, and a converted session never had one.

### The precondition most people skip

Missions validate their own work by running user-facing QA against your application. Factory recommends your repository be at **Agent Readiness Level 4 (Optimized) or above**, which in practice means you have a script that stands up or mocks your app's dependencies so a user flow can be exercised end to end. Without it, the docs say, "the mission cannot reliably verify its own work."

You can check where you stand with `/readiness-report` and close gaps with `/readiness-fix`. If you skip this step, the most common symptom is the one Factory's troubleshooting section lists first: validation that keeps failing, and feature retry limit warnings. You can disable QA-style validation in Mission Control settings if the project does not need it, but then you are trusting the workers' own claims.

### Steering a Mission

Missions are not fire-and-forget. The orchestrator is an agent you can talk to. Factory's troubleshooting advice is to pause and describe the problem in plain language: "The worker on the auth integration has been stuck for 20 minutes. Mark it as complete and move to the next feature." You can change scope mid-run the same way.

Factory is also candid that Missions are still evolving. Its docs list open questions it is testing: whether parallelization beats sequential execution at all, how to keep long plans from accumulating errors, and how aggressive the orchestrator should be on the cost-versus-quality curve. That honesty is a useful calibration. Treat a Mission as a strong first draft of a project, not as an autonomous delivery.

### Cost

On individual plans, Missions **require Extra Usage to be enabled**. They draw on the same rolling rate limits as normal sessions and pause when they hit one. Factory's tip: "Run Missions on Droid Core when possible. Core models often deliver comparable results and stretch your plan further."

From the command line, the same thing runs headless, with separate models for each role:

```bash
droid exec --mission \
  --worker-model claude-opus-5-5 \
  --validator-model gpt-6.2-sol \
  --auto high \
  "ship the new billing webhook end-to-end"
```

`--mission` requires `--auto high` or `--skip-permissions-unsafe`, so run it somewhere disposable. Our [droid exec guide](/blog/droid-exec-headless-ci-guide-2026) covers the guardrails.

**Reach for a Mission when** the work has a clear definition of done, can be cut into milestones, and your repo can prove a feature works with a script.

## Workstreams: a team that keeps working

Workstreams are newer and broader. Factory describes them as handing "a large project to an orchestrator that splits it across a team of agents, keeps them coordinated, and brings the work back as pull requests." They are generally available on every Factory plan, and you start and steer them in the **Factory App**.

A Workstream has five parts:

- **Orchestrator** - the lead session you talk to. It plans, delegates, coordinates, and asks you when a decision is yours.
- **Agents** - Droid sessions the orchestrator starts. Each owns one area, reports back, and can open PRs. You can open any agent and talk to it directly.
- **Machines** - where they run: a fresh cloud computer from an Environment, a Droid Computer (Factory-managed, or your own computer connected through Remote Control), or the local machine.
- **Shared folder** - documents every agent reads and writes across machines: plans, notes, findings.
- **Pull requests** - every PR the team opens, with CI status, in the PRs tab.

The difference from a Mission is the shape of the plan. A Mission front-loads it; a Workstream "starts with a conversation, and the orchestrator delegates as the work unfolds." And a Workstream does not end. You keep giving the same orchestrator new tasks, and you can attach [automations](https://docs.factory.com/workstreams/automations) so recurring work reports back into it.

That makes Workstreams the fit for work like a framework migration across several services, a backlog of bugs, or a security remediation queue. Factory's Workstreams also have a Tasks tab built around CVE fixes, where you approve plans and merge PRs per finding.

Agents in a Workstream are regular Droid sessions, so they pick up your models, skills, MCP servers, hooks and AGENTS.md on whatever machine they run on. They start at your default autonomy level, capped by your organization's policy.

The cost note is short: Workstreams use more tokens than a single session, and Factory says to save them for large work. If you have a Mission in progress that has outgrown its plan, Factory documents a path to [continue a Mission as a Workstream](https://docs.factory.com/workstreams/quickstart).

**Reach for a Workstream when** the work spans days, touches several areas that can move in parallel, and you expect to keep adding to it.

## A decision flow

```mermaid
%% title: Choosing between custom droids, Missions and Workstreams in Factory Droid
flowchart TD
  A[New piece of work] --> B{One focused task inside current work?}
  B -->|Yes| C[Custom droid via the Task tool]
  B -->|No| D{Clear definition of done and splits into milestones?}
  D -->|Yes| E{Can a script prove each feature works?}
  E -->|Yes| F[Mission]
  E -->|No| G[Fix readiness first, or run a normal session]
  D -->|No| H{Spans days and keeps growing?}
  H -->|Yes| I[Workstream]
  H -->|No| J[Normal session in Spec Mode]
```

Two notes on the bottom branches. Spec Mode (`Shift+Tab` in the CLI, or `--use-spec` on `droid exec`) is the underrated option for medium-sized work: Droid plans read-only, asks for approval, and then executes in the same session, without any orchestration overhead. And "fix readiness first" is not a dodge. Every one of these modes works better in a repo that can test itself, and Missions depend on it.

## How this compares to other agents

Claude Code splits the same territory into [subagents, agent teams and workflows](/blog/claude-code-subagents-vs-agent-teams-vs-workflows). Codex has its own [subagent and worktree model](/blog/codex-cli-worktrees-durable-agent-sessions). What is distinctive about Droid is that the big modes are opinionated products rather than primitives: Missions ship with a planning interview, validators and a QA loop, and Workstreams ship with a shared folder, a PR tracker and machine selection. You get more structure out of the box and fewer knobs to build your own orchestration. If you prefer to compose your own, [multi-agent orchestration patterns](/blog/multi-agent-orchestration-patterns) covers the general designs.

## FAQ

### What is the difference between Droid Missions and Workstreams?

Missions plan features and milestones up front with you, then run that plan from Mission Control with workers and validators. A Workstream starts with a conversation, and its orchestrator delegates to agents as the work unfolds, bringing results back as pull requests. Missions suit bounded projects with a clear outcome; Workstreams suit ongoing work you keep adding to.

### What are custom droids?

Custom droids are Droid subagents: Markdown files with YAML frontmatter that define a name, description, model and tool policy plus a system prompt. Project droids live in .factory/droids/ and personal droids in ~/.factory/droids/. Droid delegates to them through its Task tool in a fresh context window.

### Can I import Claude Code subagents into Droid?

Yes. The /droids menu has an import flow that scans .claude/agents/ in the repo and ~/.claude/agents/ in your home folder. It maps names, descriptions, instructions, model families and tools to Droid equivalents, warning on tools with no match.

### Do Missions cost more than a normal session?

Missions use the same rolling rate limits as regular sessions, but on individual plans they require Extra Usage to be enabled, and a Mission pauses if it hits a limit. Factory recommends running Missions on Droid Core models where possible. Workstreams also use more tokens than a single session, so Factory suggests saving them for large work.

### Can I run a Mission from CI?

Yes. droid exec --mission runs Mission Mode headless, with --worker-model and --validator-model to choose models for each role. It requires --auto high or --skip-permissions-unsafe. Workstreams are started and steered in the Factory App.

## Continue Reading

- [Set Up Factory Droid Properly](/blog/factory-droid-setup-agents-md-skills-hooks-mcp-2026)
- [Factory Droid: Review and Setup Guide](/blog/factory-droid-review-setup-2026)
- [droid exec: Run Factory Droid Headless in CI](/blog/droid-exec-headless-ci-guide-2026)
- [Factory Droid Pricing Explained](/blog/factory-droid-pricing-plans-rate-limits-2026)
- [Claude Code vs Droid](/blog/claude-code-vs-droid-2026)
- [All Droid guides](/topics/droid)

## Sources

- Custom droids (subagents): [docs.factory.com/harness/subagents](https://docs.factory.com/harness/subagents)
- Factory Missions: [docs.factory.com/missions/overview](https://docs.factory.com/missions/overview)
- Missions configuration and headless execution: [docs.factory.com/missions/reference](https://docs.factory.com/missions/reference)
- Workstreams: [docs.factory.com/workstreams/overview](https://docs.factory.com/workstreams/overview)
- Interaction modes (Normal, Spec, Mission): [docs.factory.com/autonomy-and-safety/specification-mode](https://docs.factory.com/autonomy-and-safety/specification-mode)
- Agent Readiness: [docs.factory.com/agent-readiness/overview](https://docs.factory.com/agent-readiness/overview)
- Individual plans (Missions and Extra Usage): [docs.factory.com/pricing/individuals](https://docs.factory.com/pricing/individuals)
]]></content:encoded>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Droid</category>
      <category>factory-ai</category>
      <category>Multi-Agent</category>
      <category>Orchestration</category>
      <category>coding-agents</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/droid-missions-vs-workstreams-vs-custom-droids-2026/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Droid vs Codex (2026): Factory vs OpenAI for Terminal Coding Agents]]></title>
      <link>https://www.developersdigest.tech/blog/droid-vs-codex-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/droid-vs-codex-2026</guid>
      <description><![CDATA[Factory Droid vs OpenAI Codex compared on models, pricing, headless CI, multi-agent work, extensibility and openness, with a clear recommendation for each kind of developer.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 26, 2026

Factory's Droid and OpenAI's Codex look alike from the outside. Both are terminal-first coding agents with a desktop app, both read AGENTS.md, both have a headless mode for CI, and both start at $20 a month. Underneath, they are built on opposite bets. **Codex is OpenAI's agent for OpenAI's models**, open source and bundled into ChatGPT plans. **Droid is a model-independent harness** that runs Anthropic, OpenAI, Google, xAI and open-weight models from one plan, with heavier built-in orchestration.

This comparison uses Factory's [docs](https://docs.factory.com) and [pricing](https://factory.com/pricing), and OpenAI's [Codex pricing](https://learn.chatgpt.com/docs/pricing) and [changelog](https://learn.chatgpt.com/docs/changelog), all checked on November 26, 2026. Current versions: Droid CLI v1.21.0 and Codex CLI 0.172.0.

## The short answer

- **Pick Codex** if you already pay for ChatGPT, mostly want OpenAI's GPT-6.x models, value an open-source CLI you can read and patch, and want cloud tasks and GitHub code review bundled into the subscription.
- **Pick Droid** if you want to switch between Claude, GPT, Gemini and open models in one session, care about cost control through cheaper models, or want structured multi-agent features (Missions, Workstreams) without building your own orchestration.
- **Try both cheaply:** Droid's Free plan lets you sign in with ChatGPT and run Droid's harness on the same subscription Codex uses. That is the fairest head-to-head you can run.

## At a glance

| | Factory Droid | OpenAI Codex |
|---|---|---|
| Models | Anthropic, OpenAI, Google, xAI, open-weight (Droid Core), BYOK | OpenAI GPT-6.x family; API-key and custom providers possible |
| Source | Proprietary | Open source (Apache-2.0), written in Rust |
| Entry price | Free (bring your own inference), Pro $20/mo | Free and Go ($8) limited, Plus $20/mo |
| Top individual tier | Max $200/mo (~10x Pro) | Pro $100, $200 or $500/mo |
| Usage model | Three rolling windows (5h, 7d, 30d) plus per-model multipliers | Five-hour allowance on Plus (none on Pro), weekly limits may apply, credits for overflow |
| Surfaces | CLI, Factory App (desktop), SDKs, Slack/Linear/Jira/Teams delegation | CLI, desktop app, IDE extension, web, iOS, Slack |
| Headless | `droid exec`, `Factory-AI/droid-action` | `codex exec`, `openai/codex-action` |
| Project instructions | AGENTS.md (also reads CLAUDE.md) | AGENTS.md |
| Multi-agent | Custom droids, Missions, Workstreams | Subagents, agent command center, cloud tasks |
| Extensibility | Skills, hooks, MCP, plugins, custom droids | Skills, hooks, MCP, plugins, subagents |

## Models: the core difference

Codex is built around OpenAI's models. On ChatGPT plans you get the GPT-6.x line - Codex CLI 0.171.0 (November 20) added GPT-6.2 Sol and Astra to its catalogs, and the Plus plan lists GPT-6.1 Sol and GPT-6 Luna. API-key sessions get whatever your key can access, and Codex supports custom providers, including a built-in Vertex AI provider since 0.165.0. In practice, though, Codex is where you go to use OpenAI's models with OpenAI's harness.

Droid's whole pitch is the opposite. The [models page](https://docs.factory.com/models) lists Claude Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5, the GPT-6.2 Sol and Astra models, Gemini 4, Grok 4.7, and a Droid Core pool of open models such as GLM-5.3, Kimi K3.1 Pro and DeepSeek V4.1 Flash. You switch with `/model` mid-session, give each subagent its own model, or let [Factory Router](/blog/factory-router-automatic-model-routing-spend) pick per task. Each model bills at a multiplier: GPT-6.2 Sol is 0.8x, Opus 5.5 is 1.6x, Haiku 5.5 and GPT-6 Luna are 0.04x.

If your team has already decided "we use OpenAI," this difference matters less. If you want Claude for refactors, GPT for one kind of task and a cheap open model for subagents, Droid is the only one of the two that does it natively.

## Harness quality: what the benchmarks do and do not say

Factory's [Droid 1.0 announcement](https://factory.com/news/frontier-harness) reports Terminal-Bench 4 results with GPT-6.1 Sol in both harnesses: Droid at 57.6% against Codex at 54.0%, at what Factory says is 12% lower cost per passed task. That is a like-for-like model comparison, which makes it more interesting than most agent benchmarks, but it is a vendor running its own benchmark. Treat it as evidence that harness design moves results by a few points, not as a verdict. Our [Terminal-Bench harness scaling](/blog/long-horizon-terminal-bench-agent-evals) post explains why the harness now matters this much.

The design behind Droid's number is worth knowing: Droid 1.0 made programmatic tool calling (Script mode) the default, so the agent writes a small program that makes many tool calls and only the program's output enters the context. Codex has gone a different direction recently, with 0.163.0 running independent read-only tools in parallel. Both are attacking the same problem: long sessions drowning in tool output.

## Pricing

At $20 both are a real product, and the comparison gets interesting above that.

**Codex** comes with ChatGPT. Plus ($20) covers Codex in the CLI, IDE, web and iOS plus cloud code review and Slack. OpenAI publishes estimated local messages per five-hour period for Plus; Pro plans ($100, $200 or $500) currently have no five-hour limit, though weekly limits may apply, and Pro $500 adds Ultrafast mode. When you run out, you buy ChatGPT credits. An API key is the pay-per-token alternative, without the cloud features. Our [Codex usage limits guide](/blog/codex-usage-limits-pricing-2026) goes deeper.

**Droid** has a genuinely free tier (bring your own inference, including a ChatGPT sign-in), then Pro at $20, Plus at $100 for about 5x Pro's usage, and Max at $200 for about 10x. Usage runs against three independent rolling windows, and the model multiplier decides how fast each turn drains them. When premium limits run out, Droid Core's open models keep you working, and prepaid Extra Usage covers the rest. Details in our [Droid pricing explainer](/blog/factory-droid-pricing-plans-rate-limits-2026).

Neither vendor publishes a dollar cost per task you can compare directly. The practical difference: Codex's value scales with how much you use ChatGPT itself, and Droid's value scales with how willing you are to route work to cheaper models.

## Headless and CI

Both have a mature non-interactive mode, and the designs are close cousins.

`codex exec` uses sandbox modes (`read-only`, `workspace-write`, `danger-full-access`) with approval policies, and OpenAI ships [`openai/codex-action`](https://github.com/openai/codex-action), which keeps the API key behind a proxy. 0.171.0 added `codex exec --remote`; see our [0.171 notes](/blog/codex-cli-0-171-exec-remote-tui-workspace-2026).

`droid exec` is read-only by default and opts into mutations with `--auto low|medium|high`, plus tested permission rules, per-run tool allowlists (`--only-tools`, `--remove-tools`), worktree isolation (`-w`) and a headless `--mission` mode. Factory's PR review ships as [`Factory-AI/droid-action`](https://github.com/Factory-AI/droid-action).

Our two guides cover the details side by side: [codex exec in CI](/blog/codex-exec-ci-headless-guide) and [droid exec in CI](/blog/droid-exec-headless-ci-guide-2026). If CI is your main use case, the deciding factor is usually the model you want running there, not the flags.

## Multi-agent work

This is where the products diverge most in philosophy.

Codex gives you primitives and a control surface: subagents, git worktrees, cloud tasks that run on OpenAI's infrastructure, and since 0.167.0 an **agent command center** (`codex agents`) for watching and steering many tasks at once. You compose the workflow yourself. Our [Codex worktrees and durable sessions](/blog/codex-cli-worktrees-durable-agent-sessions) post shows the pattern.

Droid ships opinionated orchestration products on top of its subagents ("custom droids"). **Missions** interview you, build a plan of features and milestones, and run it from Mission Control with workers and validators. **Workstreams** are a standing orchestrator in the Factory App that delegates to a team of agents across machines and brings work back as pull requests. You get more structure out of the box and less to build, at the price of more token spend; see [Missions vs Workstreams vs custom droids](/blog/droid-missions-vs-workstreams-vs-custom-droids-2026).

## Openness and extensibility

Codex's CLI is open source under Apache-2.0. You can read exactly what it sends, file issues against real code, and fork it. For security-conscious teams and for anyone building their own agent, that counts for a lot.

Droid is proprietary, but it is very configurable and leans on shared conventions. It reads AGENTS.md and CLAUDE.md, discovers skills from the shared `.agents/skills/` folder, supports MCP servers, hooks, plugins and internal plugin marketplaces, and can import Claude Code subagents. Our [Droid setup guide](/blog/factory-droid-setup-agents-md-skills-hooks-mcp-2026) walks through each layer. Both tools reading AGENTS.md means the most important file in your repo already works with either.

## Enterprise

Both have SSO, admin controls and audit logging at the top tiers. Codex Enterprise adds SCIM, EKM, RBAC, data residency and a Compliance API for audit logs. Factory leans harder on deployment flexibility: Factory Private, airgapped deployment with your own model endpoints, OpenCompute sandboxes in your own cloud, and per-group usage limits and model access policies. If you need to keep inference inside your own network or on models from several labs, Factory has more options. If your organization already standardizes on ChatGPT Enterprise, Codex comes with it.

## Verdict

These are both excellent agents, and the competition between them is making each better quickly - both shipped new CLI versions several times a week through November. The choice comes down to one question: **do you want to be on one lab's models or all of them?**

If the answer is OpenAI, Codex gives you the native harness, an open-source CLI and cloud features bundled into a subscription you may already have. If the answer is "whichever model is best for this task," Droid is built for exactly that, and its Missions and Workstreams go further on orchestration than anything Codex ships today. If you are still unsure, sign in to Droid's Free plan with your ChatGPT account and run both on the same week of tickets.

For the other big matchup, read [Claude Code vs Droid](/blog/claude-code-vs-droid-2026).

## FAQ

### Is Droid better than Codex?

Neither is better across the board. Factory reports Droid scoring 57.6% against Codex's 54.0% on Terminal-Bench 4 with the same GPT-6.1 Sol model, but that is a vendor benchmark. Codex is the stronger fit if you want OpenAI models, an open-source CLI and ChatGPT bundling; Droid is stronger for multi-model work and built-in orchestration.

### Can Droid use OpenAI models like Codex does?

Yes. Droid's managed plans include the GPT-6.2 Sol and Astra models and older GPT-5.x models, each at a usage multiplier, and its Free plan lets you sign in with ChatGPT and use your existing subscription as the inference source.

### Which is cheaper, Droid or Codex?

Both start at $20 per month for individuals. Codex Plus includes cloud tasks and code review as part of ChatGPT, while Droid Pro covers models from several labs and can fall back to cheaper open models when premium limits run out. Which is cheaper depends on how much you use ChatGPT itself and how much work you can route to low-multiplier models.

### Do Droid and Codex both support AGENTS.md?

Yes. Both read AGENTS.md as their project instruction file, and Droid also reads CLAUDE.md, so one well-written file works across both agents.

### Is Codex open source?

The Codex CLI is open source under the Apache-2.0 license and written in Rust. Droid is proprietary.

## Continue Reading

- [Claude Code vs Droid (Factory AI)](/blog/claude-code-vs-droid-2026)
- [Factory Droid Pricing Explained](/blog/factory-droid-pricing-plans-rate-limits-2026)
- [Codex Usage Limits and Pricing in 2026](/blog/codex-usage-limits-pricing-2026)
- [Set Up Factory Droid Properly](/blog/factory-droid-setup-agents-md-skills-hooks-mcp-2026)
- [All Droid guides](/topics/droid)

## Sources

- Factory pricing: [factory.com/pricing](https://factory.com/pricing)
- Factory available models: [docs.factory.com/models](https://docs.factory.com/models)
- Droid 1.0 announcement: [factory.com/news/frontier-harness](https://factory.com/news/frontier-harness)
- Droid Exec: [docs.factory.com/droid-exec/overview](https://docs.factory.com/droid-exec/overview)
- Factory release notes: [docs.factory.com/changelog/release-notes](https://docs.factory.com/changelog/release-notes)
- Codex pricing: [learn.chatgpt.com/docs/pricing](https://learn.chatgpt.com/docs/pricing)
- Codex changelog: [learn.chatgpt.com/docs/changelog](https://learn.chatgpt.com/docs/changelog)
- openai/codex repository: [github.com/openai/codex](https://github.com/openai/codex)
- openai/codex-action: [github.com/openai/codex-action](https://github.com/openai/codex-action)
]]></content:encoded>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Droid</category>
      <category>Codex</category>
      <category>factory-ai</category>
      <category>Comparison</category>
      <category>coding-agents</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/droid-vs-codex-2026/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Factory Droid Pricing Explained: Plans, Rate Limits and Multipliers (2026)]]></title>
      <link>https://www.developersdigest.tech/blog/factory-droid-pricing-plans-rate-limits-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/factory-droid-pricing-plans-rate-limits-2026</guid>
      <description><![CDATA[Droid pricing in plain terms: the free BYOK tier, Pro, Plus and Max, the three rolling rate limits, Droid Core, Extra Usage, and how model multipliers decide how fast your plan drains.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 26, 2026

Factory's pricing page fits on one screen, but the number on the plan card is the least interesting part of what you pay. What actually decides your bill is three rolling rate limits, a per-model multiplier, and a fallback pool of open models called Droid Core. This post walks through each piece using Factory's own [pricing page](https://factory.com/pricing), the [individual plans doc](https://docs.factory.com/pricing/individuals) and the [models page](https://docs.factory.com/models), all checked on November 26, 2026.

If you are new to the product itself, start with our [Factory Droid review and setup guide](/blog/factory-droid-review-setup-2026) and come back here when you are picking a plan.

## The plans at a glance

| Plan | Price | Inference | What you get |
|---|---|---|---|
| Free | $0 | Bring your own | Sign in with ChatGPT, GitHub Copilot, OpenRouter or Vercel AI Gateway, or connect your own API keys or endpoint |
| Pro | $20/mo per individual | Factory managed | Desktop, CLI and SDK, full model availability |
| Plus | $100/mo per individual | Factory managed | Everything in Pro, about 5x the usage of Pro |
| Max | $200/mo per individual | Factory managed | Everything in Pro, about 10x the usage of Pro |
| Teams | $60/mo per team + $40/mo per seat | Factory managed | Everything in Pro for up to 10 seats, centralized billing |
| Business | Contact sales | Factory managed | Custom limits, SSO, SAML/SCIM, ZDR, audit logs, basic admin controls |
| Enterprise | Contact sales | Factory managed | Dedicated compute, on-prem options, sub-organizations, data residency |

Two things stand out against other terminal agents. First, the free tier is real: it is the full harness with no Factory inference attached, so you can run Droid against a ChatGPT or Copilot subscription you already pay for. Second, the paid tiers scale by usage multiple, not by feature. Plus and Max do not unlock different tools than Pro; they buy roughly 5x and 10x the headroom.

## How the three rate limits work

Every paid individual plan is governed by three rolling windows: **5 hours, 7 days and 30 days**. Factory's docs are explicit that they run independently: "Hitting the 5-hour cap does not eat into weekly or monthly any faster, and vice versa. You need headroom in all three to send a request."

That last sentence is the one to plan around. A heavy afternoon can lock you out on the 5-hour window while you still have most of the month left, and a steady week of long sessions can exhaust the 7-day window even though no single afternoon was heavy. Each window starts when you first use Droid and resets after it elapses, rather than on a calendar boundary.

What counts against the limits: "Droid sessions consume Factory Standard Credits based on model usage, along with compute usage for cloud environments." So a session on a Factory-hosted Droid Computer or cloud environment draws down the same budget as the model calls.

When you hit a limit mid-session, the current request finishes and the next one returns a rate limit error. Running `/limits` lets you switch to Droid Core or turn on Extra Usage and retry immediately. Standard Usage does not roll over month to month.

## Droid Core: the fallback pool

Droid Core is the part most pricing roundups skip. Factory describes it as a "free open-weight model pool with separate Rate Limits after Standard Usage runs out." Enabling it does not cost extra; it keeps you on Standard Usage billing but restricts you to the Core models, so you can keep working after your premium-model limits are gone.

The November 2026 Core list includes Inkling, Mistral Large 4, GLM-5.3, Kimi K3.1 Pro, Qwen3.8 Max, Nemotron 3.5 Super, DeepSeek V4.1 Flash, MiniMax M3.1 Flash, Muse Spark 1.3 and Beam 1.0. Factory notes the list changes as new models ship, and the source of truth is **Settings > Models** in your account.

The practical takeaway: on a Pro plan, Droid Core is what turns "out of usage until Thursday" into "slower models until Thursday." For boilerplate, test scaffolding and mechanical refactors, that is often no loss at all. Our [model routing recipes](/blog/model-routing-recipes-cut-ai-spend) post covers which task types tolerate a cheaper model.

## Extra Usage: prepaid overflow

Extra Usage is prepaid, USD-denominated credit with a $10 minimum. It never expires and, unlike Standard Usage, it rolls over. Once you toggle it on, it stays on until you turn it off or run out, so treat it like a card on file with a hard cap you chose in advance.

Extra Usage matters most for one feature: **Missions require Extra Usage to be enabled.** Missions use the same rolling limits as regular sessions, and a Mission that hits a rate limit pauses rather than failing. If you plan to run multi-hour Missions, budget for Extra Usage from day one. We cover when Missions are worth that cost in [Droid Missions vs Workstreams vs custom droids](/blog/droid-missions-vs-workstreams-vs-custom-droids-2026).

## Multipliers decide how fast you drain

Every model on Factory carries a multiplier against Standard Usage. The plan sets the size of the bucket; the multiplier sets how fast each turn empties it. A selection from the [models page](https://docs.factory.com/models) as of November 26, 2026:

| Model | Model ID | Multiplier |
|---|---|---|
| Claude Fable 5.2 | `claude-fable-5.2` | 3.2x |
| Claude Opus 5.5 | `claude-opus-5-5` | 1.6x |
| Claude Opus 5.5 Fast | `claude-opus-5-5-fast` | 3.2x |
| Claude Sonnet 5.5 | `claude-sonnet-5-5` | 0.8x |
| Claude Haiku 5.5 | `claude-haiku-5-5` | 0.04x |
| GPT-6.2 Astra | `gpt-6.2-astra` | 3.2x |
| GPT-6.2 Sol | `gpt-6.2-sol` | 0.8x |
| GPT-6 Luna | `gpt-6-luna` | 0.04x |
| GPT-5.5 Pro | `gpt-5.5-pro` | 12x |
| Gemini 4 Neon | `gemini-4-neon` | 1.2x |
| Gemini 4 Carbon | `gemini-4-carbon` | 0.8x (promo, 1.6x after Dec 1, 2026) |
| Grok 4.7 | `grok-4.7` | 0.8x |
| GLM-5.3 (Droid Core) | `glm-5.3` | 0.56x |
| Kimi K3.1 Pro (Droid Core) | `kimi-k3.1-pro` | 0.8x |
| MiniMax M3.1 Flash (Droid Core) | `minimax-m3.1-flash` | 0.06x |

Read the ratios, not the absolute values. Factory does not publish how many Standard Credits a Pro plan holds, so you cannot turn these into dollars per task from public docs alone. What you can say with confidence:

- **Sonnet 5.5 and GPT-6.2 Sol at 0.8x stretch a plan twice as far as Opus 5.5 at 1.6x.** For most day-to-day coding, that is the default worth trying first.
- **Fast variants roughly double the multiplier.** Opus 5.5 Fast is 3.2x against 1.6x for standard Opus 5.5. You are paying for latency, not quality.
- **Haiku 5.5 and GPT-6 Luna at 0.04x are 40 times cheaper per unit than Opus 5.5.** That makes them the obvious choice for subagents doing search, summarization or file triage. Our [Haiku 5.5 vs GPT-6 Luna for subagents](/blog/haiku-5-5-vs-gpt-6-luna-subagent) comparison goes deeper.
- **Promotional multipliers expire.** Gemini 4 Carbon and Argon return to 1.6x after December 1, 2026, and Gemini 3.8 and 3.7 Flash return to 0.6x after January 1, 2027. If you pinned one of them in a custom droid or a CI job, revisit it.
- **GPT-5.5 Pro at 12x is an outlier.** One Pro turn costs as much as fifteen Sonnet 5.5 turns.

You can check your own burn rate inside the CLI: `/cost` shows usage statistics for the session and `/stats [period]` covers a date range.

## Factory Router changes the math

If you do not want to pick multipliers by hand, [Factory Router](https://docs.factory.com/model-independence/factory-router) selects a model per task automatically. Factory's own announcement claims 20-25% lower spend, which is a vendor number we have not reproduced; our [Factory Router explainer](/blog/factory-router-automatic-model-routing-spend) separates what is claimed from what is documented. The relevant point for pricing is that routing moves your effective multiplier below whatever single model you would otherwise default to, as long as the router sends easy turns to cheap models.

## Which plan should you pick?

**Free, if you already pay for a model.** A ChatGPT, Copilot or OpenRouter account plus Droid's harness is a legitimate setup, and it is the cheapest way to try Missions-style workflows, AGENTS.md and custom droids before committing. Factory documents Droid Core and Extra Usage under the paid individual plans, so expect the Free tier to be exactly what you bring.

**Pro, for most individuals.** $20 buys Factory-managed access to every model, with Droid Core as the safety net. Default to a 0.8x model like Sonnet 5.5 or GPT-6.2 Sol and you get twice the turns you would on Opus 5.5. If you keep hitting the 5-hour window, that is a signal to change your default model before it is a signal to upgrade.

**Plus, if you run long sessions on Opus-class models.** About 5x the usage of Pro for 5x the price is linear, not a discount. Upgrade when the 7-day window, not the 5-hour one, is what stops you.

**Max, for Missions and parallel work.** At about 10x Pro for 10x the price, Max is for people running multiple sessions or Missions most days. Pair it with Extra Usage so a Mission pauses rather than stalls your week.

**Teams, for small shops.** $60 plus $40 per seat lands at $460 per month for ten people, with centralized billing. Business and Enterprise add the governance controls (SSO, ZDR, audit logs, model access policies) that larger organizations usually need before an agent touches production code.

## How Droid compares on price

At the entry level, Droid lines up with Claude Code and Codex at $20 per month. The structural difference is what the $20 buys. Claude Code subscriptions cover Claude models only; Droid's plans cover Anthropic, OpenAI, Google, xAI and open models from one bucket, with multipliers translating between them. For a side-by-side of every major agent's plans, see our [AI coding tools pricing breakdown](/blog/ai-coding-tools-pricing-2026) and the [Claude Code vs Droid comparison](/blog/claude-code-vs-droid-2026).

The trade is predictability. A flat subscription to one model family is easier to reason about. Droid's model gives you more levers - model choice, Droid Core, Extra Usage, Router - and rewards you for using them, but it also means two people on the same plan can get very different amounts of work out of it.

## FAQ

### Is Factory Droid free?

Yes, with a catch. The Free plan costs $0 but includes no Factory-managed inference: you bring your own, either by signing in with ChatGPT, GitHub Copilot, OpenRouter or Vercel AI Gateway, or by connecting your own API keys or a custom endpoint. You pay the model provider, not Factory.

### How much does Droid Pro cost?

Pro is $20 per month per individual and includes the Desktop app, CLI and SDK with full model availability. Plus is $100 per month for about 5x the usage of Pro, and Max is $200 per month for about 10x. Teams is $60 per month per team plus $40 per month per seat, up to 10 seats.

### How do Droid rate limits work?

Paid individual plans have three rolling windows - 5 hours, 7 days and 30 days - that run independently. You need headroom in all three to send a request. Standard Usage is consumed first, then you can fall back to the Droid Core open-model pool or to prepaid Extra Usage. Run /limits in Droid to see where you stand.

### What is a Droid model multiplier?

Each model on Factory carries a multiplier that scales how fast it consumes your plan. On the November 2026 models page, Claude Opus 5.5 is 1.6x, Claude Sonnet 5.5 is 0.8x, Claude Haiku 5.5 is 0.04x, GPT-6.2 Sol is 0.8x and GPT-5.5 Pro is 12x. A 0.8x model stretches the same plan twice as far as a 1.6x model.

### Do Missions cost extra?

Missions use the same rolling rate limits as regular sessions, but Factory requires Extra Usage to be enabled before a Mission can run, and a Mission pauses if it hits a rate limit. Factory recommends running Missions on Droid Core models where possible.

## Continue Reading

- [Droid vs Codex](/blog/droid-vs-codex-2026)
- [Factory Droid: Review and Setup Guide](/blog/factory-droid-review-setup-2026)
- [droid exec: Run Factory Droid Headless in CI](/blog/droid-exec-headless-ci-guide-2026)
- [Droid Missions vs Workstreams vs Custom Droids](/blog/droid-missions-vs-workstreams-vs-custom-droids-2026)
- [Factory Router, Explained](/blog/factory-router-automatic-model-routing-spend)
- [All Droid guides](/topics/droid)

## Sources

- Factory pricing: [factory.com/pricing](https://factory.com/pricing)
- Individual plans: [docs.factory.com/pricing/individuals](https://docs.factory.com/pricing/individuals)
- Organization plans: [docs.factory.com/pricing/organizations](https://docs.factory.com/pricing/organizations)
- Available models and multipliers: [docs.factory.com/models](https://docs.factory.com/models)
- Factory Router: [docs.factory.com/model-independence/factory-router](https://docs.factory.com/model-independence/factory-router)
- Droid CLI reference (`/limits`, `/cost`, `/stats`): [docs.factory.com/droid-cli/cli-reference](https://docs.factory.com/droid-cli/cli-reference)
]]></content:encoded>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Droid</category>
      <category>factory-ai</category>
      <category>Pricing</category>
      <category>coding-agents</category>
      <category>developer-tools</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/factory-droid-pricing-plans-rate-limits-2026/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Set Up Factory Droid Properly: AGENTS.md, Skills, Hooks, MCP and Permissions]]></title>
      <link>https://www.developersdigest.tech/blog/factory-droid-setup-agents-md-skills-hooks-mcp-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/factory-droid-setup-agents-md-skills-hooks-mcp-2026</guid>
      <description><![CDATA[A configuration guide for Factory Droid: where AGENTS.md, skills, hooks, MCP servers and settings live, what each one is for, and a starter setup you can commit to a repo today.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 26, 2026

Installing Droid takes one command. Making it good at *your* repository takes about six files, and most of them live in a `.factory/` folder you can commit so every teammate, CI job and Mission inherits the same setup. This guide walks through each layer in the order you should add them: AGENTS.md, settings, permission rules, MCP servers, skills, hooks and custom droids. Everything here comes from Factory's [docs](https://docs.factory.com) as of CLI v1.21.0 (November 25, 2026), and every config sample is adapted from an official example.

If you have not installed Droid yet, start with our [Droid review and setup guide](/blog/factory-droid-review-setup-2026).

## The map: what lives where

| Layer | Project (commit it) | Personal | Purpose |
|---|---|---|---|
| Instructions | `AGENTS.md` (root, nested dirs, `.factory/`) | `~/.factory/AGENTS.md` | Commands, layout, conventions |
| Settings | `.factory/settings.json` | `~/.factory/settings.json` | Model, reasoning, autonomy, permission rules |
| Local overrides | `.factory/settings.local.json` | `~/.factory/settings.local.json` | Machine-specific values, never synced |
| MCP servers | `.factory/mcp.json` | `~/.factory/mcp.json` | External tools |
| Skills | `.factory/skills/<name>/SKILL.md` | `~/.factory/skills/<name>/SKILL.md` | Reusable procedures loaded on demand |
| Hooks | `.factory/hooks.json` | `~/.factory/hooks.json` | Deterministic commands at lifecycle events |
| Custom droids | `.factory/droids/<name>.md` | `~/.factory/droids/<name>.md` | Subagents with their own model and tools |

The rule of thumb across all of them: **project files are for things every contributor needs, personal files are for preferences.** Factory says it directly for instructions: "Project files should override personal defaults. Personal files should describe preferences, not requirements that fight repository rules."

## 1. AGENTS.md: the file that matters most

AGENTS.md is the project brief Droid reads at the start of every session. When a git root is present, Droid searches from the current working directory up to the git root, checking each directory and its `.factory/`, `.agents/` and `.agent/` subfolders. It also reads personal instructions from `~/.factory/`, `~/.agents/` and `~/.agent/`. Nested files refine the root file for their directory tree, which is how you give a monorepo package its own rules.

Two details worth knowing:

- **Droid reads `CLAUDE.md` too.** It is on the list of compatible filenames, so a repo already set up for Claude Code works without a rename. If you maintain both, see our [Claude Code AGENTS.md support](/blog/claude-code-agents-md-support) post for how to keep one source of truth.
- **There is a size budget.** The initial load is capped at 80,000 characters, and dynamic discovery during a session at 40,000 characters per tool call. A sprawling AGENTS.md gets truncated, so keep it to what an agent cannot infer from the code.

Factory's own recommended shape is short and command-heavy:

```markdown
# Repository guide

## Commands

- Install dependencies: `pnpm install`
- Start local server: `pnpm dev`
- Run unit tests: `pnpm test`
- Run type checks: `pnpm typecheck`
- Run lint: `pnpm lint`

## Project layout

- `app/` contains routes and server-rendered pages.
- `components/` contains reusable UI components.
- `lib/` contains shared business logic and integrations.

## Verification

Before calling work finished, run:

1. `pnpm test`
2. `pnpm typecheck`
3. `pnpm lint`

If a command fails, fix the issue and rerun it.
```

The verification section is the highest-leverage part. An agent that knows how to check its own work stops handing you broken diffs. Our [AGENTS.md configuration smells catalog](/blog/agents-md-configuration-smells-catalog-2026) lists the patterns that quietly make these files worse.

## 2. settings.json: defaults you stop retyping

User settings live in `~/.factory/settings.json` (`%USERPROFILE%\.factory\settings.json` on Windows). A `settings.local.json` next to any `settings.json` merges on top of it, which is where machine-specific values go. The keys you will touch first:

- `model` - the default model ID, for example `claude-opus-5-5`
- `reasoningEffort` - the default effort level
- `sessionDefaultSettings.autonomyLevel` - `off`, `low`, `medium` or `high`
- `sessionDefaultSettings.interactionMode` - `auto` or `spec`
- `permissionRules` - command policy (next section)

A minimal personal file, adapted from Factory's example:

```json
{
  "model": "claude-sonnet-5-5",
  "reasoningEffort": "medium",
  "sessionDefaultSettings": {
    "autonomyLevel": "low",
    "interactionMode": "spec"
  }
}
```

Starting in Spec Mode means Droid plans read-only and asks for approval before editing, which is a good default while you learn how it behaves in your codebase. `Shift+Tab` flips between Normal and Spec mid-session. The model choice matters for cost: Sonnet 5.5 runs at 0.8x on Factory's multiplier table against 1.6x for Opus 5.5, so it stretches a plan twice as far. Our [Droid pricing guide](/blog/factory-droid-pricing-plans-rate-limits-2026) covers the multipliers.

## 3. Permission rules: decide before the agent asks

Autonomy levels are coarse. Permission rules let you say exactly which commands are allowed, need approval, or are blocked, and they apply in interactive sessions and in `droid exec`. Factory's format is unusual in one good way: **every rule carries its own tests**.

```json
{
  "permissionRules": {
    "version": 1,
    "rules": [
      {
        "id": "project/git-push",
        "decision": "ask",
        "reason": "Review remote Git changes before pushing.",
        "match": { "prefix": ["git", "push"] },
        "tests": {
          "match": ["git push origin main"],
          "noMatch": ["git status", "git log --oneline"]
        }
      }
    ]
  }
}
```

`match.prefix` is an ordered list of exact tokens, and `tests.match` and `tests.noMatch` are full command strings the rule must and must not match. Precedence is strict: **block beats ask, which beats allow.** Validate the whole policy, and preview a specific command, before you rely on it:

```bash
droid rules check
droid rules check --command 'git push origin main' --json
```

Because a headless run cannot answer an `ask`, a rule like the one above effectively stops `droid exec` at the push. That is usually what you want; our [droid exec CI guide](/blog/droid-exec-headless-ci-guide-2026) covers how rules and `--auto` interact. The older `commandAllowlist` and `commandDenylist` settings still work but are deprecated.

## 4. MCP servers: tools beyond the repo

Add servers with `droid mcp add`. The type defaults to `stdio`:

```bash
# Remote server over HTTP (OAuth handled by Droid)
droid mcp add linear https://mcp.linear.app/mcp --type http

# Local stdio server with an environment variable
droid mcp add airtable "npx -y airtable-mcp-server" \
  --env AIRTABLE_API_KEY=your_key
```

`--header "KEY: VALUE"` sets headers on HTTP servers, and `--no-oauth` turns OAuth off for servers that authenticate with an API key. Config lands in `mcp.json` at one of three levels: `~/.factory/mcp.json` for personal servers, `.factory/mcp.json` in the project root for team servers you commit, or a `.factory/mcp.json` in a parent folder shared by nested projects. The project file looks like this:

```json
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["-y", "@playwright/mcp@latest"],
      "disabled": false
    }
  }
}
```

Inside a session, `/mcp` opens the manager (including a built-in registry), `droid mcp auth` signs in to every server that needs it, and `/mcp off` disables every configurable server for the current session, which is handy when tool definitions are crowding the context window. Commit only servers every contributor can authenticate to; keep personal accounts in the user file. Our [best MCP servers](/blog/best-mcp-servers-2026) roundup is a starting list.

## 5. Skills: procedures loaded only when needed

A skill is a folder with a `SKILL.md`. Droid compares your request against every skill's `description` and loads the full body only when one applies, so skills cost almost nothing until they are used. Project skills live in `.factory/skills/<name>/SKILL.md`, personal ones in `~/.factory/skills/`, and Droid also reads the shared `.agents/skills/` convention, so skills written for other agents in the [Agent Skills format](/blog/agent-skills-agentic-ai-foundation-what-changes-2026) are picked up as-is.

A minimal skill, using frontmatter fields from Factory's reference:

```markdown
---
name: release-notes
description: Draft release notes from merged PRs since the last tag. Use when the user asks for release notes or a changelog entry.
allowed-tools:
  - Read
  - Grep
  - Execute
user-invocable: true
---

1. Find the latest tag with `git describe --tags --abbrev=0`.
2. List merged commits since that tag with `git log <tag>..HEAD --oneline`.
3. Group them into Features, Fixes and Internal.
4. Write the result to `RELEASE_NOTES.md` and show a summary.
```

With `user-invocable: true` the skill also appears as `/release-notes`. Set `disable-model-invocation: true` for skills you only want to run by hand. `/skills` lists what Droid discovered, and `/create-skill` turns the current session into a new skill, which is the fastest way to capture a workflow you just walked Droid through. If you are deciding between a skill and a longer AGENTS.md, our [why skills beat prompts](/blog/why-skills-beat-prompts-for-coding-agents-2026) post makes the case.

## 6. Hooks: rules the model cannot talk its way past

Instructions are suggestions. Hooks are code. A hook runs a shell command at a lifecycle event and can block, annotate or continue the action. Droid supports `PreToolUse`, `PostToolUse`, `UserPromptSubmit`, `Notification`, `Stop`, `SubagentStop`, `PreCompact`, `SessionStart` and `SessionEnd`.

Project hooks go in `.factory/hooks.json`, keyed by event. This one, adapted from Factory's docs, runs a formatter after every file edit:

```json
{
  "PostToolUse": [
    {
      "matcher": "Create|Edit|ApplyPatch",
      "hooks": [
        {
          "type": "command",
          "command": "python3 \"$FACTORY_PROJECT_DIR\"/.factory/hooks/format_changed_file.py"
        }
      ]
    }
  ]
}
```

The script itself is yours to write. The semantics that matter:

- **Exit 0** is success. On `UserPromptSubmit` and `SessionStart`, plain stdout is added to the model's context, which is how you inject the current branch or ticket.
- **Exit 2 blocks.** On `PreToolUse` it stops the tool call, and the reason comes from stderr. On `Stop` it feeds the reason back so Droid keeps working, which is a clean way to enforce "tests must pass before you finish."
- **Matchers** that contain only names and `|` are exact tool-name lists (`Create|Edit`). Anything with other characters is an unanchored regex, so use `^Edit$` for a whole-name match.
- A `PreToolUse` matcher on `Execute` can add `commandRegex`, for example `"^git "`, to target specific shell commands.

`/hooks` opens a manager with User, Project, Plugins and Effective tabs, and the Effective tab is the one to check when a hook does not fire. One security note from the exec docs: `droid exec` runs project hooks without a folder-trust prompt, so disable them with a `--settings` file when running against untrusted code. The concepts map closely to Claude Code's; our [Claude Code hooks explainer](/blog/claude-code-hooks-explained) is a good second read.

## 7. Custom droids: specialists on cheap models

Custom droids are subagents defined in `.factory/droids/<name>.md`, each with its own prompt, model and tool policy. They are covered in depth in [Droid Missions vs Workstreams vs custom droids](/blog/droid-missions-vs-workstreams-vs-custom-droids-2026). The setup-time advice is simple: create one read-only reviewer and one cheap explorer on a low-multiplier model, and let the main session delegate. If you have Claude Code agents in `.claude/agents/`, `/droids` can import them.

## A starter `.factory/` to commit

```text
AGENTS.md
.factory/
  settings.json        # permissionRules only; leave model choice to each person
  mcp.json             # servers every contributor can authenticate to
  hooks.json           # formatter on edit, protected paths on PreToolUse
  skills/
    release-notes/SKILL.md
  droids/
    code-reviewer.md   # tools: read-only
```

Leave `model` and autonomy defaults out of the project `settings.json`. Those are personal and plan-dependent, and a committed default of `--auto high` is a bad surprise for a new contributor. Put shared *policy* (permission rules, hooks) in the project, and shared *knowledge* (AGENTS.md, skills, droids) next to it.

Once that is in place, run `/readiness-report` to see where Factory's Agent Readiness model scores the repo. Missions in particular expect a repo that can verify its own work.

## FAQ

### Does Factory Droid read CLAUDE.md?

Yes. Droid lists `CLAUDE.md` and `Claude.md` as compatible instruction filenames alongside AGENTS.md, so a repo set up for Claude Code works without renaming anything.

### Where does Droid store its settings?

User settings live in `~/.factory/settings.json` on macOS and Linux and `%USERPROFILE%\.factory\settings.json` on Windows. A project can have `.factory/settings.json`, and a `settings.local.json` next to either one merges on top for machine-specific values.

### How do I add an MCP server to Droid?

Run `droid mcp add <name> <url-or-command>`, adding `--type http` for remote servers. Stdio is the default. The config is written to `~/.factory/mcp.json` for personal servers or `.factory/mcp.json` in the project root for shared ones, and `/mcp` manages them inside a session.

### What is the difference between Droid skills and hooks?

A skill is instructions the model chooses to load when a request matches its description. A hook is a shell command Droid runs at a lifecycle event, whatever the model decides. Use skills for procedures, and hooks for rules that must always hold, such as formatting or blocking writes to protected paths.

### How do Droid permission rules decide between allow, ask and block?

Each rule matches a command by an ordered prefix of tokens and carries tests that prove what it matches. When several rules match, block takes precedence over ask, which takes precedence over allow. Run `droid rules check` to validate rules and preview a decision.

## Continue Reading

- [Factory Droid: Review and Setup Guide](/blog/factory-droid-review-setup-2026)
- [Droid Missions vs Workstreams vs Custom Droids](/blog/droid-missions-vs-workstreams-vs-custom-droids-2026)
- [droid exec: Run Factory Droid Headless in CI](/blog/droid-exec-headless-ci-guide-2026)
- [Droid vs Codex](/blog/droid-vs-codex-2026)
- [All Droid guides](/topics/droid)

## Sources

- AGENTS.md in Droid: [docs.factory.com/harness/agents-md](https://docs.factory.com/harness/agents-md)
- Settings: [docs.factory.com/droid-cli/settings](https://docs.factory.com/droid-cli/settings)
- Permission rules: [docs.factory.com/autonomy-and-safety/permission-rules](https://docs.factory.com/autonomy-and-safety/permission-rules)
- MCP: [docs.factory.com/harness/mcp](https://docs.factory.com/harness/mcp)
- Skills: [docs.factory.com/harness/skills](https://docs.factory.com/harness/skills)
- Hooks: [docs.factory.com/harness/hooks](https://docs.factory.com/harness/hooks)
- Custom droids: [docs.factory.com/harness/subagents](https://docs.factory.com/harness/subagents)
- CLI reference: [docs.factory.com/droid-cli/cli-reference](https://docs.factory.com/droid-cli/cli-reference)
]]></content:encoded>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Droid</category>
      <category>factory-ai</category>
      <category>AGENTS.md</category>
      <category>MCP</category>
      <category>coding-agents</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/factory-droid-setup-agents-md-skills-hooks-mcp-2026/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Uber Runs 1 Million AI Skills a Month. Here's How]]></title>
      <link>https://www.developersdigest.tech/tutorials/LppZQUFbqDI</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/LppZQUFbqDI</guid>
      <description><![CDATA[Uber's agents invoked skills more than 1 million times in a single month, and its skills marketplace grew from 1 skill to more than 5,000 in a year. Here are the three habits that keep those skills go...]]></description>
      
      <pubDate>Wed, 25 Nov 2026 16:10:16 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/LppZQUFbqDI/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Your MCP Server Is a Search Result Now]]></title>
      <link>https://www.developersdigest.tech/tutorials/st4kL9luM2M</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/st4kL9luM2M</guid>
      <description><![CDATA[If you build MCP servers or tools for AI agents, most models can't even see your tool anymore. Not until they decide to go looking for it. OpenAI and Anthropic both now do something called tool search...]]></description>
      
      <pubDate>Tue, 24 Nov 2026 17:00:37 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/st4kL9luM2M/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Alexandr Wang: The Riemann Hypothesis Means Superintelligence Is Arriving]]></title>
      <link>https://www.developersdigest.tech/tutorials/a1sdu_5QK5g</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/a1sdu_5QK5g</guid>
      <description><![CDATA[Alexandr Wang (Meta) argues in "Superintelligence is Arriving" that the proof of the Riemann Hypothesis, completed with the help of AI, marks the beginning of a significant change. This is his claim, ...]]></description>
      
      <pubDate>Mon, 23 Nov 2026 22:04:40 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/a1sdu_5QK5g/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Your AI Agents Need a Knowledge Factory, Not a Better Model]]></title>
      <link>https://www.developersdigest.tech/tutorials/QFpISkfl2Ec</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/QFpISkfl2Ec</guid>
      <description><![CDATA[Why better AI models won't fix your company, and the knowledge factory that will. You might have 3 to 5 years to rebuild your company around one: AI agents do the work, flag what's missing, and a cura...]]></description>
      
      <pubDate>Mon, 23 Nov 2026 15:47:40 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/QFpISkfl2Ec/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[Claude Code Just Got Code Mode: Save a Ton of Tokens]]></title>
      <link>https://www.developersdigest.tech/tutorials/nIqbdU7mtlc</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/nIqbdU7mtlc</guid>
      <description><![CDATA[Claude Code Code Mode is here: instead of calling tools one at a time, Claude writes a bit of JavaScript that makes all of its tool calls at once, runs them in parallel, and only brings back what it n...]]></description>
      
      <pubDate>Mon, 23 Nov 2026 03:49:26 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/nIqbdU7mtlc/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[The One Number That Predicts What AI Can Do Next]]></title>
      <link>https://www.developersdigest.tech/tutorials/nLzTffg8jOs</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/tutorials/nLzTffg8jOs</guid>
      <description><![CDATA[OpenAI's chief scientist just published the number they use to track AI progress: perplexity, how well a model predicts the next token. GPT-3.5 sat around 0.99 (fluent conversation), GPT-4 around 0.91...]]></description>
      
      <pubDate>Mon, 23 Nov 2026 02:24:29 GMT</pubDate>
      
      <category>Video</category>
      <enclosure url="https://img.youtube.com/vi/nLzTffg8jOs/hqdefault.jpg" type="image/jpeg" />
    </item>
    <item>
      <title><![CDATA[AI Agents Are Becoming Your Operating System]]></title>
      <link>https://www.developersdigest.tech/blog/ai-agents-becoming-your-operating-system</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/ai-agents-becoming-your-operating-system</guid>
      <description><![CDATA[A roadmap for agents in 2027 in three shifts: isolated actors on a shared cloud file system, an inbox instead of raw logs, and custom mini-apps built on the fly.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 23, 2026

Watch the Short on YouTube: https://youtube.com/shorts/C1Ytr4J7WNk

Your next operating system might not be Mac or Windows. It might be a thousand AI agents. That is the big idea in a roadmap post on where agents are headed by 2027, which this Short walks through. The argument is that agents stop being a chat window and turn into the layer that builds and runs the software you work in. It gets there in three shifts.

## Shift 1: an isolated space for every agent

Under the hood, agents move to an [actor model](https://en.wikipedia.org/wiki/Actor_model). In this roadmap that means each agent gets its own isolated space where it can safely improve itself, without reaching into anyone else's state.

On top of that, agents spin up hundreds of virtual computers, all working off one shared cloud file system. The post describes it as a mashup of Google Drive and GitHub, with strict access controls. The analogy in the Short: a thousand interns, each with their own desk and their own locked filing cabinet, so nobody trips over anybody else.

For developers this is the familiar part. Isolation plus a shared, permissioned store is how you already keep concurrent workers from corrupting each other. The open questions are the ones in [Agent Workspaces Need Filesystem Contracts](/blog/agent-workspaces-need-filesystem-contracts): who can write where, what counts as a finished artifact, and how you trace a change back to the agent that made it. If you are choosing the boundary itself today, the [agent sandbox architecture guide](/blog/agent-sandbox-architecture-guide) covers the runtime options.

## Shift 2: an inbox, not a log stream

The second problem is human. How do you manage that many agents without getting overwhelmed?

The roadmap's answer is that the raw agent session, the tool calls and the logs, gets hidden. You open it only when you are debugging. Day to day you work in clean, Slack-style threads, or in an inbox where you approve decisions.

The Short's analogy is a restaurant. You want to read the menu and approve the meal, not sit in the kitchen watching the chef chop every onion. That matches what [Pizza Bot shows about background agents needing inboxes](/blog/pizza-bot-agent-inbox-background-work): once work runs without you watching, the useful surface is the decision queue, not the transcript.

## Shift 3: an OS inside your OS

The last shift is the biggest. Agent platforms become an operating system inside the one you already run.

Why would anyone need that? Because, the post argues, traditional software is too rigid. In this setup agents build custom mini-apps on the fly, shaped around your exact workflow. Ten companies could end up with ten completely different interfaces for the exact same task.

That is a real change in what "the app" means. Instead of every team adapting to one vendor's screens, the interface becomes something the agent generates per team. If you want to see the building blocks that exist now, [Streaming and Generative UI for Agent Apps](/blog/streaming-and-generative-ui-for-agents) covers how agent apps already render UI from model output, and [Cloudflare OS](/blog/cloudflare-os-open-source-agent-platform-2026) is one early take on an agent workspace that treats apps like files.

## Why it matters to developers

Put the three shifts together and the conclusion of the Short follows: by 2027, agents are not just chat tools. They become the secure, customizable infrastructure that quietly builds and runs the software we use to do our jobs.

Treat it as a roadmap, not a release note. Nothing here is a product you can install today. But each shift maps to a decision you can make now:

- **Isolation:** give every agent its own workspace and its own credentials, and make the shared store permissioned from day one.
- **Interface:** design for approvals and summaries first, and keep raw traces one click away for debugging.
- **Software:** expect more of your internal tools to be generated per workflow, and keep the data underneath them clean and well-typed so agents can build on it.

## Sources

- [AI Agents Are Becoming Your Operating System](https://youtube.com/shorts/C1Ytr4J7WNk) - the Developers Digest Short this post is based on, summarizing a 2027 roadmap post on agents.
- [Actor model](https://en.wikipedia.org/wiki/Actor_model) - background on the concurrency model the roadmap references.

## Continue Reading

- [Agent Workspaces Need Filesystem Contracts](/blog/agent-workspaces-need-filesystem-contracts) - the rules a shared agent file system needs before a thousand agents write to it.
- [Pizza Bot Shows Why Background Agents Need Inboxes](/blog/pizza-bot-agent-inbox-background-work) - the approval-inbox pattern in a working product.
- [Agent Sandbox Architecture](/blog/agent-sandbox-architecture-guide) - how to pick the runtime boundary for each agent.
- [Multi-Agent Systems in TypeScript](/blog/multi-agent-systems) - orchestration patterns for many agents working on one goal.
- [Best AI Agent Frameworks (2026)](/best/ai-agents) - agent frameworks compared and ranked.
- [Best AI Coding Tools (2026)](/best/ai-coding-tools) - Claude Code, Codex, Cursor and more, tested and ranked.
]]></content:encoded>
      <pubDate>Mon, 23 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>AI Agents</category>
      <category>Agent Infrastructure</category>
      <category>Agent UX</category>
      <category>Shorts</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/ai-agents-becoming-your-operating-system/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Your AI Agents Need a Knowledge Factory, Not a Better Model]]></title>
      <link>https://www.developersdigest.tech/blog/ai-agents-knowledge-factory-not-better-model</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/ai-agents-knowledge-factory-not-better-model</guid>
      <description><![CDATA[Better models will not fix your company's agents. A knowledge factory will: agents flag what is missing, a curator agent keeps the knowledge current. Start with one workflow.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 23, 2026

Watch the Short on YouTube: https://youtube.com/shorts/QFpISkfl2Ec

You might have three to five years to rebuild your company around one thing: a knowledge factory. That is how [Derek Gilbert put it on November 22](https://x.com/derek_gilbert/status/2124569657818714185). He called it mission critical, and his reasoning is the line the Short closes on: human effort alone will not scale a company.

The idea comes from Harrison Chase at LangChain, in [How to build a knowledge factory](https://x.com/hwchase17/status/2124181216719151585). Here is the argument, and how to start.

## The bottleneck is knowledge, not the model

Chase's claim is that the missing piece for making AI work inside a company is not better models, and not just more context. It is better knowledge: how your company works, what standards you operate by, where data lives and how to access it.

Your most effective people carry that in their heads. They know who to ask, where to look and why things are done a certain way. It is tacit, implicit and scattered. It is like hiring a genius consultant and never telling them how the business runs.

Chase separates two terms that often get blurred. Context is what an agent has available during a task. Knowledge is the reusable understanding you maintain so it can do the task correctly, such as what a metric means or which source to trust. A knowledge factory turns scattered documents and experience into knowledge that becomes context for future work. If you work on the context side already, [Context Engineering for Agents](/blog/context-engineering-for-agents-explained) is the companion read.

## From software factory to knowledge factory

Over the past year and a half, the idea of software factories took off: your best engineers build the systems that help everyone build software, and agents do the building. Chase argues general knowledge work is following the same path. Agents are good enough to make presentations, launch videos and do outbound, but only if they get that scattered company knowledge. [Why Software Factories Fail](/blog/software-factories-fail-harness-engineering) covers the engineering version of this story and where it breaks.

He splits the knowledge into three kinds:

- **Skills:** how to do the work the way your company expects. See [Agent Skills Need Exit Criteria](/blog/agent-skills-production-checklist) for writing them well.
- **Domain knowledge:** definitions, policies and facts about products, customers, competitors and the organization.
- **Data access guidance:** which sources to use, what lives where and how to query it.

## The factory is a loop

The core rule: do not maintain this by hand. Chase calls that a herculean effort. The factory has three parts:

1. **Agents flag gaps.** When an agent cannot find something, or finds something wrong, it uses a tool to report it and can suggest a fix.
2. **A curator agent updates the knowledge.** It runs in the background on a cadence, with access to raw sources like Notion and Slack, to agent traces, and to the flags. Chase keeps this separate from the working agents, because asking them to maintain the knowledge themselves causes contradictions.
3. **Storage.** Skills in GitHub, a file in Notion, LangSmith Context Hub, or a knowledge graph in Neo4j. Chase calls storage the least important piece and says it is still early for semantic memory standards. [Agent Memory Architectures Explained](/blog/agent-memory-architectures-explained) maps the options.

His worked example is a revenue report. The agent notices a renamed column in BigQuery, works around it and flags it. The finance lead then corrects the formatting with the agent. That night the curator reads the flag and the traces and updates the skills, so the next report gets both right.

Nicholas Charriere at Notion [expects to hear about knowledge factories a lot in the coming months](https://x.com/nichochar/status/2124182843102535974), and in a reply described it as the continuation of the company brain, with much more focus on the self-improving part.

## How to start

Chase is explicit that the goal is not to document everything before agents can work. It is to build a system where doing the work reveals what is missing.

- Pick one recurring workflow.
- Watch where your agents struggle. That is the missing knowledge.
- Close the loop so the fix lands in the knowledge, not in one chat.

So stop waiting for smarter models. Close the loop on one workflow, then build the factory.

## Sources

- [Harrison Chase, How to build a knowledge factory](https://x.com/hwchase17/status/2124181216719151585) - the framework, the three kinds of knowledge, the factory pieces and the revenue report example.
- [Derek Gilbert on X](https://x.com/derek_gilbert/status/2124569657818714185) - November 22, 2026, the 3 to 5 year framing.
- [Nicholas Charriere on X](https://x.com/nichochar/status/2124182843102535974) - knowledge factories as the next step after the company brain.
- [Your AI Agents Need a Knowledge Factory, Not a Better Model](https://youtube.com/shorts/QFpISkfl2Ec) - the Developers Digest Short.

## Continue Reading

- [Why Software Factories Fail: Harness Engineering Is Not Enough](/blog/software-factories-fail-harness-engineering) - the engineering factory this idea extends.
- [Context Engineering for Agents](/blog/context-engineering-for-agents-explained) - what happens to knowledge once it becomes context.
- [Agent Skills Need Exit Criteria, Not More Prompt Lore](/blog/agent-skills-production-checklist) - writing the skills a curator agent maintains.
- [Skills Are the New Agent Operating System](/blog/skills-are-the-new-agent-operating-system) - why skills became the format for procedural knowledge.
- [Best AI Agent Frameworks (2026)](/best/ai-agents) - agent frameworks compared and ranked.
]]></content:encoded>
      <pubDate>Mon, 23 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>AI Agents</category>
      <category>Agent Skills</category>
      <category>Context Engineering</category>
      <category>LangChain</category>
      <category>Shorts</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/ai-agents-knowledge-factory-not-better-model/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Alexandr Wang: The Riemann Hypothesis Means Superintelligence Is Arriving]]></title>
      <link>https://www.developersdigest.tech/blog/alexandr-wang-superintelligence-is-arriving</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/alexandr-wang-superintelligence-is-arriving</guid>
      <description><![CDATA[Alexandr Wang argues the AI-assisted proof of the Riemann Hypothesis shows intelligence is no longer the bottleneck, and that the default path to ASI is not inevitable.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 23, 2026

Watch the Short on YouTube: https://youtube.com/shorts/a1sdu_5QK5g

Alexandr Wang at Meta says superintelligence is arriving, and his evidence is the Riemann Hypothesis. In [Superintelligence is Arriving](https://x.com/alexandr_wang/status/2124636606959345776), published on X on November 22, 2026, he argues that the proof of the Riemann Hypothesis, completed with the help of AI, marks the beginning of a significant change. He adds that how humanity acts over the next year will shape the world we end up in.

Everything below is Wang's argument, summarized. He makes three points.

## 1. Intelligence is no longer the bottleneck, he argues

Wang starts with what he calls a difficulty gap. Models began acing the AIME in December 2024 with o3. He points out that the AIME is an extracurricular competition for teenagers, yet its hardest problems are, in his view, harder than most of the coding, cyber and business work people do day to day.

The Riemann Hypothesis sits at the other end. He describes it as a problem some of the most brilliant humans have worked on for 150 years, and as the pinnacle of intellectual accomplishment. Drawing on growing up in Los Alamos, he says many physicists would call the atomic bomb "a homework problem" by comparison.

From that gap he draws his first conclusion. Raw intelligence, he argues, was never the main thing holding models back in other fields. Over the past two years, he says, the industry has been filling in the other gaps, and he points to coding being nearly solved, strong cyber capabilities and useful agents as results. What remains for models to surpass humans across fields, in his framing, is domain-specific know-how, plumbing and experimentation.

## 2. It turns on itself

His second point follows from the first. Wang argues that AI research is much less intellectually demanding than the Riemann Hypothesis. So, he says, models will be intelligent enough to automate all of AI research and to improve themselves.

He expects the same acceleration in biological research, weapons research, economics and more. Just as mathematicians have not fully digested the proof, he writes, nearly every field could move faster than humans can understand or monitor.

That leads him to a hard question. He says it is hard to imagine humanity keeping control over fully unconstrained recursive self-improvement, or over a superintelligence far more capable than humans in every field. He calls safety, alignment and security extremely urgent, and says progress there is not enough on its own. For background on how labs have discussed self-improvement so far, see [Recursive Self-Improvement: What Fable 5, Dario's Essay, and Anthropic's Own Data Actually Tell Us](/blog/recursive-self-improvement-fable-5).

## 3. The default path is not inevitable

The last point is the one he stresses most. Wang calls the industry view that ASI is inevitable, with safety as the only remaining problem, "a particular form of lazy thinking."

He argues against a "handover" of society to AI. Instead he wants technology that gives all humans greater agency and empowerment. He believes that is possible, but says it likely means the whole industry acting meaningfully differently from the "default path" in front of it.

In a [follow-up post on November 23](https://x.com/alexandr_wang/status/2124719968499777546), he says leaders at other labs have made many of the same points. What he adds, in his words: "this path is not inevitable."

## Why it matters to developers

Wang's claims are his own, and many people will disagree with them. Still, the argument is worth knowing because it shapes how one frontier lab leader thinks about the next year:

- **The bottleneck framing.** If he is right that know-how, plumbing and experimentation are the gaps, then much of the remaining work is engineering. That means tooling, data access and feedback loops, the kind of work developers already do.
- **Self-improvement as the central risk.** His focus on AI automating AI research lines up with other recent calls for shared monitoring, such as [OpenAI's proposal that every lab publish one capability number](/blog/openai-one-number-predicts-ai-capabilities) and [Demis Hassabis's push for a frontier AI standards body](/blog/demis-hassabis-frontier-ai-standards-body).
- **The path as a choice.** For a longer scenario of how that choice could play out, [AI 2040 Plan A](/blog/ai-2040-plan-a-superintelligence) walks through one detailed version.

## Sources

- [Alexandr Wang, Superintelligence is Arriving](https://x.com/alexandr_wang/status/2124636606959345776) - X article, November 22, 2026. All claims in this post come from it.
- [Alexandr Wang, follow-up post](https://x.com/alexandr_wang/status/2124719968499777546) - November 23, 2026.
- [Alexandr Wang: The Riemann Hypothesis Means Superintelligence Is Arriving](https://youtube.com/shorts/a1sdu_5QK5g) - the Developers Digest Short.

## Continue Reading

- [AI 2040 Plan A: A Detailed Scenario for Navigating Superintelligence](/blog/ai-2040-plan-a-superintelligence) - one detailed path through the transition Wang describes.
- [Recursive Self-Improvement](/blog/recursive-self-improvement-fable-5) - what the public data says about models improving themselves.
- [The One Number That Predicts What AI Can Do Next](/blog/openai-one-number-predicts-ai-capabilities) - OpenAI's case for a shared capability metric.
- [Demis Hassabis Wants a Frontier AI Standards Body](/blog/demis-hassabis-frontier-ai-standards-body) - the governance side of the same question.
]]></content:encoded>
      <pubDate>Mon, 23 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Superintelligence</category>
      <category>AI Research</category>
      <category>AI Safety</category>
      <category>Meta</category>
      <category>Shorts</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/alexandr-wang-superintelligence-is-arriving/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Claude Code Just Got Code Mode: Save a Ton of Tokens]]></title>
      <link>https://www.developersdigest.tech/blog/claude-code-mode-short-save-tokens</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/claude-code-mode-short-save-tokens</guid>
      <description><![CDATA[Code Mode lets Claude Code write JavaScript that makes all its tool calls at once and returns only what it needs. A real run: 11 tool calls in one 6 second step.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 23, 2026

Watch the Short on YouTube: https://youtube.com/shorts/nIqbdU7mtlc

Claude Code just got a setting that can save you a ton of tokens. It is called Code Mode, and it lets Claude write code instead of calling tools one at a time. This post covers what the Short shows. For the full setup, requirements, permissions and troubleshooting, read the [Claude Code Code Mode guide](/blog/claude-code-code-mode-2026).

## What it does

Today, Claude calls one tool, reads the whole result, then decides the next one. Every step lands in your context window.

With Code Mode, added in [Claude Code v2.1.323](https://github.com/anthropics/claude-code/releases/tag/v2.1.323) on November 12, 2026, Claude writes a bit of JavaScript that makes those calls for it. Per the [Code Mode docs](https://code.claude.com/docs/en/code-mode), one piece of code can run commands in parallel, use one result in the next call, and return only the part of the output Claude needs to read.

## A real run

For the Short, I ran it on Claude Code 2.1.330 with Sonnet 5.5 on November 22, 2026. The prompt: audit the `.mjs` files in a `scripts/` folder.

Claude wrote one step: 11 lines of JavaScript that made 11 tool calls, 1 Bash and 10 Read. Instead of pulling every file into context, it returned a small object: 9 files, 736 lines, 29 `process.exit` calls, and a top 5 table. The largest file was `render.mjs` at 176 lines. The whole step finished in 6 seconds.

That is the point of the feature. The file contents stayed inside the script. Only the summary came back to the model.

## Why it works

This is not a hunch. Several teams landed on the same idea independently:

- **Cloudflare** published "Code Mode: the better way to use MCP" in September 2025.
- **Anthropic** wrote up [code execution with MCP](https://www.anthropic.com/research/code-execution-with-mcp) on November 4, 2025. In its example, token usage dropped from 150,000 tokens to 2,000, a 98.7% saving.
- **Cursor** reported 46.9% fewer agent tokens in January 2026.

The shared insight: models are good at writing code, and code is a cheap place to filter, loop and join results before anything reaches the context window. If you have been tracking where your tokens go, as in [Claude Code Token Burn Is an Observability Problem](/blog/claude-code-token-burn-cache-observability), intermediate tool output is often the biggest line item. [Harness Engineering Makes Tokens a Systems Budget](/blog/harness-engineering-token-budget) covers the same tradeoff from the harness side.

## Turn it on

Code Mode is experimental and off by default.

1. Update to Claude Code v2.1.323 or later.
2. Start Claude in your terminal with the flag set:

```bash
CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 claude
```

3. Press `Ctrl+O` to open the transcript viewer and see the code Claude actually ran.

One limit worth knowing from the docs: code stops after 10 minutes unless it runs in the background, where it can go for up to 2 hours. Permissions still matter, because each tool call inside the script goes through your rules. The [Code Mode guide](/blog/claude-code-code-mode-2026) and [Claude Code Auto Mode Explained](/blog/claude-code-auto-mode-explained) cover how that interacts with auto mode.

## The takeaway

The best agents are not the ones with the most tools. They are the ones that write the code to use them. If your sessions are full of many small, related tool calls, such as reading a folder, filtering search results or running independent commands, Code Mode is worth a try.

## Sources

- [Claude Code docs: Code Mode](https://code.claude.com/docs/en/code-mode) - how it works, the flag, `Ctrl+O`, and run time limits.
- [Claude Code v2.1.323 release](https://github.com/anthropics/claude-code/releases/tag/v2.1.323) - November 12, 2026, where Code Mode was added.
- [Anthropic: Code execution with MCP](https://www.anthropic.com/research/code-execution-with-mcp) - November 4, 2025, the 150,000 to 2,000 token example.
- [Claude Code Just Got Code Mode](https://youtube.com/shorts/nIqbdU7mtlc) - the Developers Digest Short, including the November 22, 2026 run.

## Continue Reading

- [Claude Code Code Mode: How to Turn It On and What It Changes](/blog/claude-code-code-mode-2026) - the full guide: requirements, settings, permissions and troubleshooting.
- [Claude Code Auto Mode Explained](/blog/claude-code-auto-mode-explained) - the classifier that reviews each piece of Code Mode code.
- [Claude Code Token Burn Is an Observability Problem](/blog/claude-code-token-burn-cache-observability) - measure where your tokens actually go.
- [Harness Engineering Makes Tokens a Systems Budget](/blog/harness-engineering-token-budget) - why context is a budget you design, not a cost you accept.
- [Claude Code tool page](/tools/claude-code) - what the CLI does, pricing and setup links.
- [AI API Cost Calculator](/tools/ai-cost-calculator) - estimate per-request and monthly API cost before and after a token cut.
]]></content:encoded>
      <pubDate>Mon, 23 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Claude Code</category>
      <category>AI Agents</category>
      <category>AI Coding</category>
      <category>MCP</category>
      <category>Shorts</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/claude-code-mode-short-save-tokens/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[Claude Code Verification System: What Anthropic's Team Actually Does]]></title>
      <link>https://www.developersdigest.tech/blog/claude-code-team-verification-system-evidence-not-diffs-2026</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/claude-code-team-verification-system-evidence-not-diffs-2026</guid>
      <description><![CDATA[Anthropic says Claude writes and reviews about 90% of the Claude Code team's code. The interesting part is the verification layer - and which pieces you can copy Monday.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 23, 2026

On November 16, Anthropic published an engineering post by Addy Osmani titled [How the Claude Code team thinks about verification](https://claude.dev/blog/how-the-claude-code-team-thinks-about-verification/). The headline number is that about 90% of the Claude Code team's code is written and reviewed by Claude. The useful part is the layer underneath: how the team checks that work without reading every diff. Searches for the "anthropic claude code verification system" jumped to Breakout in Google Trends this week, so people are clearly looking for the details. Here they are, with the parts you can copy.

## What the primary source says

The post's core claim is that verification loops are what let you delegate more. In its words, without them "you can really only run one or two Claudes at a time" because you check everything yourself; with them you can run dozens or hundreds in parallel. Everything else follows from that.

**Three test types worth the investment.**

- **End-to-end tests.** The post's advice is blunt: if you can focus on one type, pick this one. A unit test might fail with "Timeout after 30s", while an end-to-end failure can come with a step trace, a screenshot and a description of which step broke. The post also notes you can pass unit tests and still break the feature, because both the agent and the test miss the full task.
- **Property tests.** You state something that should never fail and let a library such as fast-check, Hypothesis or proptest generate inputs to disprove it. The post lists round-trip encoding, invariants, idempotency and equivalence of optimized and naive code. The point is that generated edge cases do not share the agent's blind spots.
- **Differential tests.** Run the old and new system on the same inputs and diff the outputs. The post pitches these for large migrations and says to normalize irrelevant noise like whitespace and keep a list of approved differences.

**Verification means running the change.** The post says running the app end to end matters more than tests, and tells you to codify how to boot and drive it as a skill called `verify` in a `.claude/skills/` folder, as close to the relevant code as you can. It adds that Claude knows to use the verify skill before committing changes.

**Human attention is triggered by failure.** Claude runs checks and tries to fix failures. If a check still fails after three rounds, it stops and brings in a person.

**Reliability checks trigger on the diff.** The team keeps a 39-item reliability checklist where each item has a trigger readable from a diff, a check, and the incidents behind it. Claude reads the diff and runs only the matching items, usually 3 to 10.

**Changes cannot modify their own checks.** This is the rule I would steal first. If a change can edit the check that judges it, the check is broken. The post says Code Review reads `REVIEW.md` from the base or default branch, never from the pull request.

**New gates start in observe mode.** The team stamps each commit with how it was verified, including "none", and runs a commit gate with off, observe and enforce modes. After two blocks in a session, the next commit is let through so Claude does not get stuck.

**Misses become rules.** Patterns must appear in at least two PRs and be identifiable from a diff, then three agents try to disprove them before a human approves. Flaky tests get a hard rule: Claude cannot skip them, add sleeps or retry until green; if it cannot find the root cause it deletes the test and writes down why.

One caveat on provenance: the 10-point grader improvement the post cites is Anthropic's internal testing on structured file generation, so treat it as vendor-reported and narrow.

## The angle: evidence replaces diff reading

The post's closing line is the real thesis: your job shifts from reading every diff to defining what "done" looks like and reviewing the evidence. That has a second-order effect on tooling. If review becomes "inspect screenshots, traces and check results", then the scarce asset is a trustworthy verifier, not a faster code generator. A team with a fast agent and a weak verify skill produces more unreviewed risk per hour; a team with a strong verify skill can safely run more agents.

Who wins: teams with deterministic, fast, repo-local checks (end-to-end flows, property tests on parsers and migrations). Who loses: teams whose "tests" are a slow, flaky CI suite that agents learn to rerun instead of fix - the post warns about exactly that failure mode.

This is the same shape as the loops we have covered before: [loop engineering](/blog/loop-engineering-designing-agent-loops) is about designing the cycle, and verification is the stop condition that makes the cycle trustworthy. It also sits next to [Code Mode](/blog/claude-code-code-mode-2026), which cuts the cost of tool chains but does nothing to prove the output is right.

## What a builder does Monday

1. **Write one `verify` skill.** Put a `SKILL.md` in `.claude/skills/verify/` that says exactly how to start the app and run your single most important user flow, and what output counts as pass. Keep it fast. See our [agent skills production checklist](/blog/agent-skills-production-checklist) for what a skill needs to be reliable.
2. **Pin the rules to the base branch.** Whatever file defines your review or check rules, make sure the pull request cannot edit the copy that judges it.
3. **Add one property test where bugs hide.** Pick a serializer, parser or migration and assert a round trip or idempotency with fast-check, Hypothesis or proptest.
4. **Roll out any new gate in observe mode.** Log what would have been blocked for a week before enforcing, as the post describes.
5. **Cap retries.** Tell your agent to stop and escalate after three failed rounds on the same check instead of looping.

Where this breaks: the post describes a team with strong tooling and, as one Hacker News commenter put it, an approach that "assumes basically unlimited frontier model inference". Running stacked verifiers and multiple review rounds costs tokens. If you run many agents on one codebase, the merge side matters too - see [parallel coding agents and merge discipline](/blog/parallel-coding-agents-merge-discipline) and [managing a fleet of Claude agents](/blog/managing-a-fleet-of-claude-agents).

## What people are actually saying

The [Hacker News thread](https://news.ycombinator.com/item?id=50529612) splits along predictable lines. One top-level reply fixates on the numbers: the quote about 90% of code being written and reviewed by Claude prompts a commenter to say they are "more interested in the remaining 10%", and replies speculate that the remainder is unattributed or unreviewed - a reading the post itself does not support, since it only says what share is written and reviewed by Claude. A second thread of skepticism is about cost: one commenter argues the approach presumes frontier-model budgets most teams do not have. That is a fair counter to the idea that everyone should copy this wholesale, and it is why the Monday list above is deliberately small.

On the other side, commenters in the same thread describe running large builds with agents that build, verify and deploy themselves, which is anecdotal and unverified but consistent with the post's claim that verification enables delegation. Trade press coverage, including [The New Stack's write-up](https://thenewstack.io/anthropic-claude-code-verification/), mostly restates the post and highlights that engineers review the evidence, such as test results and screenshots, rather than every change.

My read: the contested part is not whether verification matters, it is who pays for it. The cheap pieces (a verify skill, base-branch rules, a three-strikes escalation) cost almost nothing. The expensive pieces (multi-agent bug finders, replayed incident evals) are where the HN skepticism lands.

## FAQ

### What is the Claude Code verification system?

It is the set of checks the Claude Code team uses so agents can prove their changes work before a human looks: end-to-end, property and differential tests, a repo-local verify skill, a diff-triggered reliability checklist, and review rules a change cannot modify.

### Which test type should I invest in first?

End-to-end. The post says to pick it if you only focus on one, because the feature either works or it does not and failures come with traces and screenshots.

### When does Claude escalate to a human?

Per the post, when a check still fails after three rounds of Claude trying to fix it.

### How do I stop an agent from weakening its own checks?

Keep gating rules on a branch the change cannot edit. Code Review reads `REVIEW.md` from the base branch, never from the pull request.

## Continue Reading

- [Claude Ship: PR Steward and Claude Approvals](/blog/claude-ship-pr-steward-claude-approvals-policy-2026) - Anthropic's new review, fix and approve agents for GitHub PRs
- [Claude Code Code Mode](/blog/claude-code-code-mode-2026) - the experimental switch that batches tool calls into one script
- [Loop engineering: designing agent loops](/blog/loop-engineering-designing-agent-loops) - the cycle that verification terminates
- [Agent skills production checklist](/blog/agent-skills-production-checklist) - what a reliable skill needs
- [Parallel coding agents and merge discipline](/blog/parallel-coding-agents-merge-discipline) - running many agents on one repo
- [Managing a fleet of Claude agents](/blog/managing-a-fleet-of-claude-agents) - the operations side of delegating at scale
- [Agent evals need baseline receipts](/blog/agent-evals-need-baseline-receipts) - grading your verifiers
- [Claude Code tool page](/tools/claude-code) - what the CLI does, pricing and setup links
- [Claude Code Mastery course](/courses/claude-code-mastery) - install, core workflows and CLAUDE.md, start to finish

## Sources

- [How the Claude Code team thinks about verification](https://claude.dev/blog/how-the-claude-code-team-thinks-about-verification/) - Anthropic engineering post by Addy Osmani, November 16, 2026; read in full
- [Anthropic says Claude writes and reviews 90% of its team's code](https://thenewstack.io/anthropic-claude-code-verification/) - The New Stack coverage
- [Hacker News discussion](https://news.ycombinator.com/item?id=50529612) - community thread
- [Code Review customization docs](https://code.claude.com/docs/en/code-review-customize) - REVIEW.md behaviour linked from the primary post
]]></content:encoded>
      <pubDate>Mon, 23 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>Claude Code</category>
      <category>Agents</category>
      <category>Testing</category>
      <category>AI Coding Tools</category>
      <category>Skills</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/ai-chat-fatigue-verifiable-workflows/hero.webp" type="image/webp" />
    </item>
    <item>
      <title><![CDATA[The One Number That Predicts What AI Can Do Next]]></title>
      <link>https://www.developersdigest.tech/blog/openai-one-number-predicts-ai-capabilities</link>
      <guid isPermaLink="true">https://www.developersdigest.tech/blog/openai-one-number-predicts-ai-capabilities</guid>
      <description><![CDATA[OpenAI's chief scientist Jakub Pachocki says perplexity, how well a model predicts the next token, tracks every big jump in AI, and wants every lab to publish it.]]></description>
      <content:encoded><![CDATA[
**Last updated:** November 23, 2026

Watch the Short on YouTube: https://youtube.com/shorts/nLzTffg8jOs

There is one number that predicts what AI will be able to do next, and OpenAI's chief scientist just published theirs. In [Perplexity and Intelligence](https://openai.com/index/perplexity-and-intelligence/), posted on November 22, 2026, Jakub Pachocki makes the case that the most important number in AI is not a benchmark score. It is how well a model predicts the next token.

## The number

The number is perplexity: a measure of how well a language model predicts the next token in text. Lower is better. The claim in the post is that every big jump in AI capability has lined up with this number dropping.

The milestones, on the scale the post uses:

| Perplexity (approx.) | Model or point | What showed up |
|---|---|---|
| 0.99 | GPT-3.5, the original ChatGPT | Fluent conversation |
| 0.91 | GPT-4 | Step-by-step reasoning |
| Below 0.8 | | Real skills in cybersecurity and mathematics |
| 0.76 | OpenAI's model | Solving open math problems |
| 0.68 to 0.7 | The next window | Unknown |

## Nobody planned those jumps

Here is the part that makes the post interesting. Nobody knew those abilities would show up at those exact points. Conversation, reasoning, cyber and math skills each arrived as the number crossed a threshold, not on a schedule anyone set.

At around 0.76, the post says, OpenAI's model started solving open math problems, one after another, in a single Slack thread. The next window is roughly 0.68 to 0.7. OpenAI expects more jumps like that. It just does not know what they will be.

For developers this reframes how to read model releases. A leaderboard tells you what a model does on tasks someone thought to write down. A next-token number that keeps falling says new abilities are coming that nobody has written a test for yet. That is a good reason to keep your own evals close to your real work, as covered in [How to Evaluate AI Agents in Practice](/blog/evaluating-ai-agents-in-practice), instead of trusting a single public score. [What the Frontier Code Benchmark means for AI coding](/blog/frontier-code-benchmark-what-it-means-for-ai-coding) makes the same point from the benchmark side.

## The ask: publish it, and agree on limits

Pachocki then proposes something unusual. Every lab should publish this number. And the labs should agree on limits they will not cross until we can actually monitor what these models are doing.

The reason is timing. As soon as 2027, the post argues, AI could start speeding up its own training research. If capability jumps are tied to one measurable number, publishing it gives everyone an early signal before the next jump lands, rather than after.

It fits a wider push for shared standards across frontier labs. [Demis Hassabis's proposal for a frontier AI standards body](/blog/demis-hassabis-frontier-ai-standards-body) comes at the same problem from the governance side, and the [frontier model landscape](/blog/frontier-model-landscape-june-2026) shows how many labs a shared metric would need to cover.

## Why it matters

Three takeaways for people building on these models:

- **Expect surprises.** If abilities appear at thresholds nobody predicted, your product can gain or lose capabilities between model versions. Re-run your evals on every upgrade.
- **Watch the number, not just the leaderboard.** If labs start publishing it, it becomes a leading indicator of what the next model generation can do.
- **The 2027 point is the headline.** AI that speeds up its own training research is what the proposed limits are designed for.

So the most important number in AI right now is not a benchmark score. It is how well a model predicts the next word.

## Sources

- [Perplexity and Intelligence](https://openai.com/index/perplexity-and-intelligence/) - Jakub Pachocki, OpenAI, November 22, 2026. All figures and the proposal come from this post.
- [The One Number That Predicts What AI Can Do Next](https://youtube.com/shorts/nLzTffg8jOs) - the Developers Digest Short.

## Continue Reading

- [Anthropic Delays Its Next Model Six Weeks: Why It Matters](/blog/anthropic-delays-next-model-pace-the-frontier-part-2) - Dario Amodei cites this perplexity measure as a possible yardstick for pacing frontier AI.
- [Alexandr Wang: The Riemann Hypothesis Means Superintelligence Is Arriving](/blog/alexandr-wang-superintelligence-is-arriving) - Wang's case that intelligence is no longer the bottleneck, and AI research is next.
- [Demis Hassabis Wants a Frontier AI Standards Body](/blog/demis-hassabis-frontier-ai-standards-body) - the governance case for shared rules across labs.
- [How to Evaluate AI Agents in Practice](/blog/evaluating-ai-agents-in-practice) - build evals that catch capability changes in your own app.
- [What the Frontier Code Benchmark Means for AI Coding](/blog/frontier-code-benchmark-what-it-means-for-ai-coding) - how to read a benchmark score without over-reading it.
- [The Frontier Model Landscape](/blog/frontier-model-landscape-june-2026) - who is shipping frontier models right now.
- [Where to Access AI Models (2026)](/best/model-access) - official APIs, clouds and routers compared.
]]></content:encoded>
      <pubDate>Mon, 23 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Developers Digest</dc:creator>
      <category>OpenAI</category>
      <category>AI Research</category>
      <category>AI Safety</category>
      <category>Frontier Models</category>
      <category>Shorts</category>
      <enclosure url="https://www.developersdigest.tech/images/blog/openai-one-number-predicts-ai-capabilities/hero.webp" type="image/webp" />
    </item>
  </channel>
</rss>