hivemind_workflow
hivemind_workflow
Create and manage DAG-based workflows — directed acyclic graphs of tasks that execute in dependency order.
Actions
| Action | Description |
|---|---|
| list | List all workflows |
| get | Get a workflow by ID |
| create | Create a new workflow |
| run | Start a workflow execution |
| runs | List workflow runs |
| run-status | Get status of a specific run |
| update | Update a workflow definition |
| delete | Delete a workflow |
Create Example
hivemind_workflow(
action: "create",
name: "deploy-pipeline",
steps: [
{ id: "test", command: "Run all tests" },
{ id: "build", command: "Build production bundle", depends_on: ["test"] },
{ id: "deploy", command: "Deploy to staging", depends_on: ["build"] }
]
)
Run Example
hivemind_workflow(action: "run", workflow_id: "wf_abc123")
Check Run Status
hivemind_workflow(action: "run-status", run_id: "run_xyz789")
Workflows are executed step-by-step. Each step publishes events to Hivemind, so other agents can observe progress in real time.