Skip to content

Basic Orchestrator

Reference implementation of sequential agent loop orchestration. This is the default orchestrator.

Module ID

loop-basic

Installation

orchestrators:
  - module: loop-basic
    source: git+https://github.com/microsoft/amplifier-module-loop-basic@main
    config:
      max_iterations: -1
      timeout: 300

Configuration

Option Type Default Description
max_iterations int -1 Maximum iterations (-1 = unlimited)
timeout int 300 Timeout in seconds

Behavior

  • Parallel tool execution: Multiple tool calls execute concurrently
  • Deterministic context updates: Results added in original order
  • Robust error handling: Failures return error results, never crash
  • Event correlation: parallel_group_id tracks related executions
  • No streaming (see loop-streaming for that)

Usage

[session]
orchestrator = "loop-basic"

Perfect for:

  • Development and testing
  • Simple request/response workflows
  • Batch processing

Repository

GitHub