How Anthropic’s Dynamic Workflows Coordinate Claude Agents
https://www.latent.space/p/claude-dynamic-workflows📌 Anthropic新功能「Flows」:讓Claude自己決定怎麼分工
TL;DR:Anthropic在AI Engineer NY發布動態工作流「flows」,讓Claude自主規劃多agent分工,而非由工程師手動配置。
當你手上管理的agent多到每天要審核一堆它們開出的PR,你大概已經變成了那個「人肉瓶頸」。這正是Anthropic在AI Engineer New York 2026工作坊上,拿出新功能dynamic workflows(簡稱「flows」)要解決的問題。
🤔 從「人工配置」到「Claude自己決定怎麼分」
這場分享由Anthropic技術人員CJ Avilla與Harrison Stall主講,他們先回顧了Unix由Ken Thompson打造、Linux從Linus Torvalds一人逐步演變成多層可信維護者體系的歷史,想說明的道理是:要讓agent做真正有野心的大型專案,它們也需要類似的組織層級。Avilla提到,很多現在在管理大量agent的人,會開始感覺自己變成瓶頸,「坐在GitHub前審PR、確認一切符合預期」。
Dynamic workflows的概念最早出現在Claude Code裡,叫做「為每個任務配一個harness」,但flows可以跑得比單一agent或固定roster更久。核心轉變在於:過去Claude Managed Agents需要開發者自己設定一個coordinator與一組subagent名單,而flows讓Claude自己決定怎麼拆解與編排工作——由主導agent自己訂計畫,寫出一套編排程式,負責啟動agent、收集結果、管理資訊流動。Stall形容,「在多agent編排的不同階段,它能完成一個個可驗證的獨立工作單元,而你不需要去管理這些環節之間的連接」。Avilla也補充,開發者如果想要,仍可以在agent設定裡傳入預先配置好的專用subagent。這項功能目前開放在Claude Console(開發者透過API存取Claude的介面)中使用。
🧩 示範案例:股票觀察清單掃描
現場演示了一個相對簡單的flow:股票觀察清單掃描器。流程分兩階段——先由scan階段把個別股票代號分派給各自擁有獨立context的agent,再由review階段檢視這些發現並產出報告。
💡 現場Q&A挖出的細節
幾個聽眾提問頗值得工程師參考:
- Claude怎麼決定需要多少agent,一個簡單的掃描會不會動輒觸發上百個subagent?Stall回答「答案其實是靠evals與較低的預設值」,真正有野心的任務需要明確鼓勵更高的平行化程度才會發生。
- 主導agent跑的時候知道自己有多少預算嗎?Stall說模型執行時並不知道預算,但開發者可以設定session層級的預算上限;他也提到,如果讓模型知道自己的預算,可能會讓agent變得「有點焦慮」,引來現場笑聲。
- 怎麼讓重複執行的flow隨時間變得更便宜、更有效率?除了讓Claude自己檢視產生的成本外,Avilla建議可以搭配另一項研究預覽功能「dreaming」——它會讀取既有的記憶庫與過去的session記錄,產出重新整理過的新記憶庫,合併重複項目、取代過時或互相矛盾的內容,並浮現新的洞見。Avilla形容這是把與該些session相關的記憶庫「結晶化並改善」。
- subagent之間能彼此溝通嗎?Stall說它們共享一個檔案系統,可以透過檔案交換資訊,但開發者無法透過API直接讓一個subagent對另一個發訊息。
- 開發者能看到subagent實際做了什麼嗎?Avilla表示可以透過Claude Console裡的圖形化介面查看,能清楚看到主導agent實際傳給每個subagent的payload,理解整個圖中每一步的轉換。
⚠️ 成本與邊界
以股票觀察清單這個案例來說,Avilla坦言flows的成本「遠高於」單一agent方案,但在找出所有細節上也「有效得多」。至於股票觀察的flow能不能自己意識到掃描模型不夠好、進而自動調整下次排程,Stall說這目前還沒做進去,但他和Avilla認為hill-climbing與dreaming這類機制,未來可以用來改善這個迴圈。
🎯 實務啟示
有聽眾問到flows能否支撐大型科學研究專案,並提及OpenAI近期宣布的Navier–Stokes千禧年難題相關成果,Stall沒有透露Anthropic內部如何計算這類大型科學問題的細節,但表示讓一般使用者也能處理這類問題是他們的目標:「flows基本上是一種對困難問題砸test-time compute的方式,能更快從模型裡擠出更多能力」。對工程團隊來說,這代表未來設計agent系統時,拆分任務、管理agent拓撲的工作,有機會逐漸從人工配置轉移給模型自己判斷——但目前仍需要靠evals與明確提示去控制agent數量與成本,不是丟出需求就能無限擴張的免費午餐。
🔗 來源
- 標題:How Anthropic’s Dynamic Workflows Coordinate Claude Agents
- 作者/機構:Latent Space
- 連結:https://www.latent.space/p/claude-dynamic-workflows
#Anthropic #ClaudeAgents #MultiAgent #AIOrchestration #DynamicWorkflows #AgenticAI #ClaudeCode #LLMOps #AIEngineer #AgentOrchestration
原始資料 Latent Space · 收集於 2026-10-12
摘要原文
The AI Engineer New York 2026 conference kicked off this morning with a series of workshops, including Anthropic discussing how to orchestrate its Claude Managed Agents . Of particular interest was a brand new feature, announced on Friday , called dynamic workflows — or simply “flows,” as the presenters repeatedly called it. Flows are defined as “a new type of multiagent orchestration, built for your most ambitious workloads.” CJ Avilla and Harrison Stall , both Members of Technical Staff at Anthropic , began by invoking some operating system projects of the past — from Ken Thompson building the original Unix operating system, through to Linux evolving from one person (Linus Torvalds) to layers of trusted maintainers . The lesson: agents need the same level of organization in order to do the types of big, ambitious projects Anthropic envisions for dynamic workflows. The best engineering teams are building AI factories where they own and control not only their data, compute, and infrastructure, but also a durable runtime on their cloud. Union.ai gives your workflows the durability to adapt and right-size infra resources and recover from failures without re-running completed work. Get started directly through AWS Marketplace and try Union.ai free for 30 days . To learn more, visit us at AI Engineer New York booth #48. “I think a lot of us who are orchestrating and managing lots of agents now might start to feel this feeling of being the bottleneck and being the breaking point as we have lots of agents contributing tons and tons of PRs,” Avilla said. “And we’re sitting there in our GitHub trying to approve PRs and make sure that everything works as expected.” The pair noted that dynamic workflows began in Claude Code as the “a harness for every task” concept. But flows can run longer than a single agent or a roster. The basic idea is that Claude chooses the organization of agents. “Flows are essentially the next version of multi-agent orchestration,” said Stall, “where you can let Claude fully orchestrate the entirety of its own multi-agent topology.” The way this works is that the lead agent creates a plan for how it wants to accomplish tasks. Claude then writes an orchestration program, which launches agents, collects results, and manages information flow. Previously, Claude Managed Agents required developers to configure a coordinator and a roster of subagents. With dynamic workflows, Claude itself determines how to divide and orchestrate the work. “Across multiple different phases of the multi-agent orchestration, it’s able to accomplish discrete, verifiable units of work without you having to manage any of the interconnections between these things,” Stall said. That said, Avilla noted that the user can introduce specialist sub-agents if they wish. “It’s also possible in the agent config to pass in pre-configured sub-agents,” he said. All of this is available in Claude Console , the interface used by developers accessing Claude through API — the whole point of Claude Managed Agents. The presenters then showed a relatively simple workflow of a stock watchlist scanner. Although this was far removed from the big, ambitious projects Anthropic is encouraging, it did illustrate the basic pattern : a scan phase distributed individual tickers to agents with isolated contexts , and a later review phase examined the findings before producing a report. The audience Q&A surfaced a number of potential problems. One audience member asked how Claude decides how many agents a task needs , and could a simple ticker scan trigger hundreds of sub-agents? “The answer really is evals and lower defaults ,” Stall replied, noting that ambitious tasks generally require explicitly encouraging greater parallelization. One enduring concern with agent orchestration is maintaining control over your token budget . Someone asked whether the lead agent knows how much money it has available? Stall replied that the model does not know its budget while running, but that developers can set a session budget. He added that informing models of their budgets could make the agents “a little bit anxious,” which elicited chuckles from the audience. A related question was how can developers make repeated flows cheaper and more efficient over time? Outside of asking Claude to examine the costs incurred, Avilla suggested another relatively new feature be used: dreaming . In the documentation , “dreaming” is defined as a research preview feature. A dream “reads an existing memory store alongside past session transcripts, then produces a new, reorganized memory store, ” with duplicates merged, “stale or contradicted entries” replaced, and “new insights surfaced.” Avilla described dreaming in the flow context as being able to “crystallize and basically improve the memory store that is related to those sessions.” For the stock watchlist example, someone asked whether the watchlist flow can improve itself? For example, recognize that its scanning model is inadequate and change the next scheduled run? Stall said this wasn’t built in, but he and Avilla suggested hill-climbing and dreaming could be used to improve the loop. What about visibility into the actions of the sub-agents , another audience member asked. Avilla replied that yes, developers can always inspect that through graphing functionality inside Claude Console. “You can tell, what did the lead agent actually pass to the sub-agent? You can look at that payload here to deeply understand what is actually happening for every transition in this entire graph.” Another interesting question was whether the subagents can communicate with each other? Stall said the agents share a filesystem and can use it to exchange information, but developers cannot directly instruct one workflow subagent to message another through the API. In the watchlist-scanner comparison, Avilla said flows cost “much more” than a single-agent approach, but were also “much more effective at finding all of the details.” The bigger question is how ambitious can flows be, really? One audience member asked whether dynamic workflows can power large scientific research projects, referencing OpenAI’s recently announced proof concerning the Navier–Stokes Millennium Prize problem . While Stall wouldn’t be drawn on specifics about how Anthropic computes large scientific problems, he said it is their goal to enable general users to tackle those problems too. “Flows are basically a way to throw test-time compute at hard problems and get more capability faster out of the models,” he said. “We think, especially as an API service, that unlocking the power of this is the first step for us making these types of discoveries, or scientific progress, broadly doable by the general public. ”
由 claude-code/sonnet 自動生成