Skip to main content

Supported Executors

Draft’s executor system is extensible. Beyond Claude Code and Cursor, Draft supports:

Configuration

Each executor is set via draft.yaml:

Adding a New Executor

Draft uses an adapter pattern for executors. Each adapter defines:
  1. CLI command — How to invoke the tool
  2. Prompt format — How to pass instructions
  3. Output parsing — How to read results
Adapters live in backend/app/executors/adapters/. To add a new executor:
  1. Create a new adapter file (e.g., my_agent.py)
  2. Implement the executor spec interface
  3. Register it in the executor registry
See the Contributing guide for details.