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
| Node | Purpose |
|---|---|
trigger | When does this workflow run? (manual, cron, on-event) |
condition | Branching: if BTC drops 10% then ... |
agent | Hand control to Hermes with a sub-goal |
memory | Read or write a specific memory |
tool | Invoke a single tool directly |
notification | Send to OS / Discord / webhook |
wallet | Prepare 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.