Blocks

Agent Orchestrator

Coordinate multiple agents working together

Orchestrates multiple AI agents to work together on complex tasks. Supports different coordination patterns including sequential, parallel, voting, and delegation.

Back to Catalog
Agentsagent_orchestrator

Block Preview

Agent Orchestrator

Coordinate multiple agents working together

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the agent_orchestrator block with monitoring enabled in production.

Inputs (UI)

Orchestration Pattern

dropdown

Layout: half

Options: Sequential, Parallel, Voting, Delegation

Coordinator Model

dropdown

Layout: half

Condition: orchestrationType = ["delegation","debate"]

Options: GPT-4o, GPT-4o Mini, Claude 3.5 Sonnet, Claude 3.5 Haiku

Coordinator Instructions

long-input

Placeholder: Instructions for how the coordinator should manage the agents...

Layout: full

Condition: orchestrationType = ["delegation","debate"]

Task

long-input

Placeholder: Describe the task for the agents to work on...

Layout: full

Agent Configuration

code

Define the agents that will participate

Placeholder: [ { "name": "Researcher", "type": "specialist", "prompt": "You are a research specialist...", "model": "gpt-4o" }, { "name": "Writer", "type": "specialist", "prompt": "You are a writing specialist...", "model": "gpt-4o-mini" } ]

Layout: full

Shared Context

code

Initial shared memory available to all agents

Placeholder: { "initialData": {} }

Layout: full

Voting Threshold

slider

Percentage of votes needed for consensus

Layout: half

Condition: orchestrationType = "voting"

Max Debate Rounds

short-input

Placeholder: 3

Layout: half

Condition: orchestrationType = "debate"

Timeout (seconds)

short-input

Placeholder: 300

Layout: half

Enable Inter-Agent Messaging

switch

Allow agents to communicate directly

Layout: half

Enable Shared Memory

switch

Allow agents to read/write shared state

Layout: half

Result Aggregation

dropdown

Layout: half

Options: Last Result, Merge All, Best (by coordinator), Consensus

On Agent Failure

dropdown

Layout: half

Options: Continue, Abort All, Retry, Fallback

Inputs (API)

orchestrationType

string

Required

coordinatorModel

string

Optional

coordinatorPrompt

string

Optional

task

string

Required

agents

json

Required

sharedContext

json

Optional

votingThreshold

number

Optional

maxRounds

number

Optional

timeout

number

Optional

enableMessaging

boolean

Optional

enableSharedMemory

boolean

Optional

aggregationStrategy

string

Optional

failureStrategy

string

Optional

Outputs

Primary response type:

{
  "result": "json",
  "agentResults": "json",
  "messages": "json",
  "consensus": "json",
  "executionOrder": "json",
  "totalDuration": "number"
}

Tool Access

agent_orchestrator
Agent Orchestrator | NowFlow Blocks