-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Question: Context Management Support in Subagents / Custom Agents #2091
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
Description
Background
I’ve observed that in a Copilot session, there is built-in context summarization behavior that helps manage long conversations and large context.
However, I did not observe similar behavior when using subagents or custom agents.
Question
Do subagents or custom agents have any context management capabilities, such as:
- Automatic context summarization
- Context truncation or compression
- Memory management across long-running tasks
Motivation
I’m evaluating whether it is suitable to assign long-running or large-context tasks to subagents/custom agents, and whether they can handle context growth reliably.
Additional Context
If this capability is not currently supported, are there any recommended patterns or best practices for handling large context in subagents?
Thanks!
Subagent docs: https://docs.github.com/en/copilot/concepts/agents/copilot-cli/comparing-cli-features#subagents
Reactions are currently unavailable
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 issues without a type.