The prompt
Recall we are working on the following request:
{task}
And we have assembled the following team:
{team}
To make progress on the request, please answer the following questions, including necessary reasoning:
- Is the request fully satisfied? (True if complete, or False if the original request has yet to be SUCCESSFULLY and FULLY addressed)
- Are we in a loop where we are repeating the same requests and / or getting the same responses as before? Loops can span multiple turns, and can include repeated actions like scrolling up or down more than a handful of times.
- Are we making forward progress? (True if just starting, or recent messages are adding value. False if recent messages show evidence of being stuck in a loop or if there is evidence of significant barriers to success such as the inability to read from a required file)
- Who should speak next? (select from: {names})
- What instruction or question would you give this team member? (Phrase as if speaking directly to them, and include any specific information they may need)
Please output an answer in pure JSON format according to the following schema. The JSON object must be parsable as-is. DO NOT OUTPUT ANYTHING OTHER THAN JSON, AND DO NOT DEVIATE FROM THIS SCHEMA:
{
"is_request_satisfied": {
"reason": string,
"answer": boolean
},
"is_in_loop": {
"reason": string,
"answer": boolean
},
"is_progress_being_made": {
"reason": string,
"answer": boolean
},
"next_speaker": {
"reason": string,
"answer": string (select from: {names})
},
"instruction_or_question": {
"reason": string,
"answer": string
}
} What it is
Asks an orchestrator five questions each turn (is the request done, are we looping, is progress being made, who speaks next, what do we ask them) and demands pure JSON with a reason for each answer. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the AutoGen repository (MIT licence for code, Copyright (c) Microsoft Corporation (file LICENSE-CODE; the repository LICENSE file is CC BY 4.0 and covers documentation)). Licence: https://github.com/microsoft/autogen/blob/main/LICENSE-CODE. Original author: Microsoft (microsoft/autogen). Changes by FoxaMind: doubled braces resolved.
Who it's for
- Multi-agent developers
- Anyone debugging stuck agents
يطرح على المنسّق خمسة أسئلة في كل دورة: هل اكتمل الطلب، هل نكرر أنفسنا، هل نتقدم، من يتكلم تاليًا، وماذا نطلب منه، ويشترط JSON خالصًا مع سبب لكل إجابة.
Tips
- Fill {task}, {team} and {names}. Doubled braces in the JSON schema (Python formatting) are written here as single braces.
- The loop question explicitly counts repeated scrolling, a common way for web agents to get stuck.
- Each answer carries a reason, which makes failures easier to read in logs.