github/gh-aw
A Go compiler for Markdown agent workflows with controlled writes in GitHub Actions
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
gh-aw is a Go compiler delivered as a GitHub CLI extension. YAML frontmatter declares triggers, permissions, tools, and the engine; the Markdown body describes the task. gh aw compile validates the definition and emits a standard .lock.yml workflow for GitHub Actions. This separates workflow authoring and validation from execution on the runner.
Agent jobs are sandboxed and read-only by default. Configured GitHub mutations normally cross a separate job boundary: safe-outputs buffers and validates requests before jobs with scoped permissions apply them. The Go manifest includes Cobra and go-gh/v2 for CLI integration, actionlint and JSON Schema libraries for validation tooling, and the MCP Go SDK. Treat the tools declared in each workflow as part of its runtime access policy.
Key Capabilities & Differentiators
gh-aw is useful for repository events that need interpretation: triaging issues, reviewing pull requests, investigating CI failures, maintaining documentation, or producing reports. A workflow definition puts the agent's instructions next to its trigger and access configuration, while the generated Actions file gives maintainers a second place to inspect what will actually run.
Built-in engine choices include GitHub Copilot, Claude Code, OpenAI Codex, Google Gemini, and Pi. Engine selection is explicit, but switching engines is not just a prompt change: check engine-specific authentication and network requirements before rollout. Where a task needs to change repository state, configure the permitted write operations through safe-outputs rather than granting the reasoning job general write access.
Trade-offs & Limitations
Keep builds, tests, linting, and deployment in ordinary GitHub Actions jobs when reproducibility matters. Compared with calling an engine CLI directly from Actions, gh-aw provides a reviewable workflow definition and a structured boundary for writes. The cost is another source-to-artifact lifecycle: a prompt or policy change can require recompilation and review of both the definition and the generated workflow.
A validated write request is not proof that an agent's conclusion is correct. Start with read-only reporting, review permissions, tools, and network access, and keep humans responsible for consequential decisions. Versions >= 0.83.3, < 0.85.4 were retired following a security advisory and should be avoided. The MIT license covers the code; GitHub Actions and the selected engine remain separate operational and licensing dependencies.
Hardware & Deployment Guide
Install the extension with gh extension install github/gh-aw, select and authenticate an engine, compile the workflow, and review the generated file before enabling its triggers. The Go manifest specifies Go 1.27.4 for source builds. The digest-pinned Alpine 3.24 Dockerfile copies a prebuilt binary from the build context (gh-aw-linux-amd64 by default) and includes gh, Git, jq, Bash, curl, CA certificates, and shellcheck. It is a compiler image, not an offline agent runtime.
Size the compiler and Actions runner separately: there is no model-serving GPU requirement for compilation, while execution resource use depends on the chosen engine, tools, and concurrency. The release listing identifies v1.2.2 as the latest release and separately lists newer v1.4 prereleases. v1.4.2 raises the Go build requirement to 1.27.4 and tightens supply-chain pinning; v1.4.4 and v1.4.5 make Cursor and Kiro vendor egress opt-in. Pin a version and check the migration notes before upgrading.
gh aw compile validates Markdown workflow definitions and emits standard GitHub Actions .lock.yml files.safe-outputs validates configured write requests and applies them in separate jobs with scoped permissions.go-gh/v2, actionlint, JSON Schema libraries, and the MCP Go SDK.gh-aw binary and verifies that shellcheck runs during the build.GitHub-centric teams that want to add issue triage, CI diagnosis, or documentation review alongside existing Actions, with generated workflow diffs and narrowly scoped writes.
The task is deterministic, the full pipeline must run offline or outside GitHub Actions, or the team cannot review engine access, credentials, and write permissions.
Quick Start & Installation
gh extension install github/gh-aw
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| gh-aw ★ | 5.8k | +75 | Go | MIT | A Go compiler for Markdown agent workflows with controlled writes in GitHub Acti |
| ruflo | 82.8k | +312 | TypeScript | MIT | A TypeScript orchestration layer for coding agents, with shared memory and MCP |
| CopilotKit | 39.1k | +112 | TypeScript | MIT | AG-UI SDK and runtime for bringing AI agents into interactive apps |
| browser-use | 122.7k | +477 | Python | MIT | Python REPL and CDP for adaptive browser automation |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/github/gh-aw.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about gh-aw
Which file actually runs, and where should I make changes?
.lock.yml. Edit the Markdown body for task instructions or the YAML frontmatter for triggers, permissions, tools, and engine selection, then run gh aw compile and review the generated diff.Do I need GPUs, and how should I size the runners?
Can we use it commercially or keep execution inside our own environment?
When should we choose gh-aw over plain Actions or a direct engine CLI call?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy