Step 1: Define Models and Services
Createworkflow.ts:
Step 2: Build the Workflow Graph
researchis a typed step handle, not a string idneeds: { research }declares an explicit dependency edge- services are resolved through
Context.Tag, not a global workflow context
Step 3: Provide Live Services
Step 4: Execute
Createmain.ts:
Next Steps
- Builder API Reference — Learn
$.step(),$.parallel(),$.loop(), and approvals. - Step Context — See what a builder step receives at runtime.
- Services — Model the rest of your app as Effect services.