github/gh-aw
Define AI agent automation for GitHub repos in Markdown, compiled into sandboxed Actions workflows with gated writes.
The problem
Repos accumulate work that needs judgement rather than a fixed script: triaging issues, reviewing pull requests, digging into CI failures, chasing stale docs. Teams either do it by hand or bolt an LLM call onto a workflow and hand it a token with write access. gh-aw treats the agentic step as a first-class, compilable artifact: you write the task in Markdown with YAML frontmatter, and it emits a standard GitHub Actions workflow.
What's different
Most teams wire agents into CI as ad-hoc scripts or custom actions, where the prompt, trigger and permissions live in different places and nothing validates them. Here the Markdown file is the source of truth, gh aw compile produces a locked workflow, and the agent job runs read-only in a sandbox by default. Writes are staged as "safe outputs" and applied by separate jobs with narrow permissions. Compared with general agent frameworks, this trades generality for a tight, reviewable fit with Actions' trigger and permission model. It also means the agent can be swapped: the README lists Copilot, Claude Code, Codex, Gemini and Pi as engines.
Who it's for
Maintainers of active open-source repos and platform teams running GitHub-centric engineering orgs, especially those already comfortable with Actions YAML and wanting agent steps reviewed like code. It is not for people who need an agent runtime outside GitHub, nor for teams wanting deterministic checks only — the README is explicit that this complements CI, not replaces it. If you avoid LLM calls in CI or need fully offline operation, look elsewhere.
Cost of adoption
The entry point is the CLI extension (gh extension install github/gh-aw), so you need gh and Go toolchain maturity is implicit. Each run consumes an AI engine account and Actions minutes, and you must review permissions, tools, network access and generated .lock.yml files before trusting them. The license is MIT. The project is young, and the README itself reports a security advisory affecting releases >= 0.83.3, < 0.85.4 that were retired pre-emptively — a signal that the security surface is real and that pinning versions matters. The README is detailed on architecture but thin on operational limits and failure modes.
Verdict
A GitHub-owned project with roughly 5,400 stars about 14 months after creation, plus +304 stars in the last month and one day on the trending board — meaningful momentum, but the board history is too sparse to call it an established trajectory. The design instinct (read-only agent, validated safe outputs, separate scoped write jobs) is the right one for this problem, and the Markdown-to-workflow compilation makes agent logic reviewable. The early security advisory is a reminder that you are adopting a young, fast-moving security-sensitive tool. Worth a pilot on a low-risk repo; not yet something to roll out repo-wide without version pinning and careful permission review.
Hacker News
Written by AI from the project's README, updated October 24, 2026. The project's own docs are the source of truth.