Skip to content

AI··Swarms: Multi-agent orchestration

An AI··Swarm in Studio is an orchestrator AI··Task that can call one or more worker AI··Agents (Flowhook flows attached on the Agents tab). The orchestrator receives the problem, decides which worker to call, and uses each Success payload to finish the job. You can mix those LLM decisions with ordinary flow steps. Screenshots on this page use an orchestrator plus a Mathematics Teacher worker.

  • One AI··Task should delegate specialized work to other flows instead of holding every skill in one prompt.
  • You want reusable workers (math, enrichment, ticket drafting) that several orchestrators can share.
  • Prefer Use AI··Agent for attaching a single agent without the full orchestrator/worker walkthrough.
  • Prefer Call a flow when the call is fixed and must not be model-chosen.

Before you begin, plan two flows in the same environment: the worker (agent) and the orchestrator. Deploy the worker before you attach it on the orchestrator.

The worker is a Flowhook-based flow. The model uses the flow name and description, so keep them specific.

  1. Create and name the worker. For example Mathematics Teacher, with a short description of what it solves.

    Flow settings with Mathematics Teacher name and description

  2. Add Flowhook → work → Success. Start with Flowhook, add an AI··Task (or other steps) for the job, end with Success.

    Worker canvas: Flowhook, AI··Task, and Success

  3. Define the contract. On Flowhook, set the input fields the orchestrator will pass. On Success, set the output schema the orchestrator will read.

    Flowhook input fields for the worker contract

    Worker AI··Task prompt for solving the delegated problem

    Success step output schema returned to the orchestrator

  4. Deploy the worker. Deploy it to the environment where the orchestrator will run.

The orchestrator flow holds the AI··Task that owns the overall prompt and the Agents list.

  1. Create the orchestrator flow. Name it for the overall job.

    Orchestrator flow title on the canvas

  2. Add an AI··Task. Choose a tools-capable model and write a prompt that explains when to call each worker.

    Orchestrator canvas with a single AI··Task

    Orchestrator AI··Task Input with model and prompt

  3. Attach workers on Agents. Open Agents, add the Mathematics Teacher (or other workers), then save.

    Orchestrator Agents tab with Mathematics Teacher attached

After a run, the orchestrator Logs show the agent call. The worker run shows what the Flowhook received and what Success returned.

  1. Run the orchestrator. Start a run with a problem that should trigger the worker.

  2. Open orchestrator Logs. Confirm the worker was invoked and inspect the request and response.

    Orchestrator Logs showing the worker agent was called

    Orchestrator log detail of the query sent to the worker

    Orchestrator log detail of the worker response

  3. Open the worker run. Check Flowhook input, the worker AI··Task, and Success output.

    Worker Flowhook Logs showing the received problem

    Worker AI··Task Logs showing how the problem was solved

    Worker Success Logs showing the payload returned to the orchestrator

A user asks the orchestrator a word problem that needs arithmetic. The orchestrator AI··Task calls Mathematics Teacher with the problem text, waits for answer from Success, then writes the final reply for the user. Adding a second worker (for example a citation checker) is the same Agents attachment with an updated orchestrator prompt.

  • Mindflow does not lock you to one academic swarm pattern. Orchestrator/workers is the pattern this page walks; you can also chain AI··Tasks, use Call a flow, or mix imperative steps with LLM decisions.
  • Worker name and description matter as much as the prompt—keep them accurate when you rename flows.