Supported Executors
Draft’s executor system is extensible. Beyond Claude Code and Cursor, Draft supports:Configuration
Each executor is set viadraft.yaml:
Adding a New Executor
Draft uses an adapter pattern for executors. Each adapter defines:- CLI command — How to invoke the tool
- Prompt format — How to pass instructions
- Output parsing — How to read results
backend/app/executors/adapters/. To add a new executor:
- Create a new adapter file (e.g.,
my_agent.py) - Implement the executor spec interface
- Register it in the executor registry