Skip to content

erk Documentation

erk is a CLI tool for plan-oriented agentic engineering—a workflow where AI agents create implementation plans, execute them in isolated worktrees, and ship code via automated PR workflows.

For the philosophy and design principles behind erk, see The TAO of erk.

Quick Start

New to erk? Start here:

  1. Prerequisites - Tools you need installed
  2. Installation - Install and configure erk
  3. Your First Plan - Complete tutorial from plan to PR

Features

  • Plan-First Workflow: AI agents create detailed implementation plans before writing code
  • Worktree Isolation: Each implementation runs in its own isolated git worktree
  • Agent-Driven Development: Automated PR workflows powered by Claude Code
  • Documentation as Code: Agent-generated documentation lives alongside the codebase

Documentation Sections

Tutorials

Step-by-step lessons to get you started.

Topics

Core concepts that explain how erk works.

How-to Guides

Task-focused recipes for specific goals.

Reference

Complete technical reference.

FAQ

Common questions and solutions.

Common User Journeys

"I want to start using erk"PrerequisitesInstallationYour First Plan

"I want to understand how erk works"The WorkflowPlan-Oriented Engineering

"I'm reviewing a teammate's PR"Checkout and Sync PRs

"My rebase has conflicts"Automatic Merge Conflict Resolution

"I need quick iteration without planning"Work Without Plans

Other Documentation

Directory Audience Purpose
docs/learned/ AI agents Agent-generated patterns and conventions
docs/developer/ Contributors Internal development docs