A new feature called "code mode" has been introduced for AI agents, allowing them to execute a single JavaScript program to interact with multiple tools. This approach reduces the number of calls to the AI model, as the program handles filtering and joining results before returning a concise output. This method is designed to optimize the use of the AI's context window, which is a finite resource, by preventing intermediate results from consuming valuable token space. The AnythingMCP gateway is implementing this feature, demonstrating significant reductions in context window usage and model turns compared to traditional sequential tool calls. AI
IMPACT Streamlines AI agent interactions by reducing model calls and optimizing context window usage.
RANK_REASON The item describes a new feature for an AI client/gateway, not a core AI model release or research.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →