Plan First
Analyze before you infer.
Overview
Every Devtor session starts with structured planning. Granular plan mode kicks in when a task needs it — producing step-by-step execution plans that reduce hallucinations and token waste. Pre-execution token estimation and token budgeting surface projected cost before any inference runs.
In depth
Plan-first mode scores task complexity, estimates tokens, and applies your budget limits. When planning is warranted, Devtor generates detailed step-by-step plans — output as structured plan.html for review. You approve, adjust context, or cancel — so expensive models are never invoked blindly on work a cheaper agent could handle.
What happens
- 1Parse the natural-language task and intent
- 2Detect whether granular planning is required
- 3Estimate tokens, cost, and budget headroom
- 4Generate plan.html or lightweight routing preview
- 5Present the plan for approval or adjustment
Terminal output
Benefits
- Granular plans when complexity demands them
- Pre-execution token and cost estimates
- Token budgets enforced before compute starts
- Structured plan.html output for reviewable decisions
Related capabilities
Build, test, and benchmark custom agent behaviors.
Only pass what's relevant. Not the full conversation history.
Know the cost before you commit the compute.
Set spend limits. Stay inside them.
Detailed step-by-step plans when the task demands them.
Add and remove context to control AI output.
Plans as interactive HTML, not markdown walls.
Coding conventions extracted from your codebase.
Ready to orchestrate?
Installation guide and CLI — coming soon.