What problem does it solve? Delegating coding work to Factory's droid agent from an orchestrator requires knowing the correct headless invocation, autonomy flags, session handling, and output parsing — getting any of these wrong causes TUI hangs, partial changes, or unparsable output. ## Core Features & Use Cases - Headless execution: Runs droid exec without the TUI, with JSON output (-o json) that yields a single result object containing result, session_id, and error status for pipeline parsing. - Autonomy and yolo mode: Documents the --skip-permissions-unsafe bypass mode, the native --auto autonomy ladder, and the fail-fast behavior when permissions are insufficient. - Sessions and follow-ups: Continue work with -s/--session-id, fork sessions, tag runs for CI observability, and resume interactively. - Use Case: An orchestrator needs droid to fix a bug in an isolated git worktree: it runs droid exec --skip-permissions-unsafe -o json --cwd /path/worktree -m claude-sonnet-4-6 "Fix bug X" and extracts the final answer with jq -r '.result'. ## Quick Start Ask the agent to run a scoped coding task through droid in headless mode with JSON output and return the result and session id.