Skip to content

meta-routing

Efficientdiscovery

Decide which instruction(s) to invoke, in what order, and how to chain them for compound tasks.

Use when you need to choose which instruction to invoke, when a task spans multiple domains, when instructions should run serially vs in parallel, or when escalation or cross-instruction chaining is needed.

Triggers: “not sure which tool”, “compound task”, “what instruction do I use”, “route this”, “which tools should I chain”

meta-routing consults the full instruction registry and workflow specification to determine:

  1. Domain classification — Which domain(s) does the request span?
  2. Serial vs parallel — Can instructions run in parallel or must they be sequential?
  3. Escalation route — Which model class is appropriate given the complexity?
  4. Chain recommendation — Which instructions to invoke next and in what order

on-context-drift — re-invoked whenever the embedding-cosine context drift detector fires, preventing routing collapse on long sessions.

{
"request": "We need to design a new service, implement it, and make sure it passes governance review"
}

Output:

Step 1: system-design (Advanced) — architecture and constraints
Step 2: feature-implement (Advanced) — parallel with step 3
Step 3: policy-govern (Advanced) — governance pre-check
Step 4: code-review (Cross-Model) — final quality gate

Use graph-visualize with chain-graph to inspect instruction chains and routing topology visually.