Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Ironflow

Ironflow runs automations written in Rust. A workflow is a list of steps (a shell command, an HTTP call, an AI agent, a human approval) written as a normal async function. Ironflow runs each step, records its output, duration and cost, pauses when a human has to decide, and shows everything live in a web dashboard.

flowchart LR
    T["Button, CLI,<br/>webhook or cron"] --> R["Run"]
    R --> S1["Step: shell"]
    S1 --> S2["Step: AI agent"]
    S2 --> A{"Human approval"}
    A -->|approved| S3["Step: publish"]
    A -->|rejected| X["Run stops"]

Words used in this book

WordMeaning
WorkflowThe Rust code describing what to do, a type implementing WorkflowHandler
RunOne execution of a workflow, stored with its status and cost
StepOne action inside a run: ctx.shell(), ctx.agent(), ctx.approval()…
API serverStores runs, serves the REST API and the dashboard. It does not execute steps
WorkerThe process that picks pending runs and executes their steps
ProviderWhere an AI agent step runs: Claude Code, OpenAI, Gemini…

Where to start

The API reference of every crate is on docs.rs.