Tutorials
Guided first passes — install packages, initialize Orchard config, generate an artifact, and run it in process.
Generated TypeScript workflow artifacts for CLI-harness-backed agents, executed on a small in-process runtime.
Nothing is persisted
Orchard executes workflows as promises inside the current Node process through createLocalRuntime(). There is no database, no persistence, no crash recovery, no cross-process execution, and no post-run inspection. When the process exits, the run and every memoized step are gone. Treat this as an in-process workflow runtime, and do not rely on it anywhere losing an in-flight run is unacceptable.
Orchard's core loop is code-mode workflow generation and execution:
prompt or workflow spec
→ generated TypeScript workflow artifact
→ local validation, type-check, preview, and manifest entry
→ register tasks and run the root workflow in process
→ read the final state and result snapshot printed by orchard run| Kind | Start here |
|---|---|
| Tutorials | First run |
| How-to | Environment setup, Run a harness, Generate a workflow with CLI, Inspect a local run, Design token-efficient schemas, Write tests, Handle errors, Troubleshooting |
| Reference | Packages, Cursor harness, Codex harness, Claude harness, Devin harness |
| Explanation | Architecture |