Workflow Engine

Visual automation that compiles to Hermes plans.

The workflow engine is a typed graph of nodes that, when run, compile down to a Hermes plan and execute through the same agent loop.

Node kinds

NodePurpose
triggerWhen does this workflow run? (manual, cron, on-event)
conditionBranching: if BTC drops 10% then ...
agentHand control to Hermes with a sub-goal
memoryRead or write a specific memory
toolInvoke a single tool directly
notificationSend to OS / Discord / webhook
walletPrepare a transaction for user signature

Example: drawdown watcher

trigger: cron(every 15 min)
  → tool: price_of(BTC)
  → condition: price < 0.9 * memory.last_high
    true:
      → agent: "summarize the last 24h of BTC news; produce 3 sentences"
      → notification: discord('drawdown', summary)
      → wallet: prepare_swap(USDC → USDT, 25%)

Persistence

Workflows live in IndexedDB. Runs (one per trigger fire) are stored separately so you can audit history. Exporting and importing as JSON works out of the box.