Gru
Gru turns GitHub issues into merged PRs — autonomously, locally, with the AI coding agent of your choice.
Point it at an issue and it handles the rest: implementation, PR, code review, CI fixes, rebases — all in an isolated worktree that never touches your working directory.

Gru is agent-agnostic. It ships with backends for Claude Code and OpenAI Codex, and its pluggable architecture makes it straightforward to add more.
Quick Start
# Install prebuilt binary (macOS Apple Silicon)
curl -fL https://github.com/fotoetienne/gru/releases/latest/download/gru-aarch64-apple-darwin.tar.gz | tar xz
sudo mv gru /usr/local/bin/
# Or install from crates.io (all platforms, requires Rust 1.73+)
cargo install gru
# Initialize a repo
gru init owner/repo
# Fix an issue — Gru handles the rest
gru do 42
Prebuilt binaries for macOS x86_64 and Linux are on the Releases page.
For a full walkthrough, see Getting Started.
How It Works
gru init owner/repocreates a bare git mirror at~/.gru/repos/gru do 42creates an isolated worktree, spawns the agent, and monitors progress via streaming JSON- The agent reads the issue, explores the code, makes changes, and runs tests
- After committing, a code-reviewer subagent checks for correctness, security, and convention issues before the PR is created
- Gru opens a PR, watches CI, and feeds failures back to the agent for auto-fix (up to 2 attempts before escalating)
- Review comments are forwarded to the agent for responses
- Labels (
gru:todo→gru:in-progress→gru:done/gru:failed) track state on GitHub