Structured Summary of an Agent Conversation (Five Sections)
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> Works with: Any chat LLM