mrkeyoor.com_
Sun 25 Oct 21:12 UTC
LLM Toolsevaluationupdated 23 Oct 2026

agent-router review

Agent Router, formerly Envoy AI Gateway, puts a common API in front of hosted AI models, self-hosted inference and Model Context Protocol servers. Platform teams use it to keep provider credentials, routing rules and quotas in one place while Envoy carries the traffic.

+39stars / 7d
Verdict

Agent Router deserves a trial when shared AI traffic already belongs with an Envoy platform team. Our sandbox built commit ca3e516 successfully in 326 seconds, but the 712-second test step failed with 23 passed and 16 failed in the supplied summary. Before adoption, rehearse the intended upgrade with client reconnection, persistent session seeds and authorization checks. The v1.2.0 fallback guidance is documented behavior, not an outcome verified by this run.

We ran it

Lab card: what happened when we ran agent-routerScreenshot of agent-router (theagentrouter.ai)
Install✓ · 69s541 packages
Build✓ · 326s
Tests✗ · 712s23 passed · 16 failed of 39 (go test)
Repo1739 files~237,317 lines of source · 32.7 MB · 7 CI workflows · Dockerfile · tests dir

Answers from our run

Does agent-router build from source?

Dependencies installed in 69 seconds (541 packages), and the build succeeded in 326 seconds. We cloned commit ca3e516 into a clean Debian container with 3 CPUs and no project-specific setup.

Do agent-router's tests pass?

No. The project's own test command finished in 712 seconds and reported 23 passed, 16 failed (go test).

Who should not use agent-router?

Teams expecting an MCP upgrade without session planning: the default v1.2.0 seed transition ends active sessions. The release documents a temporary fallback seed to preserve them during the transition.

What are the alternatives to agent-router?

LiteLLM, Portkey AI Gateway. Agent Router deserves a trial when shared AI traffic already belongs with an Envoy platform team.

SetupN/AInstallation and compilation were measured, but a working standalone or cluster deployment was not established, so setup ease remains unassessed.
DocsN/AThe supplied README and release instructions support this review, but their deployment and upgrade procedures were not verified end to end.
CommunityN/AThe supplied repository activity does not establish maintainer response reliability or support quality, so no numerical community rating is justified.
MaturityN/AThe failed source test step is reported explicitly; production traffic, authorization correctness and successful cluster upgrades remain unassessed.

Who it’s for

Platform teams already operating Envoy Gateway and sharing AI access across applications.
Organizations that need centrally enforced provider credentials, quotas and routing policies.
MCP operators prepared to review client sessions and authorization during upgrades.
Developers evaluating the documented standalone aigw router before choosing a cluster deployment.

Who it’s NOT for

Teams expecting an MCP upgrade without session planning: the default v1.2.0 seed transition ends active sessions. The release documents a temporary fallback seed to preserve them during the transition.
GitOps operators rendering the chart without a fixed seed or existing Secret: v1.2.0 warns that each render otherwise generates a new MCP encryption seed.
Deployments relying on loosely matched MCP OAuth issuers: v1.2.0 rejects missing or mismatched issuer claims, including trailing-slash differences.
Teams that need verified cluster-upgrade behavior before evaluation: the supplied sandbox test step failed, and its log tail does not establish why.

Setup reality

Our sandbox installed commit ca3e516 in 69 seconds, recording 541 dependencies, and built it in 326 seconds. The test step failed with exit 1 after 712 seconds; the supplied Go summary recorded 23 passed and 16 failed out of 39. The tail names upgrade tests without exposing their failure causes.

The README's standalone aigw run example uses a provider API key and directs OpenAI-compatible clients to http://localhost:1975/v1. The cluster route uses Kubernetes with Envoy Gateway. The supplied measurements do not establish a working standalone endpoint or a successful cluster deployment.

Release v1.2.0 changes MCP session handling, OAuth checks and cross-namespace permissions. Its documented temporary fallback seed can preserve sessions during the default seed transition; that guidance was not tested in the supplied run. The recorded sandbox had 3 CPUs, 8 GB RAM and image golang:1.24-bookworm. Actual runtime and operating-system versions cannot be established from that label.

Envoy policy is the reason to choose Agent Router

Agent Router puts provider credentials, routing and quotas behind a common API, with Envoy handling the traffic. It is worth evaluating when several application teams need shared access policy and a platform team can own that service.

The README describes an OpenAI-compatible API spanning hosted providers, self-hosted inference and MCP servers. Centralizing those requests also centralizes responsibility for configuration changes and upgrades. A small application forwarding requests to one provider should identify what shared enforcement would save before adding another service.

What happened when we ran it

On October 16, 2026, our sandbox installed Agent Router commit ca3e516 in 69 seconds and recorded 541 dependencies. Our Agent Router build succeeded in 326 seconds; tests failed with exit 1 after 712 seconds, with 23 passed and 16 failed out of 39 in the supplied Go summary.

The visible tail names TestUpgrade and TestCRDVersionUpgrade, followed by a failure in github.com/envoyproxy/ai-gateway/tests/e2e-upgrade. Several internal helper packages show successful results nearby. The excerpt contains no assertion text or underlying setup diagnostic for those upgrade failures, so it cannot establish whether infrastructure, fixtures or project code caused them.

The recorded sandbox configuration was 3 CPUs, 8 GB RAM and image golang:1.24-bookworm. That image name does not verify actual runtime or operating-system versions. The evidence contains no traffic benchmark or successful cluster-upgrade result. Compilation succeeded in this run; deployment and upgrade behavior still need evaluation.

Start with the documented standalone route

The README documents aigw run with a provider API key and directs OpenAI-compatible clients to http://localhost:1975/v1. This offers a starting point for checking an application's requests before attempting a cluster deployment. The supplied sandbox measurements do not establish that this endpoint was started or exercised.

For cluster deployment, the README points to Kubernetes with Envoy Gateway. Its two-tier pattern separates a centralized entry point from ingress into a self-hosted model-serving cluster. Evaluate that arrangement against the policy boundaries your organization needs.

Version 1.2.0 needs an explicit session transition

The supplied v1.2.0 release notes say the Helm chart replaces its well-known default MCP session encryption seed with a random seed, stores it in a Secret and reuses it on later upgrades. By default, this seed transition ends active MCP sessions and requires clients to initialize again.

The release also documents a way to preserve sessions temporarily during the upgrade: set controller.mcp.sessionEncryption.fallback.seed=default-insecure-seed, then remove it once clients have reconnected. This is upgrade guidance from the project, not a result reproduced by our sandbox. Include the fallback's removal and the client's reconnect behavior in the upgrade rehearsal.

When rendering the chart with helm template, the release instructs operators to configure controller.mcp.sessionEncryption.existingSecret or seed. Otherwise every render generates a new seed. Configure persistent seed storage before deploying rendered releases.

Separate OAuth rejection from backend credential expiry

Version 1.2.0 checks MCP OAuth tokens against the configured issuer. A missing or different issuer, including a trailing-slash mismatch, returns 401. Review the configured issuer against the identity provider's token claims before upgrading.

Cross-namespace backend credentials have a separate permission change. The release requires ReferenceGrant permission for the cross-namespace Secret references listed in its breaking changes; a missing grant marks the policy NotAccepted. Already-issued backend credential tokens can keep working until they expire, so failures caused by these Secret permissions may appear later. That expiry warning concerns backend credential tokens, not a grace period for mismatched MCP OAuth issuers.

The release also changes MCP authorization and backend-selection CEL expression errors to deny access. Expressions that read optional request headers therefore need review. Exercise rejected requests as well as allowed requests, and check session reuse across different users. These are recommended evaluation cases, not tests completed in the supplied sandbox.

Alternatives offer different integration routes

LiteLLM provides a Python SDK as well as a proxy server. Evaluate it when direct Python library integration is the first requirement. This is an interface-based selection criterion; the supplied evidence contains no comparative gateway measurement.

Portkey AI Gateway documents a local gateway requiring Node.js and npm. Its README also describes configurable retries and fallback. Evaluate it when that runtime fits the team maintaining the service. The evidence does not establish that either alternative is faster or easier to operate than Agent Router.

Agent Router's reason to remain on an Envoy team's shortlist is its shared traffic policy role. Before adoption, map the deployment identifiers too: the README says the aigw command, API group and Go module retain their Envoy AI Gateway names. Then rehearse the exact upgrade and client session transition you intend to operate.

Alternatives

ProjectWhat it isPick it when
LiteLLM gh↗An AI gateway that also provides a Python SDK.Evaluate this when direct Python library integration is the first requirement.
Portkey AI GatewayAn AI gateway with a documented Node.js local route, retries and fallback.Evaluate this when a Node.js gateway fits the team responsible for operating it.

Sources

  1. Agent Router README
  2. Agent Router v1.2.0 release notes, supplied latest-release snapshot
  3. LiteLLM README
  4. Portkey AI Gateway README

More llm tools reviews

RAG-Anything · uzu · dsh-im · smg · dsh-context · dsh-purge · the whole board →