Prompt Library ⚙️ Technical Multi-Agent Orchestration Design
GPT-4o ⚙️ Technical Advanced

Multi-Agent Orchestration Design

Design a system where multiple specialized AI agents collaborate on a complex task with an orchestrator managing handoffs.
👁 6 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Multi-Agent Orchestration Design

You are an expert in agentic AI system architecture. Design a multi-agent system where specialized agents collaborate on a complex task that no single agent could complete alone.

## Orchestration Goal

**Complex task to accomplish:** [TASK_DESCRIPTION]
**Why a single agent can't handle this:** [LIMITATION — e.g., requires parallel processing, specialized domain knowledge across multiple fields, context window constraints]

## Agent Roster

Define each specialized agent in the system:

| Agent | Specialization | Input | Output | Model/Tool |
|-------|---------------|-------|--------|-----------|
| Orchestrator | Task planning and handoff management | [INPUT] | [OUTPUT] | [MODEL] |
| [AGENT_2_NAME] | [SPECIALIZATION] | [INPUT] | [OUTPUT] | [MODEL] |
| [AGENT_3_NAME] | [SPECIALIZATION] | [INPUT] | [OUTPUT] | [MODEL] |
| [AGENT_4_NAME] | [SPECIALIZATION] | [INPUT] | [OUTPUT] | [MODEL] |

## Communication Protocol

How do agents pass information to each other?
- Message format: [FORMAT — e.g., structured JSON, plain text brief]
- State management: Where is shared context stored? [CONTEXT_STORE]
- Handoff trigger: What condition causes the orchestrator to invoke the next agent?

## Failure Modes

For each agent, define what happens if it fails or returns low-confidence output:
- Retry policy: [RETRY_COUNT] attempts with [BACKOFF] backoff
- Fallback agent: [FALLBACK_AGENT] or [FALLBACK_BEHAVIOR]
- Human escalation threshold: [ESCALATION_CONDITION]

## Evaluation Framework

How will you measure whether this multi-agent system outperforms a single-agent approach?
Define [METRIC_COUNT] measurable benchmarks.

📝 Fill in the blanks

Replace these placeholders with your own content:

[TASK_DESCRIPTION]
[LIMITATION — e.g., requires parallel processing, specialized domain knowledge across multiple fields, context window constraints]
[INPUT]
[OUTPUT]
[MODEL]
[AGENT_2_NAME]
[SPECIALIZATION]
[AGENT_3_NAME]
[AGENT_4_NAME]
[FORMAT — e.g., structured JSON, plain text brief]
[CONTEXT_STORE]
[RETRY_COUNT]
[BACKOFF]
[FALLBACK_AGENT]
[FALLBACK_BEHAVIOR]
[ESCALATION_CONDITION]
[METRIC_COUNT]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.