gh-aw vs DeclarAgent
AI-powered repository workflows compared
gh-aw turns Markdown workflow definitions into GitHub Actions for AI-assisted repository tasks. DeclarAgent runs reusable YAML plans through a CLI or MCP server; it focuses on validating, previewing, and controlling multi-step actions.

gh-aw: Define AI Workflows for GitHub Actions
GitHub Agentic Workflows is a Go-based GitHub CLI extension for defining AI-powered repository automation in Markdown and running it through GitHub Actions. It compiles workflows for supported agents, with read-only defaults and controlled write jobs.

DeclarAgent: Run Auditable Workflows for AI Agents
DeclarAgent runs YAML-defined workflows through shell commands, built-in actions, and HTTP requests. Its validation, dry-run, approval gates, and MCP integration suit teams that want agents to invoke controlled CLI workflows.
| gh-aw | DeclarAgent | |
|---|---|---|
| Language | Go | Go |
| License | MIT | MIT |
| Stars | 5.4k | 10 |
| Forks | 596 | 0 |
| Last analyzed | Oct 23, 2026 | Oct 14, 2026 |
Key differences
- gh-aw targets repository tasks such as issue triage, pull-request review, and CI investigation; DeclarAgent targets operational workflows built from commands, actions, and HTTP requests.
- gh-aw compiles Markdown with YAML frontmatter into GitHub Actions workflows; DeclarAgent executes YAML plans directly through its CLI or MCP server.
- gh-aw provides read-only, sandboxed agent jobs by default and handles configured writes through safe outputs; DeclarAgent requires explicit approval for steps marked destructive.
- gh-aw supports several AI engines, including Copilot, Claude Code, Codex, Gemini, and Pi; DeclarAgent exposes plans as MCP tools or can generate a Claude Code Skill.
- Both projects are written in Go and use the MIT license. gh-aw reports 5.3k stars and 572 forks, while DeclarAgent reports 10 stars and 0 forks.
Choose gh-aw if you…
- need AI reasoning for repository tasks within GitHub Actions.
- want Markdown-authored workflows and support for multiple AI engines.
- prefer read-only, sandboxed agent jobs with configured writes handled separately.
Choose DeclarAgent if you…
- want reusable YAML runbooks callable through a CLI or MCP server.
- need to validate or preview plans and require approval for destructive steps.
- want structured JSON results and typed errors for programmatic handling.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.