AI agents in your CI, kept on a short leash
It lets you write GitHub Actions workflows in plain Markdown and have AI agents run them under strict, sandboxed guardrails.

What it does
gh-aw adds agentic workflows to GitHub repositories. You write tasks in natural-language Markdown, and the system dispatches them to an AI backend—Copilot, Claude, Codex, or Gemini—running inside GitHub Actions. The agent operates under a read-only default; any write operation must escape through a sanitized safe-outputs channel, and the whole runtime is sandboxed, network-isolated, and SHA-pinned.
The interesting bit
Most AI-in-CI demos ignore the fact that LLMs hallucinate shell commands. This tool leans into the danger by making the safety architecture the actual feature: it treats the AI as a hostile insider from day one, surrounding it with sandboxed execution, tool allow-listing, and mandatory human approval gates for destructive operations.
Key highlights
- Natural-language Markdown replaces dense YAML for defining workflow steps.
- Supports swapping between Copilot, Claude, Codex, and Gemini without rewriting workflows.
- Defaults to read-only execution; any write must pass through sanitized
safe-outputs. - Sandboxed runners, network isolation, SHA-pinned dependencies, and optional human approval gates.
- Installs as a GitHub CLI extension.
Caveats
- Releases
0.68.4through0.71.3contain a billing bug and are being retired; upgrade if you’re affected. - The maintainers explicitly warn that even with guardrails, things can still go wrong; human supervision is mandatory, not optional.
Verdict
Pick this up if you want AI agents automating repository tasks inside GitHub Actions and your security team demands sandboxing and human approval. Pass if you just wanted a Copilot plugin to generate YAML; the guardrails are the product, not the bonus.
Frequently asked
- What is github/gh-aw?
- It lets you write GitHub Actions workflows in plain Markdown and have AI agents run them under strict, sandboxed guardrails.
- Is gh-aw open source?
- Yes — github/gh-aw is open source, released under the MIT license.
- What language is gh-aw written in?
- github/gh-aw is primarily written in Go.
- How popular is gh-aw?
- github/gh-aw has 4.8k stars on GitHub and is currently holding steady.
- Where can I find gh-aw?
- github/gh-aw is on GitHub at https://github.com/github/gh-aw.