Skip to content

API reference ​

Most factory code uses three imports:

ImportUse it for
@jigs-ai/jigsFactory/workflow definitions, harness and model descriptors, types, schemas, errors and pure helpers
#jigs/routinesWorkflow operations that compose durable steps and waits
#jigs/stepsDurable 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.

Modules ​