Skip to content

Execute workflow runs with an agent

  1. Create a staged run from an exact workflow revision.
  2. Replace variable values while staged.
  3. Validate and inspect the rendered plan.
  4. 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.

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.

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.

  • 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.