Skip to content

Instantly share code, notes, and snippets.

Orchestrator Agent Creation Guide

This document provides a comprehensive guide for creating Orchestrator Agents in OpenCode. Based on the reference implementation (@agent/orchestrator.md), this guide details the structure, patterns, and best practices for building intelligent routing agents.

1. Overview

An Orchestrator Agent serves as a central dispatch system. Unlike standard agents that execute tasks, an orchestrator's sole purpose is to analyze user requests and delegate work to specialized subagents.

Core Characteristics

Autonomous "Raph Wiggum" Implementation Loop for VS Code Copilot

I tried a prompt in VC Code Copilot that triggers a "Ralph Wiggum" loop to implement a (hopefully) well crafted, 26 tasks PRD. This is ideal to trigger the implementation after an interactive Plan session with your favorite model.

This is a Proof of Concept on how to use an orchestrator agent that will trigger subagent to implement individual tasks and restart them until all tasks are implemented.

This is a Ralph Wiggum loop, but adapted to VS Code Copilot.