Skip to main content

draft.yaml

The main configuration file lives at the root of your repository. It controls the AI executor, verification commands, planner behavior, and more.
draft.yaml

Environment Variables

Backend (backend/.env)

Copy from the example file:

Frontend (frontend/.env)

AI Provider Keys

Set the API key for your chosen LLM provider (used by the planner):
AI executor CLIs (Claude Code, Cursor) use their own authentication. The API keys above are only for the planner’s LLM calls.

Executor Types

YOLO Mode (Claude Only)

When enabled, Claude CLI runs with --dangerously-skip-permissions, allowing it to execute without confirmation prompts:
Only enable YOLO mode for repositories you trust. The AI agent will have unrestricted access to run commands in the worktree.