GitHub Agentic Workflows became generally available on October 28, 2026. The idea is simple: instead of writing long YAML files, you describe a repository chore in plain Markdown, such as "triage new issues" or "explain why CI failed", and a coding agent carries it out inside GitHub Actions.
This beginner guide covers what GitHub Agentic Workflows are, how the Markdown-to-YAML compile step works, the built-in safeguards, which AI engines and licences you need, and how to get your first workflow running in about ten minutes. Facts come from GitHub's changelog, GitHub Docs and the project's own documentation, all checked on November 1, 2026.
QUICK ANSWER
GitHub Agentic Workflows lets you write automation in natural-language Markdown; the gh aw CLI compiles it into a standard GitHub Actions .lock.yml file, and a coding agent (Copilot by default, or Claude, Codex, Gemini or Pi) runs it. It's GA for GitHub Free, Team and Enterprise. Install with gh extension install github/gh-aw, then run gh aw add-wizard to add a ready-made workflow.
What are GitHub Agentic Workflows?
GitHub Agentic Workflows is an open source project from GitHub Next. According to the GA announcement, it automates "reasoning-based tasks" that normal CI scripts struggle with, including:
- Issue triage (labelling, spotting duplicates, asking for missing details)
- CI failure analysis
- Documentation updates
- Test writing
Because the compiled result is an ordinary GitHub Actions workflow, it reuses your existing runner groups and policy constraints. You can power each workflow with GitHub Copilot or bring your own coding agent.
If you're new to the concept of agents, our explainer on AI automation tools like n8n, Zapier and Make is a good primer: agentic workflows bring the same "describe the goal, let the agent work" idea into your code repository.
How GitHub Agentic Workflows work: Markdown in, YAML out
Each workflow is a Markdown file in .github/workflows/. It has two parts:
- YAML frontmatter that configures triggers, permissions, tools, "safe outputs" and the AI engine.
- A Markdown body with natural-language instructions for the agent.
Running gh aw compile turns that source into a .lock.yml file, which is the real Actions workflow. You commit both files. The project's docs note that the Markdown body is loaded at runtime, so you can tweak the instructions without recompiling; you only need to recompile after changing the frontmatter.
Here's a shortened version of the frontmatter from GitHub Next's public repo-status example, which posts a daily status report as an issue:
---
on:
schedule: daily
workflow_dispatch:
permissions:
contents: read
issues: read
pull-requests: read
safe-outputs:
create-issue:
title-prefix: "[repo-status] "
labels: [report, daily-status]
---
# Repo Status
Create an upbeat daily status report for the repo as a GitHub issue.
Notice the agent only gets read permissions. Writing the issue happens through the declared safe-outputs step, not by giving the agent write access.
Built-in safeguards
Letting an AI agent loose on a repository is a real security question, as the recent Claude Code extension backdoor incident showed. GitHub lists these layers in its GA post:
- Agents access GitHub content under integrity filter rules.
- They run with read-only permissions by default.
- They execute inside a sandboxed container behind the Agent Workflow Firewall.
- Outputs are validated through the safe outputs process.
- A dedicated threat detection job scans all proposed changes before they're applied.
New for GA, agents can also run in a Cloud Hypervisor or NVX micro-VM, and "enclaves" help prevent data leaks in cross-repository workflows. Good defaults still aren't a reason to skip review: keep permissions minimal and read every pull request an agent opens.
What's new in the GA release
- Self-hosted runner support: Actions Runner Controller (ARC) runners with Docker-in-Docker.
- Budget forecasting:
gh aw forecastis no longer experimental and now includes threat detection credits and monthly ranges for AI credit spend. - More models and engines: a refreshed model inventory, a model provider choice per workflow, and new templates you can add with
gh aw add-wizard. - Model routing: a router that picks a model based on task type and difficulty.
- Stronger isolation: micro-VM options and enclaves, as above.
Who can use it and what it costs
GitHub says Agentic Workflows is generally available on github.com for GitHub Free, Team and Enterprise. Using the default GitHub Copilot CLI engine requires a Copilot licence.
You don't have to use Copilot. GitHub Docs lists Copilot, Anthropic Claude, OpenAI Codex and Google Gemini accounts as options, and the setup wizard may ask for COPILOT_GITHUB_TOKEN, ANTHROPIC_API_KEY, OPENAI_API_KEY or GEMINI_API_KEY depending on your choice. With a third-party key you pay that provider for tokens, so run gh aw forecast before switching on a busy workflow. Our free AI API cost calculator helps you sanity-check a monthly budget.
Weighing Copilot itself? Our GitHub Copilot Fusion review covers the latest Copilot plans and features.
How to set up your first agentic workflow
This follows the official GitHub Docs quickstart. You need write access to a repository, Actions enabled, and the GitHub CLI v2.0.0 or later on Linux, macOS or Windows with WSL.
- Log in to the CLI with the right scopes:
gh auth login --scopes repo,workflow - Install the extension:
gh extension install github/gh-aw - Add a sample workflow from your repo root:
gh aw add-wizard githubnext/agentics/daily-repo-status. The wizard checks prerequisites, asks you to pick an engine, helps set up secrets, generates the Markdown and.lock.ymlfiles, and opens a pull request. - Merge the pull request and choose to run the workflow. GitHub says a run typically takes 2 to 3 minutes and produces a status-report issue.
- Customise it by editing the Markdown body; if you change the frontmatter, run
gh aw compile, commit, push, and trigger again withgh aw run daily-repo-status.
Other handy commands from the CLI reference: gh aw status shows whether workflows are enabled and how they last ran, gh aw logs downloads run logs including tokens used, and gh aw audit compares runs for cost and tool usage.
Good first workflows for beginners
GitHub Next's public agentics repository has ready-made workflows. Sensible starting points for a small team:
- Daily repo status: a read-only summary issue, the lowest-risk way to learn.
- Issue triage: checks new issues for missing details, adds type and priority labels, flags duplicates and posts a short report.
- CI doctor: investigates failed CI runs and reports likely causes.
- Doc updater: proposes documentation changes as a pull request you review.
Scheduled workflows run on triggers you define; if you ever need a classic cron expression elsewhere in Actions, our cron expression generator builds one in seconds. For broader context on agent platforms, see our guide to OpenAI Agent Builder alternatives, and browse all our free AI tools.
Related: Automating work outside GitHub? Compare n8n vs Zapier vs Make for AI automation.
FAQ
What are GitHub Agentic Workflows?
GitHub Agentic Workflows is an open source GitHub Next project that lets you write repository automation in natural-language Markdown. The gh aw CLI compiles it into a GitHub Actions workflow, and a coding agent such as Copilot, Claude, Codex or Gemini carries out the task.
Are GitHub Agentic Workflows generally available?
Yes. GitHub announced general availability on October 28, 2026 for GitHub Free, Team and Enterprise on github.com.
Do I need GitHub Copilot to use agentic workflows?
No. Copilot is the default engine and needs a Copilot licence, but you can choose Anthropic Claude, OpenAI Codex or Google Gemini with your own API key instead.
How do I install GitHub Agentic Workflows?
Install the GitHub CLI extension with gh extension install github/gh-aw, then run gh aw add-wizard githubnext/agentics/daily-repo-status from your repository root to add a first workflow.
Are agentic workflows safe to run on my repository?
GitHub runs agents with read-only permissions by default, in a sandboxed container behind a firewall, validates outputs through safe outputs, and scans proposed changes with a threat detection job. You should still keep permissions minimal and review every change.
Sources and further reading
- GitHub Agentic Workflows generally available (GitHub Changelog)
- Your first agentic workflow (GitHub Docs)
- Create a GitHub Agentic Workflow (GitHub Agentic Workflows docs)
- CLI Commands (GitHub Agentic Workflows docs)
- githubnext/agentics sample workflows (GitHub)
Comments
Post a Comment