AI Agent Workflow
xlflow is designed so agents can work through stable commands instead of the Excel UI.
Recommended loop:
bash
xlflow doctor --json
xlflow session start --json
xlflow pull --session --json
xlflow push --fast --session --no-save --json
xlflow lint --json
xlflow analyze --json
xlflow test --session --json
xlflow macros --session --json
xlflow run Main.Run --headless --session --json
xlflow save --session --json
xlflow session stop --jsonRules for agents:
- Prefer
--json. - Run
doctorbefore changing source for environment failures. - Use
macrosbefore guessing aruntarget. - Use
inspectandexport-imageto verify workbook output. - Use
tracewhen runtime failures are unclear. - Use
backup listandrollbackwhen apushor workbook mutation leaves the workbook in a bad state. - Avoid headless workflows for macros that intentionally require dialogs or UserForms.