Execute workflow runs with an agent
Stage and publish
Section titled “Stage and publish”- Create a staged run from an exact workflow revision.
- Replace variable values while staged.
- Validate and inspect the rendered plan.
- Confirm publication to freeze it.
Every existing-run mutation echoes the latest run version; step and attempt operations also echo their current versions. Refresh after a conflict.
EOA handoff
Section titled “EOA handoff”prepare_workflow_step_attempt returns ordered transaction requests with indices plus the expected chain/account and run deep link. A separate wallet capability signs and broadcasts each request. Record each resulting hash with its index. txcast verifies receipts and completes the step only after all transactions are confirmed.
Safe handoff
Section titled “Safe handoff”Preparation returns EIP-712 typed data and safeTxHash. Owners sign outside txcast. After threshold, request the assembled Safe execution transaction, broadcast it through a wallet, and record the outer transaction hash.
Agents never reconstruct Safe execution calldata themselves and txcast never receives a private key.
Other actions
Section titled “Other actions”- Prepare and execute an explicit Safe rejection when required.
- Complete a manual checkpoint only after a human verifies its statement.
- Record external completion only with a matching onchain transaction.
- Sync to reconcile external state.
- Cancel rather than trying to edit a published plan.