A recent analysis of Microsoft's AutoGen framework reveals a significant hidden cost associated with its default multi-agent chat configurations. The framework's default memory model, UnboundedChatCompletionContext, causes each agent to retain the entire conversation history. This leads to a quadratic increase in token usage as the number of turns grows, with a 3-agent chat potentially costing 15 times more than initially expected. The issue stems from how agents append all incoming messages to their individual contexts, which are not capped by default. AI
IMPACT Developers using multi-agent frameworks like AutoGen should be aware of potential cost overruns due to default memory configurations.
RANK_REASON Analysis of a specific feature's cost implications within an existing framework.
- AssistantAgent
- AutoGen
- BaseGroupChatManager
- Hacker News
- MaxMessageTermination
- Microsoft
- RoundRobinGroupChat
- UnboundedChatCompletionContext
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →