Skip to content

Core node types

ArcPX pipelines use many node.type values. The npm package builtin (createBuiltinNodeExecutor()) handles core flow + LLM types. Extensions (e.g. webpage) and community handlers are registered in your composed nodeExecutor.

LayerLocationExamples
Package builtinarc-dagcreateBuiltinNodeExecutor()genText, pipeNode, text
ExtensionsYour code / handlers/builtin.mjswebpage, llm, chat
Communityregistry.mjsbigQuery, markdownOutput

How to add webpage and other custom types: Extending the builtin executor.

Package builtin (createBuiltinNodeExecutor)

node.typeNotes
text, startNodedata.nodeData string
pipeNodePass-through sourceData, outputTarget, isPassThrough
genText, LLMLLM via GraphEngine({ llm })llm-config.md
groupNodeCanvas group metadata
endNode, standardOutputReturns upstream

Extensions (example repo)

node.typeHandlerNotes
webpage, webScraperweb-scraperFetch URL → { title, text, url }
llm, chatOpenAI-compatible clientUses llm settings when provider: "openai"

Community / custom

registry.mjs: bigQuery, xApi, markdownOutput, aiRepos, plus npm run generate:handler.

Runners

  • examples/run-local.mjs — extensions + community + builtin
  • examples/run-with-llm.mjs — same + GraphEngine({ llm }) from .env
bash
npm run run:output-chaining   # webpage + genText (needs .env.bedrock)

Extending builtin · Node handlers · LLM config

MIT Licensed