Skip to content

Scripts & runners

npm scripts

CommandDescription
npm run buildCompile TypeScript → dist/
npm run quickstartLinear pipeline
npm run run:fan-inFan-in pipeline
npm run run:fan-outFan-out pipeline
npm run run:llmLLM demo (pipeline-llm-demo.json + .env)
npm run run:localSame as quickstart
npm run run:web-scraperWeb scraper pipeline
npm run testUnit tests (llm config, placeholders, output chaining)
npm run run:output-chainingFetches → fan-in → genText (Bedrock via GraphEngine({ llm }))
npm run generate:handler -- <type>Scaffold a local node.type handler (node-handlers.md)

CLI runners

ScriptUse when
examples/run-local.mjsLocal executor + stubs; see node-handlers.md
examples/run-with-llm.mjsGraphEngine({ llm }) from .env / .env.bedrockllm-config.md
examples/normalize-pipeline.mjsClean raw canvas exports
bash
node examples/run-local.mjs ./pipeline.json
node examples/run-with-llm.mjs ./pipeline.json ./my-settings.json
node examples/normalize-pipeline.mjs ./raw.json ./clean.json --strip-outputs

Example pipeline files

Overview diagrams: examples/README.md

FileNodesDoc
quickstart-pipeline.json3 linearlinear-pipeline.md
fan-in-pipeline.json4 fan-infan-in.md
fan-out-pipeline.json4 fan-outfan-out.md
web-scraper-pipeline.jsonwebpage → pipeNodeweb-scraper-pipeline.md
pipeline-llm-demo.jsontext → genTextllm-demo.md
pipeline-output-chaining.json2× webpage → genTextoutput-chaining.md
pipeline-ai-repos.normalized.jsonArcPX sampleai-repos-pipeline.md

MIT Licensed