← Plugins

Auto router

livebruce4installs

Routes each chat to a fast or strong model by its first message, and keeps the chat there.

$ paseo plugin add livebruce/auto-router
Auto router screenshot 1Auto router screenshot 3Auto router screenshot 4Auto router screenshot 5Auto router screenshot 6Auto router screenshot 7

Auto router adds Auto to Paseo's model picker. Pick Auto, and each new chat goes to a model chosen from its first message: a typo fix can go to Claude Haiku, a design review to Claude Opus with high thinking. You set the tiers once instead of choosing a model for every chat.

How it works

  1. You set up tiers, such as Simple, Medium and Complex. Each tier has keywords and up to 10 models in order, with a thinking level per model.
  2. Auto reads the first message. Keywords decide, matched as whole words in any case, with code blocks ignored. When no keyword matches, an optional classifier model picks the tier, or the chat goes to your default tier.
  3. Auto starts the tier's model and keeps the chat on it. Follow-ups, images, attachments, approvals and Stop all go to that model. A note in the chat says which tier and model Auto chose, and why. The model also appears as a subagent of the chat, so you can open it and see everything it did.

Features

  • Fallbacks before sending. If a model cannot start, cannot read an attached image, or its provider is over your usage limit, Auto tries the next model in the tier. Once a message has been sent, Auto never sends it again elsewhere.
  • Usage limits. Each model shows its provider's usage, and Auto skips a model above your limit (90% by default) while another has room. A tier can also pick the model with the most usage headroom, to spread chats across your quotas.
  • The usual composer controls. Thinking, Permissions and Speed work as on any other model. Auto translates them for the provider the chat runs on, so Plan becomes Claude's Plan Mode or Codex's Plan toggle. Thinking defaults to the tier's setting or Medium, and permissions to Ask.
  • /reroute [tier | provider/model] [instructions] moves a chat to the next model, another tier, or a specific model. The new model gets a bounded summary of the conversation, in the same format as Paseo's own provider switch.
  • The model's own commands. Once a chat has a model, its slash commands appear beside /reroute, and a message sent mid-turn joins the running turn.
  • Optional classifier. Choose a small, fast model such as Claude Haiku to sort first messages that match no keywords, using a one-line description of each tier. Each message gets a fresh session, so it never sees another chat's text. If it takes longer than 8 seconds (15 while its session starts) or names no tier, the chat goes to the default tier.
  • Subagents by task. Claude Code, Codex and Muse chats are told which cheaper models from your tiers to give their subagents, never above the chat's own model.
  • Try it. Type a message in the settings to see the tier, model and fallback Auto would use, and ask the classifier when no keyword matches.

Setup

Auto router needs Paseo 0.19 or later, including 0.19.0-beta.1. It runs on both the daemon and the app.

It routes only to providers you have already set up and enabled in Settings → Providers, such as Claude Code, Codex or OpenCode, and uses their existing logins. It adds no accounts or tokens of its own.

Configure it in Settings → Plugins → Auto router, or run Configure Auto routing from the Command Center. Until you add a model, Auto uses the first available provider and points you to the settings. Opening the settings changes nothing until you choose.

Data and permissions

  • Your messages, images and attachments go to the provider model the chat is routed to, the same as if you had picked that model yourself. When a chat moves to another model, through /reroute, a thinking change or a replaced model, a summary of the recent conversation goes to the new model as well. Chats switched to Auto from another provider pass on the history Paseo includes.
  • Routing runs on the daemon. Auto matches keywords locally and makes no network requests of its own. It reads your providers' model lists and the usage reported by Paseo's usage sources.
  • If you turn on the classifier, the first 2,000 characters of a first message that matches no keywords go to the classifier model you chose, through that provider's existing login and usage. It runs as a hidden background agent in Plan mode. Each message gets a new session that is archived after it answers, so no other chat's text is in its context. One session waits for the next chat, warmed up with a fixed prompt that holds no chat text, so it can answer quickly; that warm-up is one extra tiny request per classified chat. Images and attachments are not sent to it. With keywords only, which is the default, nothing extra is sent.
  • With subagent routing on, Auto adds a short list of your tier models to the system prompt of Claude Code, Codex and Muse chats.
  • Routing settings are stored in Paseo's plugin settings on the daemon. Each chat's choice of model is stored with the chat.
  • When a chat moves to another model, Auto archives the previous one. Its chat stays readable under archived agents.
  • Auto starts its models as agents in the chat's workspace. They run with the permission mode you pick on the Auto chat, and their permission requests appear on the Auto chat for you to answer.

Limits

  • Keywords decide unless you turn on the classifier, which only sorts the first message of a chat. Auto does not move a chat between tiers on its own.
  • Subagent routing is an instruction the model may not follow, and it covers only Claude Code, Codex and Muse. Copilot, Cursor and Kimi could follow it, but Paseo does not yet pass a plugin's system prompt to them.
  • Paseo cannot change thinking or the permission mode of a running model. A thinking change restarts the same model with your next message and a conversation summary. A permission change applies from your next message.
  • Speed affects only Codex models. A mode a provider lacks falls back to the next safer one, and the chat says so.
  • Stop closes and reopens the model's session, because plugins have no direct interrupt.
  • Tier patterns run on the daemon with a 50 ms limit per message. A slower one counts as no match, and the chat says so.
  • If the model is deleted, archived, or stops without Auto hearing, Auto ends the turn within about 40 seconds and says why, rather than showing it as working.

Related plugins

Browse all plugins →