AIToday
Large Language ModelsZenn AI/MLPublished: Oct 17, 2026, 10:00 JST

Agent Router unifies model calls but can't route SDK-built agents

Agent Router unifies model calls but can't route SDK-built agents

3 Key Points

  1. What happened

    After installing Agent Router and defining routing in a YAML file, the author sent requests to a single POST /v1/chat/completions endpoint, successfully reaching Amazon Bedrock's Claude and GPT models.

  2. Why it matters

    The author says routing requests from web applications to various providers and models is something Agent Router handles well, but routing agents built with various SDKs seemed difficult, so that goal was abandoned for now.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

The author set out to test Agent Router (formerly Envoy AI Gateway) after reading about it and not fully understanding its role. The tool is an open-source AI gateway that accepts LLM requests from applications and routes them to the appropriate provider or model based on configuration. To try it, the author installed the aigw command-line tool, wrote a YAML file defining routes for Amazon Bedrock's Claude and GPT models, started the gateway with aigw run agent-router.yaml, and then sent test requests to a single endpoint at localhost:1975.

The test showed that Agent Router can collapse provider-specific API differences into one POST /v1/chat/completions endpoint, so the calling application does not need to branch its code by service. But the author's actual motivation was different: they wanted to route AI agents running inside a web application. While the gateway seems well suited to routing API requests from web applications to various providers and models, routing agents built with various SDKs appeared difficult, and the author abandoned that goal for the time being. The write-up thus draws a clear line between what the tool does well today and what it does not yet handle.

FAQ
What are the prerequisites for running Agent Router?
As of October 2026, Agent Router requires either hosting on a Linux server or running on Kubernetes.
How do you install Agent Router?
The author downloaded version v1.1.0 from GitHub, placed the aigw binary in ~/.local/bin, and made it executable. Then the gateway is started with aigw run agent-router.yaml.
What did the author originally want to do with Agent Router?
The author wanted to use Agent Router to route AI agents running inside a web application. That turned out to be difficult with agents built using various SDKs, so the author gave up on it for now.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleClaude Opus 5.5 multi-agent tips: let managers delegate