<Workflow>, <Task>, and control-flow components. Smithers renders the tree into an execution plan.
outputs maps each schema key to its Zod schema. output={outputs.analysis} gives compile-time type checking — a typo like output={outputs.anaylsis} is a type error.
Execution Model
- Render the workflow tree with the current
ctx. - Extract executable task descriptors.
- Run ready tasks and persist outputs.
- Re-render with updated outputs in
ctx.
deps for upstream-output handoff:
Schema-Driven JSX
UsecreateSmithers(...) with Zod schemas and the returned outputs object. The output prop is type-checked against registered schemas. Smithers manages backing SQLite tables.
A <Task> can still write to a custom Drizzle table or use a string schema key as an escape hatch.
Next Steps
- JSX Installation — Set up TypeScript, TSX, and optional MDX prompts.
- JSX Quickstart — Build a two-step workflow.
- Approval — Approval nodes.
- MergeQueue — Serialize a subtree with a concurrency cap.
- Workflow — Root component reference.