# Smart Router > Describe the task. It goes to whichever provider does it best right now. For teams building AI agents that rely on outside tools and APIs to get work done. Pricing: Free for a limited time Page: https://themultispace.com/router/ Tool definition: https://themultispace.com/router/tools.json ## Problem Most AI agents depend on a handful of outside services — search, transcription, maps, translation — that someone picked months ago and hardcoded in. Since then, prices have changed, better providers have appeared, and one of them has been failing every afternoon. Your agent has no way to know any of this. ## How it works 1. Describe the task: Your agent sends the job, its budget and how fast it needs the result. 2. We pick the provider: The call goes to whichever provider is currently performing best within your limits — based on measured results, not habit. 3. You get the result and the receipt: The answer comes back together with which provider did it, what it cost and how long it took. ## Why it's useful - Better results without rework: Providers are chosen on their latest measured performance, not on what you knew at setup time. - Automatic fallback: When a provider fails or slows down, the next best one takes the call — your agent never gets stuck. - Lower costs: Set a budget per call, and the cheapest provider that meets it does the work. - One integration instead of many: Add or swap providers without changing your agent at all. ## Who it's for - For agent builders: Stop hardcoding vendors. Every call goes to the provider that is best right now, with automatic fallback when one fails. - For tool providers: Win traffic based on how well your service actually performs, not on who signed the first contract. - For agents: route(task, budget, max_latency) returns the result, the provider used, the cost and the time taken. ## Tool route(task, budget?, max_latency?) Send a task to the best available provider within a budget and time limit. Inputs: - task (object, required): The type of task and its input. - budget (object): The maximum cost for this call. - max_latency (string): The longest you are willing to wait, as an ISO 8601 duration. Returns: The provider's result, plus the provider name, cost, latency and any fallbacks used. Request: { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "route", "arguments": { "task": { "type": "transcribe", "input": "voice_note_0412.m4a", "language": "en-IE" }, "budget": { "value": 0.05, "currency": "EUR" }, "max_latency": "PT20S" } } } Response: { "jsonrpc": "2.0", "id": 1, "result": { "structuredContent": { "result": "Hi, it's Declan. I can do Thursday at three if that still suits.", "provider": "Harbour Speech", "cost": { "value": 0.012, "currency": "EUR" }, "latency": "PT4.1S", "fallbacks_used": [ "Liffey Speech timed out after 8s" ] }, "isError": false } } ## Questions - How do you decide which provider is best? We measure each provider's results, speed and cost on real calls and route based on the latest figures. - Can I exclude or prefer certain providers? Yes. Each call can include allow and block lists, so you keep the final say. - Which kinds of tasks are supported? Search, transcription, translation, and geocoding. - What is an AI agent? Software that carries out tasks for you — researching, booking, buying, sending messages — instead of only answering questions. AI assistants are becoming agents as they gain the ability to act, and every service on this site is built for that world. You do not need to use one yourself to benefit from most of these services. - How does an agent call this service? Through MCP (Model Context Protocol), the standard agents use to call tools. This page publishes the tool, its inputs, and a call with the response that comes back. The same definition is in tools.json.