Skip to content

Blog post: Agentgateway and vLLM Semantic Router Integration 101 - #779

Open
DuncanDoyle wants to merge 6 commits into
agentgateway:mainfrom
DuncanDoyle:blog-post-agw-vsr-integration
Open

Blog post: Agentgateway and vLLM Semantic Router Integration 101#779
DuncanDoyle wants to merge 6 commits into
agentgateway:mainfrom
DuncanDoyle:blog-post-agw-vsr-integration

Conversation

@DuncanDoyle

Copy link
Copy Markdown

As a follow up to Daneyon's blog post on cost reduction with Agentgateway and vLLM Semantic Router (https://agentgateway.dev/blog/2026-07-17-semantic-routing-llm-costs/) I wrote a follow up post that explains how these 2 platforms integrate and how users can get started themselves.

title: "Semantic Routing, Assembled: agentgateway and vLLM Semantic Router in Practice"
category: "Deep Dive"
toc: false
publishDate: 2026-07-28

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's be mindful of the date this gets merged sopublishDate is correct.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we merge (and publish) on Tuesday (so the 28th), that works for me.

Comment thread content/blog/2026-07-28-agentgateway-semantic-router-integration.md Outdated
Comment thread content/blog/2026-07-28-agentgateway-semantic-router-integration.md Outdated
Comment thread content/blog/2026-07-28-agentgateway-semantic-router-integration.md Outdated
Comment thread content/blog/2026-07-28-agentgateway-semantic-router-integration.md Outdated
Comment thread content/blog/2026-07-28-agentgateway-semantic-router-integration.md Outdated
Comment thread content/blog/2026-07-28-agentgateway-semantic-router-integration.md Outdated
Comment on lines +73 to +79
- { group: gateway.networking.k8s.io, kind: Gateway, name: agentgateway-proxy, namespace: agentgateway-system }
rules:
- matches:
- path: { type: PathPrefix, value: /v1/chat/completions }
- path: { type: PathPrefix, value: /v1/responses }
backendRefs:
- { group: agentgateway.dev, kind: AgentgatewayBackend, name: openai-router-selected, namespace: agentgateway-system }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread content/blog/2026-07-28-agentgateway-semantic-router-integration.md Outdated

### Configuring vSR: signals → score → decision

vSR's behaviour lives in its Helm values (`semantic-router-values.yaml`). It reads like a small rules engine, and it's worth understanding as a pipeline, because vSR traces its own work with a span per stage (`semantic_router.signal.*` for signal evaluation, `semantic_router.decision.evaluation` for the decision, and `semantic_router.plugin.execution` for the plugin chain). A trace reads back as that same pipeline.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread content/blog/2026-07-28-agentgateway-semantic-router-integration.md Outdated
@danehans

Copy link
Copy Markdown
Collaborator

Overall looks great! I provided some feedback to consider. Otherwise, /lgtm.

@DuncanDoyle

Copy link
Copy Markdown
Author

@danehans Addressed all your comments and pushed the changes. Good to merge on Tuesday (current publish date set in the md).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants