Understand the Research Pipeline and Features
mainThe research engine follows a multi-phase pipeline:
Scope $\rightarrow$ Plan $\rightarrow$ Retrieve (parallel search + agents) $\rightarrow$ Triangulate $\rightarrow$ Outline Refinement $\rightarrow$ Synthesize $\rightarrow$ Critique (with loop-back) $\rightarrow$ Refine $\rightarrow$ Package.
Key Pipeline Features:
- Step 0 (Date Detection): Retrieves the current date before searching to prevent stale training-data year assumptions.
- Parallel Retrieval: Executes 5-10 concurrent searches and uses 2-3 focused sub-agents to return structured evidence.
- Critique Loop-back: In Phase 6, the engine can return to Phase 3 with delta-queries if critical information gaps are identified.
- Multi-persona Red Teaming: For Deep/UltraDeep modes, the engine uses personas like Skeptical Practitioner, Adversarial Reviewer, and Implementation Engineer to validate findings.
- Disk-persisted Citations: Citations are stored in
sources.jsonto ensure they survive context compaction and agent handoffs.