Reference
Remy Reference/agent/executeStepBatch
?

executeStepBatch

Runs up to 50 SDK actions in parallel in one request, with results in input order.
mindstudio.executeStepBatch(steps, options?) → Promise<ExecuteStepBatchResult>

Runs up to 50 SDK actions in one request, in parallel, with results returned in input order and a failure in one isolated from the rest. Reach for it when you have many independent actions, generating a set of images or transcribing a batch, and do not want the round-trip cost of awaiting each. For dependent steps where one feeds the next, a task agent or plain sequential calls fit better.

Parameters
steps
BatchStepInput[]
RequiredThe actions to run, each a { stepType, step }. Up to 50.
options
{ appId?, threadId?, onProgress?, store? }
Optional thread and app context, a progress callback, and a file store to route generated assets into.
Parallel actions
const { results } = await mindstudio.executeStepBatch([
  { stepType: 'generateImage', step: { prompt: 'a sunset' } },
  { stepType: 'searchGoogle', step: { query: 'cats' } },
]);