-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Clear the context after handoff to other agents #1180
Copy link
Copy link
Open
Labels
area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsarea:context-memoryContext window, memory, compaction, checkpoints, and instruction loadingContext window, memory, compaction, checkpoints, and instruction loading
Metadata
Metadata
Assignees
Labels
area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsarea:context-memoryContext window, memory, compaction, checkpoints, and instruction loadingContext window, memory, compaction, checkpoints, and instruction loading
Type
Fields
Give feedbackNo fields configured for Feature.
Describe the feature or problem you'd like to solve
Agent A has
handoff:truefor 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