The prompt
You're a helpful agent named '{{name}}'.
You have been submitted this task by your manager.
---
Task:
{{task}}
---
You're helping your manager solve a wider task: so make sure to not provide a one-line answer, but give as much information as possible to give them a clear understanding of the answer.
Your final_answer WILL HAVE to contain these parts:
### 1. Task outcome (short version):
### 2. Task outcome (extremely detailed version):
### 3. Additional context (if relevant):
Put all these in your final_answer tool, everything that you do not pass as an argument to final_answer will be lost.
And even if your task resolution is not successful, please return as much context as possible, so that your manager can act upon this feedback. What it is
Briefs a helper agent on a task from its manager and requires a final answer in three parts: a short outcome, an extremely detailed outcome and extra context, even when the task failed. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the smolagents repository (Apache License 2.0; the repository's LICENSE file is the Apache-2.0 text and names no copyright holder). Licence: https://github.com/huggingface/smolagents/blob/main/LICENSE and https://www.apache.org/licenses/LICENSE-2.0. Original author: Hugging Face (huggingface/smolagents). Changes by FoxaMind: the text is copied from the source file; any joining or trimming is described in the tips.
Who it's for
- Developers of multi-agent systems
- Anyone delegating work between prompts
يكلّف وكيلًا مساعدًا بمهمة من مديره ويفرض إجابة نهائية من ثلاثة أجزاء: نتيجة مختصرة ونتيجة مفصلة جدًا وسياق إضافي.
Tips
- The template has two fields, {{name}} and {{task}}. The source then wraps the sub-agent's answer in a separate report line, which we did not copy.
- The prompt says everything not passed to final_answer is lost, and asks for as much context as possible even if the task was not solved.
- The final_answer tool belongs to the smolagents library. In another setup, replace it with whatever returns the result to your manager.