Expand description
Named workflow registry + the run_workflow tool (option C, tier 3).
The flow/ combinators are developer-authored Rust — the LLM cannot write a
workflow at runtime. So the agent reaches workflows the Claude-Code way:
a developer pre-registers named recipes, and the agent picks one by name
plus args via the run_workflow tool. A recipe drives the flow/
combinators (agent, parallel, pipeline) and returns a text result — the
structured, repeatable fan-out that plain delegate_task lacks (multi-stage
pipeline, shared budget, journal/resume).
Modules§
- recipes
- Built-in recipes.
Structs§
- RunWorkflow
Tool - The
run_workflowtool: the agent picks a recipe by name + args. - Workflow
Recipe - A named, agent-invocable workflow recipe.
- Workflow
Registry - Registry of recipes the
RunWorkflowToolexposes.
Functions§
- default_
registry - A default registry for the TUI entry agent: the built-in recipes.
Type Aliases§
- Recipe
Run - The async body of a recipe: given a built
WorkflowCtxand the LLM-suppliedargs, driveflow/combinators and return a text result.