ax-flow
Installation
SKILL.md
AxFlow Codegen Rules (@ax-llm/ax)
Use this skill to generate AxFlow workflow code. Prefer short, modern, copyable patterns. Do not write tutorial prose unless the user explicitly asks for explanation.
Use These Defaults
- Use
flow()factory, notnew AxFlow(). - Import:
import { ai, flow, f } from '@ax-llm/ax'; autoParallel: trueis the default; independent executes and derives run in parallel when their metadata reads/writes are known and non-conflicting.- Node results are stored as
${nodeName}Resultin state. - Always define
.node()before.execute()for that node. - Use
.returns()(or.r()) as the last step to lock the output type. - Use descriptive node names:
documentSummarizer, notproc1. - Use descriptive field names:
userInput,responseText, nottext,result.