Tool-Routing
The Fallback Chain: Provider-Agnostic Tool Routing for AI Agents
OpenCode issue #10704 landed this week: “Use provider-hosted web search when available.”
The request is specific and correct. Web search in most AI agents today is hardcoded: Exa integration, custom flag, API key. Even when the provider — Claude, OpenAI, Gemini — already ships a native search tool. The developer pays for Exa, configures the key, and gets worse results than what the provider offers natively, because the provider’s search is model-native, not bolted on.