Back to feed
Dev.to
Dev.to
7/27/2026
Progressive Routing cuts AI agent tool context by 95%

Progressive Routing cuts AI agent tool context by 95%

Original: Why Your AI Agent Drowns in 50,000 Tokens of Tool Definitions

Short summary

The article introduces Progressive Routing to solve AI agent context bloat from loading all tool definitions simultaneously. A three-layer approach uses semantic search to match prompts against a global MCP directory, injects only top relevant tool schemas into the LLM context, and maintains byte-for-byte parity across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, Kiro, and GitHub Copilot CLI. The claimed result is a 95% reduction in tool context overhead, bringing it down to 1,200-2,500 tokens.

  • Progressive Routing uses semantic search to inject only relevant tool schemas into agent context
  • Claims 95% reduction in tool definition overhead (down to 1,200-2,500 tokens)
  • Supports Claude Code, Codex, Gemini CLI, Cursor, Windsurf, Kiro, and GitHub Copilot CLI

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more