30 comments

  • SkyPuncher1 hour ago
    I don&#x27;t really get this. At this point, my limiting factor is not how quickly Claude can self-trudge through code. It&#x27;s whether Claude is going to do the task correctly or not.<p>I need more mechanisms for controlling long-running sessions and dynamically injecting my thoughts, correction, and nudges rather than faster ways to burn through my tokens without knowing if the results are going to be correct.
    • wrs1 hour ago
      I think the <i>theoretical</i> answer here is this:<p>&quot;Agents address the problem from independent angles, other agents try to refute what they found, and the run keeps iterating until the answers converge.&quot;<p>So you will be supplying the &quot;ground truth&quot; (test suite, detailed spec, whatever) and empower an agent to use it to guide the other agents. Currently a lot of people do this sequentially in the form of multiple code-review passes by fresh agent sessions looking at the work of previous sessions.<p>Adversarial models are a longstanding technique in ML so it makes sense they would try to go this way.
      • vadansky1 hour ago
        I don&#x27;t know, maybe I&#x27;m doing it wrong but I feel LLMs add a slop debt, and each agent pass just exuberates it.<p>Like I had an LLM implement a spec and said it was done... Except it had a ton of `casts` everywhere. Okay, my bad, I should have been clear &quot;NO CASTS&quot;, so I use the LLM to remove the casts, except it just kept making things more and more complicated and ugly.<p>It took me taking a break and having a shower thought to realize all the ugliness is because one type should have been broken up into 2, which would remove a ton of generics and code. But Claude never suggested that, it was always &quot;we need at least one cast here, or we need 1000 LOC of generic factories&quot;. I tried multiple new sessions with various prompts too.<p>Maybe one day soon LLMs could pay off their own slop debt but at least right now I don&#x27;t trust them to write code unseen.<p>Edit: Maybe the correct action should have been to delete everything and make it re-write everything from scratch with the clear &quot;NO CASTS EVER&quot; rule. But still the point is feels like having LLM clean up after an LLM doesn&#x27;t work well enough to just have keep it in a loop and never look at what it does.
        • vinnymac37 minutes ago
          The problem is that we have an ever growing and large number of constraints, and not following even a single one means the result is sloppy.<p>I don’t see them fixing this any time soon, and thus human in the loop is a requirement to use these tools effectively. That is unless you love your slot machine dopamine rush enough to ignore quality gates and respect for your peers time.
        • highwaylights55 minutes ago
          This matches my experience.<p>I&#x27;ve had to put a fair chunk of effort in to skills that will run deterministic mechanisms to unslop a codebase (cyclomatic complexity grading has been really helpful here) as invariably some amount of guidance around principles will be missed over time. I&#x27;ve found it does help, though. Certainly I&#x27;m getting <i>overall</i> better results from Flash and Sonnet over multiple runs for fairly modest token increases. GPT 5.5 less so, but that&#x27;s because it scores better in a first pass. I won&#x27;t really know until I gauge it at the end of my sub month which has been more cost efficient for me all things considered.
      • tsunamifury1 hour ago
        Ground truth is not consensus, it has to be graded against what actually works for the original goal. Plenty of scenarios with AI and Humans can result in consensus around incorrectness.
        • adamtaylor_131 hour ago
          While pedantically correct, I think the comment above assumed that you&#x27;ve correctly specified the work. If you can&#x27;t correctly specify your work, AI agents are just going to help you get a non-solution faster.
          • tsunamifury1 hour ago
            Isn&#x27;t coding the act of specificying the work to a processor? And AI agents are supposed to bridge the gap with intelligence from less specificed to more specified or possibly even more intelligent and alternate implementations?
            • adamtaylor_1350 minutes ago
              Yep. And yet, there&#x27;s still some level of specification you have to do.
    • eggplantemoji6932 minutes ago
      This is my experience. Quantity of output is not the issue right now. Quality is. But I’m not sure if this will ever be solved for, given LLMs are non-deterministic sophisticated autocomplete at their core.<p>Sure, ‘human in the loop’ and all that jazz, but I feel like my knowledge suffers even with this approach. I have to use llms w pinpoint focus to get decent results.<p>The original copilot completions behavior might be peak llm performance for coding, sans having an agent write boilerplate and such.
    • chinathrow55 minutes ago
      I think for now it&#x27;s better to convert tokens into code&#x2F;library code and then work with that for deterministic results rather than relying on Claude being correct or not.
    • root-parent1 hour ago
      When this is all finished and done, these coding models will allow you to rewrite the linux kernel in rust, recode Kubernetes in assembly, and create your own web framework in 10 min.<p>But each prompt will cost your company, 10 to 15 million dollars. An extra 20 million if you ask them to review the code and improve the comments.
    • Jarred1 hour ago
      Dynamic workflows, in my experience, make Claude more effective at complex long-running tasks. They help precisely with getting Claude to do the task correctly.<p>It feels more like a bespoke build system for the specific task&#x2F;project than prompting a freeform chat.
      • aloknnikhil1 hour ago
        As long as agents are fuzzy (which they will continue to be with the Transformers architecture), the need to validate will continue to exist. I cannot imagine merging code without at least 1 human review.
        • MeetingsBrowser1 hour ago
          I&#x27;ve used agents quite a bit and I agree.<p>The current baseline workflow is something like agent output -&gt; human review -&gt; agent refinement -&gt; human review -&gt; agent refinement -&gt; ...<p>But agents are capable of making meaningful improvements to their own output. I&#x27;m hoping dynamic workflows move towards something like:<p>agent output -&gt; agent review -&gt; agent refinement -&gt; (cycle to fixed point) -&gt; final human review
    • encoderer17 minutes ago
      The answer for me has been actually more tokens, and create even more layers of automated verification
    • jascha_eng1 hour ago
      yes I agree with this, more granular going back, letting me interrupt where it went off the rails, or even editing file reads myself etc would be lovely. Ingesting parts of other conversations would also be cool!
    • dude2507111 hour ago
      I have heard of &quot;token-maxxing&quot; but I have not heard of &quot;correctness-maxxing&quot; or &quot;quality-maxxing&quot;.
      • mirashii51 minutes ago
        Not with those exact terms, but it is certainly being discussed. Wes McKinney said in a recent talk that with current coding agents there’s no longer an excuse for shipping suboptimal code that takes on tech debt. Writing tests has never been cheaper, writing custom fuzzers, linters, and other harnesses that serve as guardrails has never been cheaper. His take is that “we didn’t have enough engineering time to do it right” is no longer an excuse, and the only excuses left are that you don’t know any better or you have bad taste.
  • mil222 hours ago
    Interesting to note, not sure if this was known publicly before today&#x27;s blog post:<p>Rewriting Bun with dynamic workflows<p>An example of what dynamic workflows can unlock at scale is the recent rewrite of Bun. Jarred Sumner used dynamic workflows to port Bun from Zig to Rust with 99.8% of the existing test suite passing, roughly 750,000 lines of Rust, and eleven days from first commit to merge. One workflow mapped the right Rust lifetime for every struct field in the Zig codebase. The next wrote every .rs file as a behavior-identical port of its .zig counterpart, hundreds of agents working in parallel with two reviewers on each file. A fix loop then drove the build and test suite until both ran clean. After the port landed, an overnight workflow addressed unnecessary data copies and opened a PR for each for final review. While not yet in production, all of this was handled by dynamic workflows. Jarred will be writing about this more in the future.
    • SkyPuncher1 hour ago
      I&#x27;m extremely skeptical that dynamic workflows had anything to do with this. I&#x27;ve been able to refactor one of the most complicated parts of our code base with similar results.<p>Mechanical refactors are relatively straight forward for agents.
      • jeswin1 hour ago
        &gt; I&#x27;ve been able to refactor one of the most complicated parts of our code base with similar results. Mechanical refactors are relatively straight forward for agents.<p>A rewrite of bun in Rust is unlikely to be a trivial mechanical refactor. And if you are not sharing what the complicated parts were, or how big it is, how do we assess that the task was similar?<p>Unless you are intimately familiar with the bun codebase and you&#x27;ve already made that assessment.
  • ncphillips3 minutes ago
    I just hit my Claude Max limit for the first time _ever_ thanks to workflows lol<p>Like 90 agents ran to do a code review of a fairly small package I have.<p>They&#x27;re really looking for us to increase token usage aren&#x27;t they?
  • bcherny1 hour ago
    A few of us from the Claude Code team will be hanging around if anyone has questions! Very excited for this launch -- dynamic workflows have been a game changer for engineering here at Anthropic. Can&#x27;t wait to hear what you think.
    • bryan01 hour ago
      Thanks to you and the anthropic team for developing such exciting tools! The blog post seems to position workflows for “breadth”: generating fixes &#x2F; refactors against large code bases. What about for “depth”: developing specific new features and functionality end-to-end? I’ve struggled to make this work reliably using the current experimental agent teams. Does this replace or augment that functionality?
      • bcherny1 hour ago
        Yes, it also helps! That&#x27;s a place where raw model capability is the most helpful, but we do find that some dynamic workflow configurations can be helpful too.
        • bryan01 hour ago
          Cool! If you can point to any examples of those types of workflow configurations I’d be super interested. For example, to have a team of agents review a PR and iterate on it until all requirements are met including UX, security and product functionality goals. If they could “converge” to a solution like workflows seems to be designed for that would be amazing.
    • hbarka1 hour ago
      Hi Boris. Love the velocity of features. Are you planning on adding a secrets manager? Enterprise workflows almost always require an encrypted parameter or calling a secret.
    • vblanco44 minutes ago
      I have my own version and the workflow keyword conflicts with it rather heavily. Will there be a way to disable that prompt section&#x2F;keyword?
      • bcherny15 minutes ago
        Yep! Set disableWorkflows:true in your settings.json
    • franze1 hour ago
      just wanted to say thank you, just did a 2 days &quot;ai computer use&quot; workshop - think a virtual desktop on hetzner with claude code in yolo mode, a github account, vercel and logged in into a google account and claude had all the credentials and then let a mix of marketing &#x2F; product manager &#x2F; sales &#x2F; customer support let loose. 2k token budget ... and just let them see do magic again and again.<p>thx for all that amazing tec and save ai
    • rsstack1 hour ago
      Will you document how to (AI-)author and share reusable workflows between team members, to ensure some consistency of quality?<p>Maybe blasphemy, but will workflows be able to use non-Anthropic LLMs (e.g., delegating some steps to local models, but design and review by Claude)?
      • bcherny1 hour ago
        Yes, more docs + technical details coming soon.
    • stvpwrs1 hour ago
      Will workflows be reusable? I have a big use case of sharable and repeatable workflows for projects. Especially if this comes to Cowork.
      • bcherny1 hour ago
        Yes!
        • andrewmutz1 hour ago
          Any idea how soon dynamic workflows might be available in Cowork?
    • thallavajhula1 hour ago
      Hi Boris! Thanks for Claude Code.<p>Is there an example of how y&#x27;all use Dynamic Workflows internally that you could share with the rest of us here so that we can mimic something similar?
      • bcherny1 hour ago
        Hey, yep. A few things I personally used dynamic workflows for over the last few weeks:<p>1. Autonomously landed 20+ optimizations to reduce Claude Code&#x27;s token usage by ~15%<p>2. Ported tree-sitter, color-diff, yoga-layout, and a number of other WASM and Rust native modules to TypeScript, improving CPU and memory use by 2-10x in the process<p>3. Made our CI faster, and repeatedly found and fixed flaky tests (with &#x2F;loop)<p>4. Migrated from regex-based bash static analysis to tree-sitter, reducing false positive permission prompts by 45%<p>5. Reduced Claude Agent SDK startup time by 61%, by repeatedly profiling and optimizing the startup path, putting up a number of PRs in the process<p>6. Shipped 69 code simplification PRs, deleting &gt;10k lines of code
        • sangeeth9656 minutes ago
          &gt; Ported tree-sitter, color-diff, yoga-layout, and a number of other WASM and Rust native modules to TypeScript, improving CPU and memory use by 2-10x in the process<p>Curious to learn more on this (unless there’s a write-up in the works). I’m naive on this matter but:<p>1. is this because it’s higher cost when passing objects back and forth across the JS&#x2F;native boundary? 2. Does this have anything more specific to do with use of Bun? 3. is the stance for claude code then to keep all the deps in raw TypeScript? 4. How do you folks keep these ported deps up-to-date?
        • mkw50531 hour ago
          Very cool. What % of the CC team&#x27;s engineering would you say goes into QoL (as opposed to new feature development)? Obviously some live in a grey area, while others are more clear like making CI faster.
        • rahkiin1 hour ago
          You _reduced_ its _efficiency_? Why do you make CC more inefficient?
          • isoprophlex1 hour ago
            Maxxing everything is all the rage. Gotta cpumaxx or bossman isnt getting his money&#x27;s worth
          • bcherny1 hour ago
            Typo! Edited
        • JimJohn42921 hour ago
          Boris, what are your thoughts on WASM as a technology and it&#x27;s practical implications for AI in the future?
    • m0meni1 hour ago
      What language are the workflows in? Curious what you settled on. And are they running in the cloud or locally?
      • bcherny1 hour ago
        JavaScript, running locally or in the cloud.
    • wilg1 hour ago
      I tried creating a workflow in Claude 1.9255.2 (1dc8f7) 2026-05-27T01:57:20.000Z<p>and got<p>API Error: 400 messages.3.content.11: `thinking` or `redacted_thinking` blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response.<p>Tried again in<p>Claude 1.9659.1 (193bcb) 2026-05-28T16:22:15.000Z also but may need a new chat
      • bcherny1 hour ago
        Looking
        • wilg1 hour ago
          Still seeing it in new threads with Claude 1.9659.1 (193bcb) 2026-05-28T16:22:15.000Z
    • wilg1 hour ago
      Can you please fix the issue where like 99.99999% of the time Claude tries to launch a subagent on its own accord it gets &quot;Prompt is too long&quot; and tries several more times, then gives up and does it without the subagent. Big waste of time and tokens and not getting almost any subagent advantages. Not kidding that this happens about 100 times a day.
    • k2xl1 hour ago
      How do you guys plan feature support between the CLI and Claude Desktop?
      • bcherny1 hour ago
        We generally build features into the Claude Agent SDK, which is shared by CLI, Desktop, VSCode, and cloud.
        • unshavedyak0 minutes ago
          VSCode has an official client? Given IDE usage is being restricted from Claude Code via the CC SDK tokens going to the Claude API rather than your CC Subscription, i&#x27;m unclear which IDEs can actually use claude code now.<p>Eg is Zed capable of using a Claude Code Subscription?
    • tsunamifury1 hour ago
      This is really dissapointing release for such a promising technique. Long walks with fanned vectors can actually be token optimizing vs token burning when combined with self grading each agent along the walk and compared to manual long coding walks to solve first pass problems. But instead this frames it (assumptively) as a tokenmaxxing strategy. There are also many other strartegies that can prove effeciency and wider solution consideration with consensus, but none of this is explained why its an improvement or better than other technqiues.<p>Its like you guys aren&#x27;t even aware of the primary problem you are all facing: your token burns aren&#x27;t paying off anyore against standard coding -- and looking net negative. I have to ask, are you this unaware of your core problem set here?<p>There are no any examples, proofs, or scenarios that show why there is improvement either in complexity or reliability of the solution or effeciency to the path of the solution. I&#x27;m baffled.
    • Depurator28 minutes ago
      [dead]
  • trjordan1 hour ago
    It feels like we&#x27;re far past the point of where having AI do more faster is helpful.<p>It&#x27;s telling that they used &quot;rewrite Bun in Rust&quot; as the proof point here. It&#x27;s cool! But the vast majority of software engineering doesn&#x27;t start with tens of thousands of tests, where making them pass is the whole job.<p>In my experience, AI still drifts from what I meant it to do on anything bigger than building a widget. My time is spent suspiciously reviewing output for changes the agent snuck in, or invariants it broke. I talked with a friend recently where the agent broke the test harness badly enough that none of the tests mattered for 3 weeks. They did pass, though, so CI never complained.<p>There&#x27;s something at the intersection of context engineering, managing that sloppy pile of markdown plans, and good old fashioning system understanding that&#x27;s the real bottleneck.
  • ajma5 minutes ago
    &gt; It’s important to note that dynamic workflows consume meaningfully more usage than a typical Claude Code session
  • chandureddyvari12 minutes ago
    I’m currently cobbling sub agents with hooks, workflows looks very promising for doing things more predictably.<p>Is this equivalent of DAGs for sub agents inside claude code? Can i pause and resume&#x2F;retry workflows? How stateful are they?<p>Really appreciate it someone claude code can throw more light on above. I’m trying to see if I can get langgraph equivalent DAGs here.
  • AndyNemmity14 minutes ago
    I have had dynamic workflows in my agent for the past 9 months.<p>I am diffing Claude Code with them, I tend to agree with the analysis.<p>So far, versus my system, there are tradeoffs, but the dynamic workflows are over tuned to use way more agents that I have ever found add value.<p>It used 8 to diff our systems. I would have used 4, for example.
  • vld_chk1 hour ago
    Quite a thing to use Bun rewrite to Rust as example of dynamic workflows, while now it is considered as anti pattern which leads team to stop supporting the tool due to inability to properly understand and navigate 1m vibe coded Rust lines
  • mohsen128 minutes ago
    I’m gonna try this one on tsz. So far Codex &#x2F;goal has been great<p><a href="https:&#x2F;&#x2F;tsz.dev" rel="nofollow">https:&#x2F;&#x2F;tsz.dev</a><p>So far Codex &#x2F;goal has been amazing but Claude Code &#x2F;goal or even &#x2F;loop does not work hard enough and gives up. I have observed it just claiming it’s “iterating” in a broken loop or simply giving up.
  • afro881 hour ago
    I tried this out yesterday - lucky enough to have access through EAP at work. The workflows that are generated are quite good - smart parallelisation and phasing. End results for larger chunks of work are also much better, which I attribute to more of the work having clean context windows (Opus 4.7 is unusable past 200k conversation length, and each subagent ends up using less than that IME). They also seem to have a validation phase hint in the workflow generator which also helps a lot. Speed is a bonus.<p>You can achieve a similar result manually prompting to use subagents, yes. But the TUI for in flight dynamic workflows is really nice - great visibility into exactly what&#x27;s happening.<p>Honesty, for anything larger than a 1 shot PR, it&#x27;s worth firing off a workflow for better automatic context management alone (more work done in the first 20% sweet spot)
  • aabdi1 hour ago
    wrote something similar for my own use&#x2F;work stuff; seems everything is converging towards similar ideas.<p>IMO, this style of workflow&#x2F;agentics is how all SWE&#x27;ll look like long term. Automate everything into a big pipe-y thing. How it&#x27;s gonna be modelled is up in the air though. lots of different approaches:<p>mine: <a href="https:&#x2F;&#x2F;github.com&#x2F;portpowered&#x2F;you-agent-factory" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;portpowered&#x2F;you-agent-factory</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;ComposioHQ&#x2F;agent-orchestrator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ComposioHQ&#x2F;agent-orchestrator</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;gastownhall&#x2F;gastown" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gastownhall&#x2F;gastown</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;openai&#x2F;symphony" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;openai&#x2F;symphony</a>
  • vblanco1 hour ago
    I made my own knockoff of that for myself <a href="https:&#x2F;&#x2F;github.com&#x2F;vblanco20-1&#x2F;AgentLoom" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vblanco20-1&#x2F;AgentLoom</a> (not really usable, just a vibecoded prototype), based on the workflow files found in the Bun repo. Ive been using it but pointed at deepseek flash to do some really large scale stuff. Its a fun way of using agents, and highly useful for tasks like code review to apply some rules, or to find vulnerability candidates. Funny enough, i used it in the same way claude does, vibecoding the workflow scripts and prompts themselves.<p>I did find it uses tokens like crazy, i migrated Pixel Dungeon (java) to C# as a experiment, and it used almost 2 billion tokens. It was just 20 bucks due to deepseek flash, but i shudder thinking of how much money this uses when run on the real claude API pricing.
    • jorgeleo1 hour ago
      curios minds... why to do that port?
      • vblanco1 hour ago
        just to test the tech. No real usage other than for the fun of it.<p>I did port stb_image from C to Jai which i was able to fully verify and harden and that one ill give more use. Im also using the same workflow system to perform agentic translation of a game i work with from english to various other languages, the results are far better than the commercial &quot;human&quot; translation services we tested. And i also use it to fix OCR issues on PDF books im ocr-ing for a data pipeline. This kind of workflow&#x2F;wide agent swarm system is rather useful for many things where you want to &quot;apply&quot; the same prompts across a whole codebase or just in parallel.
  • tra31 hour ago
    I say this as someone who&#x27;s found LLMs incredibly beneficial.<p>Is this a way to increase token burn?<p>I thought we covered this with Claude&#x27;s C compiler. What changed?
    • mattas1 hour ago
      My initial reaction was that this is tokenmaxxing disguised as a product.
  • Deukhoofd1 hour ago
    I&#x27;m going to be honest, this very much reads like an exciting new way to burn up as many tokens as possible. Large amounts of parallel agents that all have all their work double-checked by multiple other agents, and that keeps running for a longer period of time?<p>I feel like there are more efficient ways to tackle the issues given.
  • xcskier561 hour ago
    Are these “features” just hooks to get people to burn more tokens faster?<p>I’m at the point where deciding what we should and should not do takes a lot more time than actually doing it. More agents just means running faster in potentially the wrong direction
  • vb-844823 minutes ago
    &gt; Rewriting Bun with dynamic workflows<p>Are we sure this is a good &quot;success story&quot; example?
  • CuriouslyC1 hour ago
    Anthropic is going to price themselves out of code, but still find a nice market providing service to senior management. Their long term play is virtual employees rather than tools for humans.
  • brap1 hour ago
    &gt;Claude dynamically writes orchestration scripts<p>So, is this like a skill the LLM should follow, or an actual &quot;workflow&quot; in the deterministic sense?<p>If it&#x27;s the former, is it even reliable for long running tasks? If it&#x27;s the latter, can users interact with it?
    • afro8857 minutes ago
      It&#x27;s the later. You can view it and see fine grained progress, but you can&#x27;t interact with it. I hope that&#x27;s coming next, because it would be useful to steer later phases or even agents
  • buryat1 hour ago
    Not sure I understand how it&#x27;s different from a team of sub-agents, what&#x27;s the difference I&#x27;m curious?
    • bcherny1 hour ago
      There&#x27;s two main differences:<p>1. Support for 1-2 OOMs more agents, to do more work in parallel<p>2. A phased, semi-structured approach where work happens in steps
  • 2001zhaozhao1 hour ago
    We really need a way to scope and implement these multi-agent orchestration features that isn&#x27;t locked in to one provider.
  • isoprophlex1 hour ago
    This seems like it&#x27;s an openclaw, anthropic edition. Something like ClaudeClaw?
  • piyuv1 hour ago
    “We realized the tech is not as addictive as we’ve hoped so we won’t be able to raise token prices enough to be profitable, so here’s a way to make you consume a lot more tokens without even realizing”
  • zli08231 hour ago
    found a new way to burn your money quicker.
  • zli08231 hour ago
    a completely new way to burn your money.
  • mkw50531 hour ago
    Wow, almost like the good old days of &#x2F;ultrathink are back. Feels simultaneously like just yesterday and a lifetime ago.
  • KaiShips9 minutes ago
    [flagged]
  • jdw641 hour ago
    [dead]
  • SilverElfin1 hour ago
    Cloudflare just launched a feature with this same name, just this month. Why would Anthropic choose the same exact name?<p><a href="https:&#x2F;&#x2F;blog.cloudflare.com&#x2F;dynamic-workflows&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.cloudflare.com&#x2F;dynamic-workflows&#x2F;</a><p>Also isn’t all of this already easy to do on any of the platforms (include Claude before this and OpenAI too).