Skip to content
GitHub Agentic Workflows

RESEARCH PROTOTYPE
GitHub Agentic Workflows

Automate GitHub tasks safely using AI agents—write workflows in plain English, no YAML required.
AI agents execute complex GitHub operations like issue triage, PR reviews, and repository maintenance automatically.

GitHub Agentic Workflows allow you to write repository-level AI agent descriptions in plain markdown and run automatically in GitHub Actions. Describe your repository automation goals and execute safely with built-in security controls, having AI make intelligent decisions based on context.

How it works:

  1. Write - Create a .md file with your automation instructions in natural language
  2. Compile - Run gh aw compile to transform it into a secure GitHub Actions workflow (.lock.yml)
  3. Run - GitHub Actions executes your workflow automatically based on your triggers

Workflows run with read-only permissions by default. Write operations require explicit approval through sanitized safe outputs (pre-approved GitHub operations), with sandboxed execution, tool allowlisting, and network isolation ensuring AI agents operate safely within controlled boundaries.

Here’s a simple workflow that runs daily to analyze repository issues:

---
on: daily
permissions: read
safe-outputs:
create-discussion:
---
## Daily Issues Report
Analyze repository issues and create a discussion
with metrics, trends, and key insights.

The gh aw compile command transforms this into a GitHub Actions workflow that runs an AI agent in a containerized environment on a schedule.

Part of the Continuous AI Initiative