← Back to Leaderboard
Ggithub

github/gh-aw

A Go compiler for Markdown agent workflows with controlled writes in GitHub Actions

AI FrameworkQuickstart ↓
Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated today
Latest Release
v1.2.2
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
DockerMCPCLI
Total Stars
★ 5,778
24h Growth
+4
7d Growth
+75
Forks
664

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

github/gh-aw Star History (2025-08-12 - 2026-12-04) ALL-TIME STAR HISTORY (2025-08 – 2026-12) +5.8k in 479d · avg +12/day 6.1k 3.1k 0 2025-08-12: ★ 12025-09-13: ★ 1482025-10-18: ★ 1792025-11-22: ★ 2292025-12-27: ★ 2662026-01-31: ★ 3272026-03-07: ★ 3,6552026-04-11: ★ 4,1112026-05-16: ★ 4,3582026-06-20: ★ 4,5562026-07-25: ★ 4,7262026-08-29: ★ 4,9862026-10-03: ★ 5,2972026-11-04: ★ 5,5532026-12-04: ★ 5,778 ★ 5.8k 2025-08 2026-04 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & 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.

Compilation: gh aw compile validates Markdown workflow definitions and emits standard GitHub Actions .lock.yml files.
Write boundary: safe-outputs validates configured write requests and applies them in separate jobs with scoped permissions.
Engine selection: Built-in engines include GitHub Copilot, Claude Code, OpenAI Codex, Google Gemini, and Pi.
Go toolchain: The manifest includes Cobra, go-gh/v2, actionlint, JSON Schema libraries, and the MCP Go SDK.
Container build: The digest-pinned Alpine 3.24 image copies a prebuilt gh-aw binary and verifies that shellcheck runs during the build.
Upgrade compatibility: The v1.4.4 and v1.4.5 prereleases make Cursor and Kiro vendor egress opt-in.
Best For

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.

Skip If

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.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerMCPCLI
gh extension install github/gh-aw

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
gh-aw ★5.8k+75GoMITA Go compiler for Markdown agent workflows with controlled writes in GitHub Acti
ruflo82.8k+312TypeScriptMITA TypeScript orchestration layer for coding agents, with shared memory and MCP
CopilotKit39.1k+112TypeScriptMITAG-UI SDK and runtime for bringing AI agents into interactive apps
browser-use122.7k+477PythonMITPython 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.

Raw .md ↗
curl -sL https://repoforai.com/repo/github/gh-aw.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

github/gh-aw Star History on RepoForAI

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?

GitHub Actions executes the generated .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?

The Go compiler and its Alpine image do not include a model server. Size compilation separately from execution: budget runner CPU and memory for the selected engine CLI and tools, then measure provider usage and concurrency on representative runs. There is no fixed GPU or VRAM requirement for compilation.

Can we use it commercially or keep execution inside our own environment?

The MIT license permits commercial use and modification, subject to retaining the copyright and permission notices in copies or substantial portions. Running the compiler in your own environment does not make the full workflow self-hosted or offline; review GitHub Actions and engine terms, data handling, and authentication separately.

When should we choose gh-aw over plain Actions or a direct engine CLI call?

Use plain Actions when the task can be expressed as a reproducible script. Calling an engine CLI directly from Actions gives you control over the job layout, but you must design your own isolation and write controls. Choose gh-aw when reviewable compilation and separation between agent execution and GitHub writes are worth the additional workflow source and generated file.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining github/gh-aw? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature github/gh-aw on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare