📋 Prerequisites
🎯 Affected Service(s)
Not Sure
🚦 Impact/Severity
Minor inconvenience
🐛 Bug Description
As our user are likely to have longer session with Kagent, I wanted to enable the compaction feature. For testing purposes used the following configs:
context:
compaction:
compactionInterval: 5
overlapSize: 2
summarizer:
modelConfig: bedrock-model-config
This is the orchestrator agent in multi-agent architecture.
Howerver, after the "compaction" of the context is triggered, the Agent seems to forget the sub-agent available, to use as tools and throws an error:
Tool 'agent_name_aa' not found.\nAvailable tools: datetime_get_current_time, kagent__NS__agent_name_aa, kagent__NS__agent_name_bb ....
🔄 Steps To Reproduce
- create an Agent
- enable the compaction config
- trigger the compaction, e.g. based on the configs above, asking >5 promts
- when propt a task that requires delegating to other agents, error is thrown
🤔 Expected Behavior
The compaction is effectively reducing the context size, by summarizing it.
The Agent acting as orchestrator, should continue its work normally, even after the compaction.
It should not "forget" the available sub-agent, used for delegeting tasks.
📱 Actual Behavior
An error is thrown, and the task is not delegated to appropriate sub-agent.
Seems like the names of the sub-agent are different from what's expected.
💻 Environment
- AWS EKS - eks.29
- Kubernetes - 1.33
- Kagent: 0.7.23
- Model: Bedrock - Anthropic Claude Sonnet 4.5
🔧 CLI Bug Report
No response
🔍 Additional Context
No response
📋 Logs
📷 Screenshots
No response
🙋 Are you willing to contribute?
📋 Prerequisites
🎯 Affected Service(s)
Not Sure
🚦 Impact/Severity
Minor inconvenience
🐛 Bug Description
As our user are likely to have longer session with Kagent, I wanted to enable the compaction feature. For testing purposes used the following configs:
This is the orchestrator agent in multi-agent architecture.
Howerver, after the "compaction" of the context is triggered, the Agent seems to forget the sub-agent available, to use as tools and throws an error:
🔄 Steps To Reproduce
🤔 Expected Behavior
The
compactionis effectively reducing the context size, by summarizing it.The Agent acting as orchestrator, should continue its work normally, even after the compaction.
It should not "forget" the available sub-agent, used for delegeting tasks.
📱 Actual Behavior
An error is thrown, and the task is not delegated to appropriate sub-agent.
Seems like the names of the sub-agent are different from what's expected.
💻 Environment
🔧 CLI Bug Report
No response
🔍 Additional Context
No response
📋 Logs
📷 Screenshots
No response
🙋 Are you willing to contribute?