What Are Executors?
Executors are the AI code tools that Draft uses to implement tickets. When a ticket moves toEXECUTING, Draft spawns the configured executor CLI in the ticket’s isolated worktree.
Supported Executors
How Execution Works
- Draft creates an isolated git worktree for the ticket
- The executor CLI is spawned with the ticket’s instructions as a prompt
- The agent reads the codebase, makes changes, and exits
- Draft checks the git diff in the worktree
Post-Execution States
Configuration
Set the executor indraft.yaml:
Executor Detection
Draft checks for CLIs in yourPATH: