Design a handoff protocol between specialist agents
Use when a router agent passes a conversation to specialist agents and back without losing context or looping.
Design a handoff protocol for a multi-agent chatbot system.
Router/triage agent + specialist agents: {{agents}}
Shared context format: {{context_format}}
Define:
- How the triage agent decides which specialist to route to (intent rules + tie-breaks).
- The structured handoff payload passed to a specialist (goal, gathered context, constraints, what NOT to do).
- How a specialist returns control: completed, needs another specialist, or needs the user.
- A loop-breaker so agents do not bounce a user endlessly; cap re-routes and fall back to a human.
- How the user experiences this seamlessly (no "transferring you to..." spam, no repeated questions).
- Logging fields for debugging the handoff chain.
Output the routing rules, the handoff payload schema, and one example trace through 2 agents.Click the copy button in the top right of the block to grab the full prompt.
Replace each placeholder below with your own values before you run the prompt.
- {{agents}}
- {{context_format}}
Related prompts
You are the system prompt author. Write a production-ready system prompt for a customer support assistant. Company: {{company_name}} Product or service: {{product}} Customer audien...
Design a conversation flow for a sales qualification chatbot. Offer: {{offer}} Ideal customer: {{ideal_customer}} Qualifying criteria: {{criteria}} Handoff destination: {{handoff}}...
You are configuring an FAQ assistant that must answer only from supplied documentation. Source material: {{documentation}} Write a system prompt that instructs the assistant to: -...
Create a complete persona definition for a chatbot. Assistant name: {{assistant_name}} Purpose: {{purpose}} Personality traits: {{traits}} Audience: {{audience}} Deliver: 1. A one-...
Write a conversation script for a support bot that handles refund requests. Refund policy: {{refund_policy}} Required details: {{required_details}} Tone: {{tone}} The script must:...
Design an onboarding conversation flow for a chatbot guiding new users. Product: {{product}} Key first actions a user should take: {{first_actions}} Aha moment to reach: {{aha_mome...
0 Comments
Loading discussion...