Diagrams / Process

Agent flow

Markdown crates/mermaid/src/diagrams/agentflow/mod.rs docs.rs

Agent flow

Ask your agent

Install the bezel skill once

npx skills add crabtalk/bezel --skill bezel

Then ask

Draw our review agent's steps as an agent flow — gather changes, analyse the diff, run the linter tool, then decide if it's clean.
agentflow-beta TB
  flow reviewer["Review Agent"]
    changes["Gather changes"]@{ shape: input }
    analyse["Analyse diff"]@{ shape: task }
    lint["run_linter"]@{ shape: tool }
    ok["Clean?"]@{ shape: decision }

    changes --> analyse --> lint --> ok
  end

Syntax

  • flow id["label"] … end groups an agent's steps.
  • id["label"]@{ shape: … } is a step: input, task, tool and decision among its shapes.
  • a --> b orders steps, and chains as a --> b --> c.