API reference
Most factory code uses three imports:
| Import | Use it for |
|---|---|
@jigs-ai/jigs | Factory/workflow definitions, harness and model descriptors, types, schemas, errors and pure helpers |
#jigs/routines | Workflow operations that compose durable steps and waits |
#jigs/steps | Durable steps the build copies into your factory |
The factory pages are rendered from the files the build copies into .jigs/, so they show the signatures workflow code actually calls; see Core concepts.
@jigs-ai/jigs/steps and @jigs-ai/jigs/steps/* are lower-level building blocks for factory-owned custom "use step" implementations. They do not carry step directives themselves. Most workflow code should use the #jigs imports above. See Custom agent steps before using the runner APIs.