erk is a CLI tool for plan-oriented agentic engineering: create implementation plans with AI, save them to GitHub, execute them in isolated worktrees, and ship code via automated PR workflows.
Read the Documentation for complete guides, tutorials, and reference.
For the philosophy and design principles behind erk, see The TAO of erk.
# Install prerequisites: python 3.10+, claude, uv, gt, gh
# Install erk
uv tool install erk
# Initialize in your repo
erk init
# Verify setup
erk doctorThen follow Your First Plan to learn the workflow.
The primary workflow: plan → save → implement → ship. Often completes without touching an IDE.
# 1. Plan (in Claude Code)
claude
# → develop plan → save to GitHub issue #42
# 2. Implement
erk implement 42
# 3. Submit PR
erk pr submit
# 4. Address feedback
/erk:pr-address
# 5. Land
erk pr landSee The Workflow for the complete guide.
| Section | Description |
|---|---|
| Getting Started | Setup, installation, first tutorial |
| Concepts | Worktrees, stacked PRs, plan mode |
| Guides | Workflows for common tasks |
| Reference | Commands, configuration, file locations |
| Troubleshooting | Common issues and solutions |