Nextflow now has an agent construct: a pipeline step where an AI model decides at runtime which actions to take. Agent steps run under the same engine, and with the same guarantees, as every other step in the pipeline.