Supported Executors
Draft’s executor system is extensible. Beyond Claude Code and Cursor, Draft supports:| Executor | CLI | Description |
|---|---|---|
| Codex | codex | OpenAI’s Codex CLI |
| Gemini | gemini | Google’s Gemini CLI |
| AMP | amp | Sourcegraph AMP agent |
| Aider | aider | Open source AI pair programming |
| Copilot | gh copilot | GitHub Copilot CLI |
| Goose | goose | Block’s open source agent |
| Cline | cline | VS Code extension agent |
| Amazon Q | q | AWS Amazon Q Developer |
| OpenCode | opencode | Open source coding agent |
| Qwen | qwen | Alibaba’s Qwen coding agent |
| Droid | droid | Android-focused code agent |
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