How it works overview
Phase 02

Route Intelligently

Right model. Right price.

Overview

Routing is where Devtor earns its name as a control plane. Smart model selection, prompt optimization, and hybrid super-agent architecture work together — an expensive orchestrator delegates to cheaper sub-agents while model limitation awareness prevents hallucinated output.

In depth

Devtor compares task requirements against provider capabilities, latency, and price. Prompts are tuned per model tier. When a task exceeds what a cheap model can handle, Devtor escalates instead of guessing. Routing decisions are logged and explainable.

What happens

  1. 1Match task type to model capability profiles
  2. 2Optimize prompts for the selected model tier
  3. 3Delegate subtasks to cheaper sub-agents when possible
  4. 4Escalate when model limitations are exceeded
  5. 5Log skipped models and cost delta for audit

Terminal output

terminal
Routing decision:
task: code refactoring (medium)
prompt: optimized for haiku tier
selected: claude-3-5-haiku
sub-agents: 2 delegated · orchestrator validates
cost delta: -$0.08 vs default

Benefits

  • Smart model selection per task type
  • Prompt optimization for cheaper model tiers
  • Hybrid orchestrator + sub-agent delegation
  • Model limitation awareness prevents bad output

Ready to orchestrate?

Installation guide and CLI — coming soon.

Get started