Purpose and responsibility
The planner:- Reads research findings from the blackboard
- Analyzes existing documentation structure
- Creates documentation plans with sections and operations
- Maps findings to specific sections
- Writes plans back to the blackboard for the writer to execute
Agent creation
planner.ts
Tool requirements
planner.ts
- DocTools - Read documentation files and navigation structure
- Blackboard read tools - Read findings and existing plans
- Blackboard write tools - Write new plans and submit them
Workflow
Planning principles
The planner follows these core principles:Reorganize over add
If documentation is messy, reorganize first rather than adding more pages.Update over create
If a document exists but is incomplete, update it rather than creating a new one.Consolidate over duplicate
If multiple documents cover similar topics, merge them rather than creating duplicates.Delete ruthlessly
Remove outdated or overly technical sections that don’t serve end users.Simplify
If content is too technical, plan to rewrite in user-facing language.Documentation structure guidelines
When to split into multiple pages
Create multiple pages when:- A single concept has multiple distinct aspects (overview, setup, usage, reference)
- Content exceeds 1500 words or takes more than 5 minutes to read
- Users have different goals (quick start vs deep dive)
- A feature has sub-features that can stand alone
When to keep on one page
Keep content together when:- Content is naturally sequential and best read together
- Splitting would create very thin pages (less than 300 words)
- Cross-referencing would be more confusing than scrolling
Navigation structure
Organize groups by user intent, not internal product structure:- Getting Started - Onboarding flows (welcome, quick start, first success)
- Core Concepts or Product - How the main features work
- Features - Detailed feature documentation
- Guides or How-to - Task-oriented recipes
- Reference - Exhaustive details, glossaries
Mintlify component guidance
The planner considers when components should be used:<Steps>for actual multi-step procedures<Tabs>when content genuinely differs by use case<Accordion>for truly optional or advanced content<Card>for navigation links, not for every section
Blackboard communication
The planner reads findings and writes plans:Termination rules
The planner stops when:submit_planis called (expected termination)- The step count reaches 12 (safety limit)
planner.ts
Model configuration
The planner uses the fast model tier for structure creation:planner.ts
config.agents.runtime.planner.