BuildTube Preview About
Back to the feed

router: Let your coding agent pick an AI model for each request

Added · Updated

Weave Router sits between a coding agent (Claude Code, Codex, opencode, pi or Cursor) and the AI providers, and picks a model from your enabled providers for each request.

It is a drop-in proxy (a stand-in server that forwards requests) speaking the Anthropic, OpenAI and Gemini formats, and the open-source version scores each request with a small embedding model on your own machine.

What it does

Point a client at the router instead of at Anthropic or OpenAI and it decides, for every request the agent sends, which of your enabled models should answer. The default open-source strategy is a cluster scorer derived from the Avengers-Pro research paper, which embeds the request with a small model running inside the router and matches it against clusters of similar work. Provider keys stay on your server, encrypted, and requests go straight from the router to the provider. It handles streaming, tool calls and images, can reach open models such as DeepSeek, Kimi, GLM and Qwen through OpenRouter, and exports traces to tools like Honeycomb or Grafana.

You could use it to…

  • Let one proxy decide which model answers each request from your coding agent
  • Point Claude Code or Codex at the router instead of a single provider
  • Keep provider keys on your own server while requests are routed

Can I use this?

Add-on for your coding assistant

You'll need Node.js 18+ and a coding agent for the hosted quick start; Postgres and provider keys to self-host

Worth knowing Made by Workweave, a company that also sells a hosted version, and the one-command quick start routes your agent through that hosted service. It is Apache-2.0 from release router-v0.2.24; earlier releases kept their original licenses.

Why it's here

Not trending this week

Last on the BuildTube front page on 7 October 2026. It stays on BuildTube so you can still find it.

  • 5,615 people have starred it on GitHub.
  • Shown on Hacker News (Show HN) on 30 September, with 122 points.

Numbers checked on 8 November 2026; not refreshed since.

Behind it

View setup guide

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is router?
Point a client at the router instead of at Anthropic or OpenAI and it decides, for every request the agent sends, which of your enabled models should answer.
What can I use router for?
Let one proxy decide which model answers each request from your coding agent; Point Claude Code or Codex at the router instead of a single provider; Keep provider keys on your own server while requests are routed
Can I run router on my computer?
It runs as an add-on inside an AI assistant you already use.
What do I need to use router?
Node.js 18+ and a coding agent for the hosted quick start; Postgres and provider keys to self-host
What license does router use?
It is Apache-2.0 from release router-v0.2.24; earlier releases kept their original licenses.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for routerDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/gh-weave-os-router.svg)](https://buildtube.app/p/gh-weave-os-router/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/gh-weave-os-router/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="router on BuildTube"></iframe>

Back to the feed