Clear the context after handoff to other agents
Open
area:agents
area:context-memory
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
### Describe the feature or problem you'd like to solve
Agent A has `handoff:true` for the Agent B. After the Agent A completes the task, the context window is nearly full. It leads to the agent B won't have enough context window to properly do the task.
### Proposed solution
Should compact the conversation and give the next agent a clear context window
### Example prompts or workflows
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.