How it works
How Devtor orchestrates every LLM task
Devtor sits between you and your models as a control plane — deciding how, when, and which model to use. Every prompt passes through planning, intelligent routing, and execution with learning.
How it works
Orchestration in three phases
Plan, route, execute — Devtor picks the right model and learns every run.
01
Plan First
Analyze before you infer.
Analyzes task complexity, token usage, and execution path before any model runs.
terminal
$devtor run "Refactor auth module"
Analyzing task complexity...
→ Complexity: medium · planning required
→ Estimated tokens: 2,400 · budget: OK
02
Route Intelligently
Right model. Right price.
Picks the cheapest capable model. Prompt tuning and hybrid sub-agents keep quality up, cost down.
terminal
Routing decision:
task: code refactoring (medium)
prompt: optimized for haiku tier
selected: claude-3-5-haiku
03
Execute & Learn
Run once. Route smarter next time.
Runs the plan, tracks spend, caches patterns. Think mode lets you steer mid-run.
terminal
✓ Completed in 3.2s
✓ Tokens used: 1,847 / 2,400 · budget remaining: 62%
✓ Cost: $0.006
✓ Pattern cached · fix indexed for org