Route between coding-agent models with the open-source Weave Router 2.0
The Weave team presented Weave Router 2.0 in a Show HN post. It is an open-source routing model that sits in front of coding agents and switches between LLMs per turn, and the authors say it matches the pass rate of a single frontier model at lower cost and with faster completion.
The problem
Coding agent sessions can involve around 100 LLM calls, and each call is a chance to pick a different model. Using one top model for everything is expensive, and switching models carelessly wastes money because each switch means filling a different prompt cache. The team wanted a router that could pick the right model per turn without exploring every possible path.
How they did it
- Plug the Weave Router into a coding agent harness such as Claude Code, Codex, OpenCode or Pi.
- Choose between self-hosting the open-source router from GitHub and the hosted version at weaveos.com/router.
- For self-hosting, supply provider access; OpenRouter is suggested as an easy start but is not required.
- Let the router send hard tasks such as tricky debugging to a strong model and simple frontend changes to a cheaper one.
- Optionally set a predefined budget, which the author confirmed is supported.
Results as reported by the project's author
- As reported by the Weave author on Hacker News: on Terminal Bench 4.0 and SWE Atlas, the router had equivalent pass rates to GPT-6 Astra.
- As reported by the author: on Terminal Bench the router cost 52% as much as Astra and completed tasks 2.2x faster.
- As reported by the author: on SWE Atlas the router cost 54% as much as Astra and ran 2.5x faster.
- The author credits a hidden Markov model plus classifier for bucket selection as the biggest gain, and cache-eviction impact estimation for most of the cost savings.
These figures are as reported by the project's author in Hacker News Show HN post by the Weave Router author ↗. AgentGid did not measure or independently verify them.
This suits developers or small teams already running a terminal coding agent with provider keys, and comfortable self-hosting a router or trying the hosted one. Watch the figures: the pass-rate and cost numbers come from the author, and your savings depend on provider pricing and your own task mix. Pi (Free, OSS) is a no-cost harness to pair it with, since you only pay the model provider.
The agents used here
Anthropic's agentic coding tool that reads a codebase, edits files and runs commands from the terminal, with VS Code and JetBrains integrations plus …
- Price
- $20/mo
- Gid Score
- 89 #1 in Terminal
OpenAI's coding agent, offered as an open-source terminal CLI, an IDE extension, a desktop app and a cloud agent that works on repositories. Users si…
- Price
- Free + $8/mo
- Gid Score
- 84 #2 in Terminal
Open-source coding agent from Anomaly (the team behind SST) that runs as a terminal UI, desktop app or IDE extension and connects to 75+ model provid…
- Price
- Free + $10/mo
- Gid Score
- 80 #3 in Terminal
Minimal, extensible open-source coding agent harness with interactive TUI, print/JSON, RPC and SDK modes, created by Mario Zechner and now maintained…
- Price
- Free (OSS)
- Gid Score
- 72 #4 in Terminal
Compare: Claude Code vs OpenAI Codex · Claude Code vs OpenCode · Claude Code vs Pi · OpenAI Codex vs OpenCode
Similar use cases
Mod almost any PC game with Claude Code and the universal-modder plugin
An open-source GitHub project packages skills, a command-line tool, a shared knowledge base and the fal MCP server so AI coding agents such as Claude Code can mod PC games the use…
The repository ships three worked examples: a Terraria tModLoader weapon and boss pack with sprites made through fal, an Age of Empires II DE civiliz… (as reported by the project's author)
Let Claude Code and Codex point at Mac screen elements with bigarrow
An open-source, MIT-licensed macOS command-line tool called bigarrow, with a skill for Claude Code and Codex, lets AI agents draw a click-through arrow and text sign over the scre…
Drawing needs no macOS permission; only some target-finding modes need Accessibility or Screen Recording, granted to the terminal app that launched b… (as reported by the project's author)
Run Claude Code and Codex agents in parallel on Mac with Offrun
Offrun is a free Mac app that runs coding agent CLIs such as Claude Code and Codex side by side, each in its own git worktree, using the user's own logins. The page is the product…
As reported by the Offrun site: each agent in a project works in its own git worktree, so two agents on the same repo do not touch the same files.
Guides
Claude Code as an SEO Second Brain: CLAUDE.md, Rules, Skills and Memory
An X Article sets up Claude Code as an SEO workspace with CLAUDE.md, path rules, skills, auto memory and a hook. We checked each mechanic against Anthropic's and Google's docs: most holds, a few points are outdated or imprecise.
Opus 5.5 Motion Design: What 'One-Prompt' Videos Really Take
An X Article says viral Opus 5.5 videos hide long briefs, high effort and a critique loop. We checked its technical claims against Claude Code's docs, HyperFrames and the two repos it recommends: mostly right, with three overstatements.
Teardown: A Claude Code Skill That Builds 3D Machine Simulators
A viral X article shows teardown, a free Claude Code skill that builds a machine as a 3D simulator in one offline HTML page and records it to video. We checked the repository: MIT, three working examples, what setup really needs and which claims hold up.
Claude Code Deploys: 6 Repos for a Containment System
A viral post says GitHub Actions, Argo CD, Argo Rollouts, Prometheus, Sentry and OpenTelemetry turn Claude Code deploys into a containment system. We checked each: role, license, what needs Kubernetes, and what Claude Code's own permissions add.