The prompt
Analyze the following conversation and create a structured summary that preserves all information needed to continue the task seamlessly.
<conversation>
{conversation}
</conversation>
Create a summary with these sections:
1. **Task Overview**: What is the agent trying to accomplish?
2. **Current State**: What has been completed so far? What step is the agent on?
3. **Important Discoveries**: Key facts, data, tool results, or findings that must not be lost.
4. **Next Steps**: What should the agent do next based on the conversation?
5. **Context to Preserve**: Any specific values, names, URLs, code snippets, or details referenced in the conversation.
Wrap your entire summary in <summary> tags.
<summary>
[Your structured summary here]
</summary> What it is
crewAI's summarisation prompt for long agent conversations: write a summary inside <summary> tags with five sections (task overview, current state, important discoveries, next steps, context to preserve) so the task can continue without losing details. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the crewAI repository (MIT License, Copyright (c) 2025 crewAI, Inc.). Licence: https://github.com/crewAIInc/crewAI/blob/main/LICENSE. Original author: crewAI, Inc. (crewAIInc/crewAI). Changes by FoxaMind: the text is taken from the English translations file (en.json); JSON string quotes removed and \n escapes shown as line breaks; {...} placeholders keep the source syntax.
Who it's for
- Developers handling long agent context
- Anyone summarising a chat to continue it later
برومبت التلخيص في crewAI لمحادثات الوكلاء الطويلة: يكتب ملخصاً داخل وسوم <summary> من خمسة أقسام (نظرة على المهمة، الحالة الحالية، الاكتشافات المهمة، الخطوات التالية، السياق الواجب حفظه) حتى تستمر المهمة دون فقدان التفاصيل.
Tips
- The last section asks to keep exact values, names, URLs and code snippets, the details a loose summary tends to drop.
- {conversation} is the conversation to summarise, placed inside <conversation> tags.