Originally published on ClueTrove.
Open your .github/workflows folder and sort every job into two piles. If you can write each step down before the job runs, leave it in GitHub Actions. If the job needs someone to read text and make a call, such as labeling a new issue or explaining why last night’s CI run broke, it is a candidate for GitHub Agentic Workflows.
GitHub made Agentic Workflows generally available on October 28, 2026, for GitHub Free, Team and Enterprise. The project is open source under the MIT license, but the default Copilot CLI engine needs a Copilot license, so the move is cheap to try and not automatically free to run.
Which CI jobs should stay in GitHub Actions?
Anything deterministic stays put. The gh-aw repository lists them plainly: builds, tests, linting, deployments and reproducible scripts. These jobs must do the same thing on every commit.
A quick test for each job in your folder:
- Does a green check mean the same thing every time? Keep it in Actions.
- Would two engineers get the same result by following the job’s steps? Keep it in Actions.
- Does a person currently read logs, comments or diffs and then decide what to do? That is agent territory.
GitHub’s repository sums up the relationship in one line: Agentic Workflows complement existing CI/CD and do not replace it. If you already run integration tests against emulated services, like the setup in our guide to using an AWS emulator in CI, that pipeline does not change.
Which jobs are worth moving to an agent?
GitHub’s changelog names issue triage, CI failure analysis, documentation updates and test writing. The repository adds pull-request review, dependency analysis and repository reporting.
| Job today | Where it belongs |
|---|---|
| Compile and run unit tests | GitHub Actions |
| Deploy to production | GitHub Actions |
| Label and route new issues | Agentic workflow |
| Explain a failed CI run | Agentic workflow |
| Flag docs that lag the code | Agentic workflow |
A sensible first candidate is a job that only reads and reports, such as issue triage or CI failure investigation. Nothing gets written to your code, so a wrong answer costs you a comment, not a broken branch.
What does an agentic workflow file look like?
Each workflow has two parts. YAML frontmatter sets the triggers, permissions, tools and AI engine. The Markdown body describes, in plain language, what the agent should accomplish.
You then run gh aw compile. It validates the source and generates a .lock.yml file, which GitHub Actions executes like any other workflow. The output reuses your existing runner groups and policy constraints.
GitHub Copilot is the default engine, and you can bring your own coding agent instead. The repository lists GitHub Copilot, Claude Code, OpenAI Codex, Google Gemini and Pi. If you are weighing Copilot against Claude Code on cost per task, see our Copilot Fusion vs Claude Code comparison, and for where Claude Code fits next to Anthropic’s other apps, our Claude Code vs Cowork vs Chat guide.
How do you keep an agent from changing the wrong thing?
GitHub describes layered safeguards. Agent jobs run with read-only permissions by default, inside a sandboxed container behind the Agent Workflow Firewall, and they follow integrity filter rules when they read GitHub content.
Writes go through a process called safe outputs. Configured writes are buffered, validated and applied in separate jobs with scoped permissions, and a dedicated threat detection job scans all proposed changes before they are applied.
These controls are configurable, and that puts the review on you. The repository tells workflow authors to check permissions, tools, network access and generated files before deployment, and it says to use the project with caution and at your own risk. The same habit applies to local agents; our piece on skipping permission prompts in Claude Code covers why.
One version range to avoid: security advisory GHSA-8h78-hpm7-29gg covers versions from 0.83.3 up to, but not including, 0.85.4. GitHub retired those releases as a pre-emptive measure, so do not pin any of them in your setup.
What changed between the preview and general availability?
- Workflows can run on self-hosted Actions Runner Controller (ARC) runners with Docker-in-Docker.
-
gh aw forecastis no longer experimental and now includes threat detection credits and monthly ranges for AI credit spend. - The model inventory was refreshed, model providers can be picked per workflow, and
gh aw add-wizardadds new workflow templates. - A model router can pick a model based on task type and difficulty.
- Agents can run in a Cloud Hypervisor or NVX micro-VM, and enclaves prevent data leaks in cross-repository workflows.
How do you set up your first agentic workflow?
- Install the CLI extension:
gh extension install github/gh-aw. - Follow GitHub’s quickstart to select an AI engine, add a sample workflow and run it through Actions.
- Browse the agentics repository from GitHub Next for prebuilt workflows covering triage, dependency management, code review and reporting.
- Run
gh aw forecastbefore you scale up. - Review permissions, tools and network access before rolling it out to the whole team.
Frequently asked questions
Can I use GitHub Agentic Workflows on a free GitHub account?
Yes. GitHub made them available on github.com for GitHub Free, Team and Enterprise. Running a workflow on the default Copilot CLI engine requires a Copilot license.
Do agentic workflows run on my self-hosted runners?
Yes. They compile to standard Actions workflows that reuse your runner groups, and general availability added support for self-hosted ARC runners with Docker-in-Docker.
Does Actions run the Markdown file directly?
No. Actions executes the .lock.yml file that gh aw compile generates, so you compile the Markdown source first.
Which versions of gh-aw should I avoid?
Any version from 0.83.3 up to, but not including, 0.85.4. GitHub retired those releases after security advisory GHSA-8h78-hpm7-29gg.
Can I use Claude Code instead of Copilot?
Yes. Claude Code is one of the built-in engines, along with GitHub Copilot, OpenAI Codex, Google Gemini and Pi, and you can pick the model provider per workflow.
Related reading
- GitHub Copilot HydraFusion Max: What Is Documented
- GitHub Replica: What It Needs Locally and What Sharing Costs
- Claude Code vs Cowork vs Chat: Which One to Use
Sources
- GitHub Changelog: GitHub Agentic Workflows generally available, 28 October 2026
- GitHub: github/gh-aw repository README, 22 November 2026
