Routing Studio is the visual editor that decides which model answers which prompt. Intent rules, confidence floors, per-mode overrides, and a live test bench, all without code.
THE EDITOR
Cascade visualization on the left, rules + examples editor in the middle, and a debounced test bench on the right, every change replays against your saved snapshot in real time.
MEMORY VS DECISIONS
The two surfaces work together: Memory Console tells you what your AI knows, Routing Studio tells you what your AI does.
What your AI remembers about each customer, account, and conversation. Source-tagged, confidence-scored, freshness-aware.
Tour the Memory ConsoleWhich model answers, which skill fires, which guardrail trips. Visual rules, confidence floors, per-mode overrides , with a live test bench for every change.
UNDER THE HOOD
Every prompt runs through a two-tier classifier: regex fast-path in <1ms, then Haiku slow-path for ambiguous cases. Emits a confidence score per mode.
Promotion to a new mode requires confidence ≥ 0.85 by default. Override per mode in the studio. The caller's preference wins if the classifier isn't certain.
Each Theo engine has an ordered provider chain. Circuit breakers trip on > 5% error rate; the next provider takes over without the caller noticing.
STUDIO + SDK
Every routing rule is editable straight off the API key via /api/v1/keys/[id]/routing-rules. No “preference” to create first, version control your rules alongside your code and ship them with the key.
import { Theo } from "@hitheo/sdk";
const theo = new Theo({ apiKey: process.env.THEO_KEY });
await theo.routingRules.set(process.env.KEY_ID, {
rules: [
{ pattern: "\\b(clause|provision)\\b", target_mode: "think", confidence: 0.92 },
{ pattern: "/research|cite/i", target_mode: "research", confidence: 0.9 },
],
confidence_floor_overrides: { vision: 0.7 },
});Built into every Theo account. Open an API key, write a rule, hit the test bench. No router code to maintain, no separate preference to wire up.