動的ワークフローの紹介(3 分読了)
Anthropic は Claude Code に「動的ワークフロー」機能を導入し、単一エージェントでは困難な大規模コードベースのバグ調査や移行作業を、並列実行する多数のサブエージェントと自己検証機能で数日で完了可能にした。
キーポイント
自律的なマルチエージェントオーケストレーション
Claude が動的にオーケストレーションスクリプトを作成し、単一セッション内で数十から数百の並列サブエージェントを起動・管理する機能を搭載した。
大規模タスクへの対応と自己検証
複雑なレガシーコードベースでのバグハンティングやファイル移行など、単一パスでは処理しきれない課題に対し、実行前に結果を検証する仕組みでエンドツーエンドの解決を可能にした。
多様なプラットフォームと利用方法
Claude Code CLI、デスクトップ版、VS Code 拡張機能および主要クラウドプロバイダ(Bedrock, Vertex AI など)で提供され、「自動モード」や「ultracode」設定により容易に起動できる。
重要な引用
Work you'd normally plan in quarters now finishes in days.
Claude dynamically writes orchestration scripts that run tens to hundreds of parallel subagents in a single session, checking its work before anything reaches you.
影響分析・編集コメントを表示
影響分析
この機能は、LLM を単なるチャットボットやコード補完ツールから、複雑なシステム全体を自律的に管理・修正できる「エージェント」へと進化させる重要な転換点です。特にレガシーシステムの維持や大規模リファクタリングといった、これまで人間が数ヶ月かけて行っていた業務の自動化を現実的なタイムスケールで実現可能にし、開発生産性とコード品質に大きなインパクトを与えるでしょう。
編集コメント
「クォーター単位で計画していた仕事が数日で終わる」という表現は、AI エージェントの自律性向上がもたらす業務プロセスの変革を象徴的に示しています。ただしトークンコストの増大リスクがあるため、企業導入時にはコスト管理とタスクのスコープ設定が鍵となるでしょう。
- カテゴリ
- プロダクトClaude Code
- 日付2026年5月28日
- 読了時間5分
- シェアリンクをコピーhttps://claude.com/blog/introducing-dynamic-workflows-in-claude-code
本日、Claude Code に動的ワークフロー(dynamic workflows)を導入しました。これにより、Claude は最も困難なタスクを最初から最後まで担当できるようになります。通常は四半期単位で計画する必要がある作業が、数日で完了します。Claude は単一のセッション内で数十から数百の並列サブエージェントを実行するオーケストレーションスクリプトを動的に記述し、結果をあなたに届ける前に自身の作業を検証します。
一部の課題は、単一のエージェントによる一度の実行では大きすぎます。特に複雑なレガシーコードベースにおいては、サービス全体にわたるバグの調査、数百ファイルに影響する移行、あるいはコミットする前にあらゆる角度から負荷テストされた計画などです。動的ワークフローなら、これらすべての課題を最初から最後まで処理できます。

動的ワークフローは、Claude Code CLI、デスクトップ版、および Max、Team、Enterprise プラン(管理者が有効化した場合)の VS Code 拡張機能において、本日研究プレビューとして利用可能です。また、Claude API、Amazon Bedrock、Vertex AI、Microsoft Foundry でもご利用いただけます。
注:ダイナミックワークフローは、通常の Claude Code セッションに比べて大幅により多くのトークンを消費する可能性があるため、ご自身の業務での使用感を把握するために、スコープを限定したタスクから始めることを推奨します。
最適な体験を得るためには、ダイナミックワークフローを使用する際に自動モードをオンにしてください。その後、ワークフローを開始する方法は 2 つあります。
- Claude に直接ダイナミックワークフローの作成を依頼する(例:「ワークフローを作成してください」)
- または、「ultracode」と呼ばれる Claude Code 専用の新しい設定をオンにする。これはエフォートメニューからアクセスでき、エフォートレベルを xhigh に設定すると同時に、Claude がタスクを処理するためにいつワークフローを使用するかを自動的に判断できるようにします。
ダイナミックワークフローの実践例
早期アクセスユーザーおよび Anthropic 内のチームは、ダイナミックワークフローを幅広いユースケースで活用しています。具体的には以下の通りです。
- コードベース全体のバグハンティング、プロファイラー誘導の最適化監査、セキュリティ監査:Claude はサービスまたはリポジトリを並列に検索し、発見されたすべての項目に対して独立した検証を実行するため、レポートには実際の課題のみが浮き彫りになります。同じアプローチは、ハードニングパス(認証チェック、入力検証、コードベース全体における安全でないパターンなど)にも適用可能です。
- 大規模な移行と近代化の取り組み:Claude は、数千ファイルにわたるフレームワークの置換、API の非推奨対応、言語間の移植をエンドツーエンドで処理できます。
- 二重の確認が必要な重要な作業:誤った回答のコストが高い場合、ワークフローにより Claude は問題に対して独立した試行を行い、結果を確認する前に破ろうとする敵対的なエージェントが機能します。
0/2
eBook
image
image
動的ワークフローによる Bun の書き換え
スケーラブルな規模で動的ワークフローが実現する可能性の一例として、最近行われた Bun の書き換えがあります。Jarred Sumner は、動的ワークフローを活用して、既存のテストスイートの約 99.8% が合格する状態で、Bun を Zig から Rust へ移植しました。これは約 750,000 行の Rust コードであり、最初のコミットからマージまでわずか 11 日間で完了しています。あるワークフローは、Zig のコードベース内のすべての構造体フィールドに対して適切な Rust のライフタイムを割り当てました。次のワークフローでは、各 .rs ファイルがその対応する .zig ファイルの動作に完全に一致するポートとして作成され、数百のエージェントが並列で作業し、各ファイルには 2 名のレビューアが付きました。その後、ビルドとテストスイートがクリーンになるまで実行される修正ループが稼働しました。移植完了後、不要なデータコピーを解消し、最終レビュー用の PR をそれぞれ作成する夜間ワークフローが実行されました。まだ本番環境には導入されていませんが、これらすべては動的ワークフローによって処理されました。Jarred は今後、この件についてさらに詳しく執筆する予定です。
仕組み
ワークフローが起動すると、Claude はプロンプトに基づいて動的に計画を立て、それをサブタスクに分割し、並列で動作するサブエージェントに作業を分散します。結果は統合される前に検証され、最終的に単一の調整された回答として戻ってきます。エージェントたちは独立した角度から問題に取り組み、他のエージェントはその発見内容の反証を試み、答えが収束するまで実行は継続して反復されます。これこそが、単一パスでは到達できない成果をワークフローがもたらす理由です。
ダイナミックワークフローは、数時間から数日にわたって延長される可能性のある並列処理や長時間実行が必要な作業のために設計されており、従来であれば数週間を要した最も複雑なエンジニアリング業務を担います。実行中は進行状況が保存されるため、中断されたジョブも再開地点から続き、最初からやり直す必要はありません。調整は会話の外で行われるため、タスクの規模が大きくなっても計画は軌道に乗ったまま維持されます。
重要な点として、ダイナミックワークフローは通常の Claude Code セッションに比べて、明らかに多くの利用リソースを消費することに留意してください。ワークフローが初めてトリガーされた際、Claude Code は実行しようとしている内容を表示し、ユーザーの確認を求めます。また、組織管理者は管理設定を通じてオプションでワークフローを無効化することも可能です。
はじめに
Max または Team プランをご利用中の方、または API を通じて Claude Code をご利用の方は、ダイナミックワークフローがデフォルトで有効になっています。Claude にワークフローの作成を依頼するか、Claude Code 固有の設定「ultracode」をオンにして開始してください。Enterprise プランをご利用の場合は、ローンチ時にはダイナミックワークフローがデフォルトで無効になっています。管理者は Claude Code の 設定 で簡単にこの設定を変更できます。
詳しくは ドキュメント をご覧ください。
見つかった項目はありません。
Claude Code を入手する
Claude によって組織の運用方法を変革する
開発者向けニュースレターを購読する
製品アップデート、ハウツー記事、コミュニティ紹介など、毎月あなたのメールボックスにお届けします。
月次の開発者向けニュースレターを受け取りたい場合は、メールアドレスをご入力ください。いつでも登録解除が可能です。
ありがとうございます!登録が完了しました。
申し訳ありませんが、送信に問題が発生しました。後ほどもう一度お試しください。
原文を表示
- Category
- ProductClaude Code
- DateMay 28, 2026
- Reading time5min
- ShareCopy linkhttps://claude.com/blog/introducing-dynamic-workflows-in-claude-code
Today we're introducing dynamic workflows in Claude Code, helping Claude take on the most challenging tasks end-to-end. Work you'd normally plan in quarters now finishes in days. Claude dynamically writes orchestration scripts that run tens to hundreds of parallel subagents in a single session, checking its work before anything reaches you.
Some problems are too big for one pass by a single agent, especially in complex, legacy codebases: a bug hunt across an entire service, a migration that touches hundreds of files, a plan you want stress-tested from every angle before you commit to it. Dynamic workflows can handle all of these end-to-end.

Dynamic workflows are available today in research preview in the Claude Code CLI, Desktop, and the VS code extension for Max, Team, and Enterprise (if admin enabled) plans, as well as on the Claude API, on Amazon Bedrock, Vertex AI, and Microsoft Foundry.
Note: Dynamic workflows can consume substantially more tokens than a typical Claude Code session, so we recommend starting on a scoped task to get a feel for usage in your work.
For the best experience, turn on auto mode when using dynamic workflows. From there, you have two ways to start a workflow:
- Ask Claude to create a dynamic workflow directly (e.g., “Create a workflow”), or
- Switch on a new Claude Code-specific setting called ultracode. This is accessible through the effort menu and it sets the effort level to xhigh, while letting Claude decide automatically when to use a workflow to handle your task.
Dynamic workflows in action
Early access users and teams inside Anthropic have been using dynamic workflows for a wide range of use cases, including:
- Codebase-wide bug hunts, profiler-guided optimization audits, and security audits: Claude searches a service or repo in parallel, then runs independent verification on every finding so the report surfaces real issues. The same shape works for hardening passes: auth checks, input validation, and unsafe patterns across an entire codebase.
- Large migrations and modernization efforts: Claude can handle framework swaps, API deprecations, language ports that span thousands of files end-to-end.
- Critical work you need checked twice: When the cost of a wrong answer is high, a workflow gives Claude independent attempts at the problem and adversarial agents working to break the result before you see it.
0/2
eBook
Rewriting Bun with dynamic workflows
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.
How it works
When a workflow kicks off, Claude plans dynamically based on your prompt, breaks it into subtasks, and fans the work out across subagents running in parallel. Results are checked before they're folded in, and you come back to a single, coordinated answer. Agents address the problem from independent angles, other agents try to refute what they found, and the run keeps iterating until the answers converge—which is how a workflow reaches results a single pass can't.
Dynamic workflows are built for parallel and long-running work that can extend into hours and days, doing the most complex engineering work that previously would have taken weeks. Progress is saved as the run goes, so a job that's interrupted picks up where it left off instead of starting over. Because the coordination happens outside the conversation, the plan stays on track no matter how big the task gets.
It’s important to note that dynamic workflows consume meaningfully more usage than a typical Claude Code session. The first time a workflow triggers, Claude Code shows what's about to run and asks you to confirm. Organization admins can also optionally disable workflows through managed settings.
Getting started
If you're on a Max or Team plan, or using Claude Code via the API, dynamic workflows are on by default. Ask Claude to create a workflow or turn on the Claude Code-specific setting ultracode to get started. If you’re on an Enterprise plan, dynamic workflows are off by default at launch. Your admin can easily change this in the Claude Code settings.
Read the documentation to learn more.
No items found.
Get Claude Code
Transform how your organization operates with Claude
Get the developer newsletter
Product updates, how-tos, community spotlights, and more. Delivered monthly to your inbox.
Please provide your email address if you'd like to receive our monthly developer newsletter. You can unsubscribe at any time.
Thank you! You’re subscribed.
Sorry, there was a problem with your submission, please try again later.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み