@akurganow/model-router0.29.0
Routes OpenClaw and Oh My Pi subagents to a small, middle or large model and an effort that fit the task.
Built for omp
The author tagged this package oh-my-pi.
Reports 0
No reports yet.
Readme
@akurganow/model-router
Routes OpenClaw and Oh My Pi subagents to a small, middle or large model and an effort that fit the task.
model-router sends a lookup to a small model, bounded work to a middle model and open-ended work to a large one. Where no model is set for one of the three, the harness keeps its own. A decision model scores each task the plugin routes: Jev from TypeSafe by default, or OpenAI's, Google's or Perplexity's, on the provider's own API or through OpenRouter.
Install
OpenClaw:
openclaw plugins install npm:@akurganow/model-router --force --accept-capabilities
openclaw plugins enable model-router-openclaw
openclaw plugins inspect model-router-openclaw --runtime --json
Review the source of the package before you run these commands: they carry --force and --accept-capabilities.
Oh My Pi:
omp plugin install @akurganow/model-router
Then follow the setup steps: OpenClaw guide, Oh My Pi guide.
What leaves the machine
Each task the plugin scores sends its condensed text and short texts that describe it and its agent, with token-shaped strings masked. They go to the provider's own API, to OpenRouter or to both, as the provider and gateway settings allow. The privacy policies list the request: OpenClaw privacy policy, Oh My Pi privacy policy.
More
The source, and the plugins for Claude Code and Hermes Agent, are at https://github.com/Akurganow/model-router. The licence is MIT.