Show HN: OpenCode Subagent Router
Category: devtools
Tags: model-routing, llm-cost-optimization, local-embeddings, opencode-plugin, self-learning
Score: 7.3/10 (Innovation: 7, Technical: 9, Documentation: 8, Utility: 5)
A plugin for OpenCode V2 that dynamically routes subagent tasks to cheaper models while learning from past failures via local vector similarity. It builds model capability ladders, records outcomes in SQLite, and escalates to stronger models when similar prompts have previously failed, all without external API keys or services.
Target audience: AI application developers and DevOps engineers using OpenCode for multi-agent workflows
Repository: https://github.com/JacobNWolf/opencode-subagent-router · TypeScript · MIT · 3 stars
View on Hacker News