GitHub Copilot has introduced dynamic workflows, a new capability now available in the Copilot CLI, the GitHub Copilot app, and the GitHub Copilot SDK [S1, F1]. These workflows allow developers to define complex, multi-agent orchestrations directly in code, aiming to provide greater reliability and observability for intricate AI-driven tasks [S1, F2].
A dynamic workflow is a program that specifies how a task is executed, combining automated steps with the actions of one or more agents [S1, F3]. This approach ensures that the sequence of steps, agent involvement, and how their results are utilized are all explicitly defined in code, while agents handle the analytical or judgmental aspects of the task [S1, F4]. These programs reside within a GitHub Copilot extension, granting them access to Copilot’s extensibility APIs [S1, F5].
What Changed
Dynamic workflows represent a shift towards more structured and reliable AI orchestration within the Copilot ecosystem. Unlike the /fleet mechanism, which delegates and coordinates work among subagents in parallel, a dynamic workflow executes a process explicitly defined in code [S1, F9]. This allows for a more predictable and auditable execution path for multi-step AI tasks.
These workflows can perform various actions, including running commands, utilizing tools, calling other services, and dividing goals into parallel tasks [S1, F7]. They can also pass structured results between different stages, enable subagents to verify each other’s findings, and, if supported by the client, request user input or pause at checkpoints for review before resuming [S1, F7, F8].
Why It Matters for Developers
For developers, dynamic workflows provide a robust method for managing complex AI-driven processes that require multiple steps, checks, or limits [S1, F11]. This is particularly beneficial for tasks that need to be reusable or have clear stages. For example, a dynamic workflow could be used to investigate a service incident by collecting logs and telemetry, assigning independent agents to analyze different systems, and then combining their structured findings into a timeline and root-cause report [S1, F6]. Other applications include running release checks or concurrently reviewing multiple changed files in a pull request [S1, F6].
By defining these orchestrations in code, developers gain enhanced control, reliability, and observability over their AI agent pipelines. This contrasts with simpler, ad-hoc chat prompts, which are generally sufficient for quick answers or minor changes [S1, F12].
How to Try It
Dynamic workflows are available to users across all Copilot plans [S1, F13].
In the GitHub Copilot app, dynamic workflows are always available without any specific setup [S1, F14].
For users of the latest version of the Copilot CLI, experimental features must be enabled to access dynamic workflows [S1, F15]. This can be done by running the CLI with the --experimental command-line option or by using /experimental on within an interactive session [S1, F15].
copilot --experimentalOr, in an interactive session:
/experimental onDevelopers can author dynamic workflows themselves or leverage Copilot’s built-in guidance to have Copilot generate them [S1, F10]. To explore available workflows, developers can use a prompt like:
What dynamic workflows are available?Current Status and Feedback
Dynamic workflows are currently in public preview and may be subject to changes as the feature evolves [S1, F16]. Developers are encouraged to provide feedback on their experiences. In the Copilot CLI, feedback can be submitted using the /feedback command 1.
/feedback