Skip to content
maenifold
GitHub

Advanced Research Agent

11 steps

Sophisticated single-agent research workflow with HyDE enhancement, topic coverage analysis, reflexion loops, and knowledge integration

Triggers

research agentdeep researchsystematic researchresearch workflowknowledge discoveryacademic researchresearch analysis

Steps

  1. 1.

    🎯 Research Initiation & Topic Analysis

    🧠 ENHANCED THINKING REQUIRED

    Systematic research planning and topic analysis.

    1. Analyze research query and identify core concepts, knowledge domains, and research objectives
    2. Create initial topic coverage vector mapping key research areas, knowledge gaps, and information requirements
    3. Develop research strategy with information seeking priorities, source types, and quality criteria
    4. Establish stopping criteria based on information gain thresholds and coverage completeness
    5. Generate initial research questions and hypothesis framework

    Output: memory://research/[topic]/research-plan.md Include: Coverage vector, research questions, stopping criteria, 10+ [[WikiLinks]]

    Enhanced Thinking
    Tools:SequentialThinking*WriteMemory*
    Effort:high
    Guardrails
    • wikilink_density: Minimum 10 [[WikiLinks]] in research plan (e.g., [[research-methodology]], [[information-gain]], [[hypothesis]])
    • scope_definition: Clear boundaries must be established
    • time_budget: Define maximum research duration
  2. 2.

    📚 Knowledge Baseline Assessment

    Establish baseline knowledge and identify gaps.

    1. Search memory system for existing knowledge related to research topic using semantic search
    2. Identify knowledge gaps, outdated information, and areas requiring deeper investigation
    3. Map existing knowledge to topic coverage vector and calculate baseline information coverage
    4. Document current understanding limitations and research priorities
    5. Establish knowledge baseline for measuring information gain during research process

    Output: memory://research/[topic]/knowledge-baseline.md Include: Coverage assessment, gap analysis, baseline metrics

    Enhanced Thinking
    Tools:SearchMemories*BuildContext
    Effort:medium
  3. 3.

    🔍 HyDE Query Expansion & Research Planning

    🧠 ENHANCED THINKING REQUIRED

    Generate hypothetical documents for enhanced search.

    1. For each research question, generate hypothetical documents that would answer the question completely
    2. Extract key concepts, technical terms, and semantic contexts from hypothetical documents
    3. Create expanded search queries with semantic richness, alternative phrasings, and domain-specific terminology
    4. Develop search strategy prioritizing academic sources, technical documentation, and expert analysis
    5. Plan multi-stage information gathering with progressive refinement

    Output: memory://research/[topic]/hyde-queries.md Include: Hypothetical documents, expanded queries, search strategy

    Enhanced Thinking
    Tools:SequentialThinking*WriteMemory*
    Effort:high
    Guardrails
    • query_diversity: Generate 3-5 variations per research question
    • semantic_richness: Include technical terms and synonyms
  4. 4.

    🌐 Enhanced Information Gathering

    Execute HyDE-enhanced queries and gather information.

    1. Execute expanded queries using web research tools
    2. Gather information from diverse sources: academic papers, technical documentation, expert blogs, industry reports
    3. Apply relevance scoring based on topic coverage vector alignment and information novelty
    4. Extract key findings, evidence, and insights with source attribution
    5. Update topic coverage vector with new information and calculate information gain metrics
    6. Continue until information gain falls below threshold or coverage targets met

    Output: memory://research/[topic]/research-data.md Include: Findings with sources, relevance scores, information gain metrics

    Enhanced Thinking
    Tools:WebSearch*WebFetch*WriteMemory*
    Effort:medium
    Guardrails
    • source_diversity: Minimum 5 different source types
    • evidence_quality: Prioritize peer-reviewed and authoritative sources
  5. 5.

    🧬 Unsupervised Topic Discovery

    🧠 ENHANCED THINKING REQUIRED

    Analyze for emergent themes and latent topics.

    1. Analyze collected research data for latent topics and emergent themes not covered in initial research plan
    2. Identify conceptual clusters, relationship patterns, and knowledge connections using semantic analysis
    3. Discover unexpected research directions, contradictory evidence, and knowledge synthesis opportunities
    4. Update topic coverage vector with discovered themes and assess coverage completeness
    5. Generate additional research questions for newly discovered topics if information gain potential is high

    Output: memory://research/[topic]/topic-discovery.md Include: Emergent themes, conceptual clusters, updated coverage vector

    Enhanced Thinking
    Tools:SequentialThinking*BuildContext
    Effort:high
    Guardrails
    • theme_threshold: Only add themes with 3+ supporting sources
    • scope_control: Limit to top 5 emergent themes
  6. 6.

    🎭 Multi-Perspective Research Analysis

    🧠 ENHANCED THINKING REQUIRED

    Analyze findings from multiple expert perspectives.

    1. Adopt specialized research perspectives: critical analyst (evidence evaluation), creative synthesizer (pattern recognition), methodological reviewer (research quality)
    2. Each perspective analyzes research findings with domain expertise and specialized focus
    3. Identify contradictions, gaps, biases, and synthesis opportunities through perspective analysis
    4. Generate research insights through collaborative analysis and cross-perspective validation
    5. Document perspective consensus and areas requiring additional investigation

    Output: memory://research/[topic]/perspective-analysis.md Include: Multi-perspective insights, contradictions, consensus findings

    Enhanced Thinking
    Tools:SequentialThinking*
    Effort:high
    Guardrails
    • perspective_balance: Equal weight to each perspective
    • bias_mitigation: Document potential biases explicitly
  7. 7.

    🔄 Research Synthesis & Reflexion

    🧠 ENHANCED THINKING REQUIRED

    Synthesize findings and apply quality review.

    1. Synthesize research findings into coherent knowledge framework with key insights, evidence patterns, and conceptual relationships
    2. Apply six thinking hats review: WHITE (facts/data), RED (intuition/gaps), BLACK (critical flaws), YELLOW (opportunities), GREEN (creative connections), BLUE (process assessment)
    3. Identify synthesis weaknesses, logical gaps, insufficient evidence, and areas requiring refinement
    4. Trigger additional research cycles if critical gaps identified
    5. Refine synthesis until quality thresholds met

    Output: memory://research/[topic]/research-synthesis.md Include: Synthesized framework, thinking hats assessment, quality scores

    Enhanced Thinking
    Tools:SequentialThinking*
    Effort:high
  8. 8.

    🧠 Knowledge Integration & Memory Creation

    Integrate research into maenifold knowledge graph.

    1. Create comprehensive memory entities for key research findings with [[WikiLink]] connections to related concepts
    2. Establish knowledge relationships between new findings and existing memory system
    3. Document research methodology, evidence quality, and confidence levels for future reference
    4. Create research context preservation for long-term knowledge building
    5. Update knowledge base with integrated insights and research outcomes

    Output: Multiple memory files with rich [[WikiLinks]] Include: All key findings, methodology, confidence levels

    Enhanced Thinking
    Tools:WriteMemory*Sync*
    Effort:medium
    Guardrails
    • wikilink_minimum: 15+ [[WikiLinks]] per memory file (e.g., [[semantic-search]], [[knowledge-graph]], [[synthesis]])
    • relationship_density: Cross-link to existing knowledge
  9. 9.

    📈 Information Gain & Completion Assessment

    🧠 ENHANCED THINKING REQUIRED

    Quantitative assessment of research outcomes.

    1. Calculate final information gain using topic coverage vector comparison (baseline vs current)
    2. Assess research completeness against initial objectives and stopping criteria
    3. Evaluate research quality metrics: source diversity, evidence strength, synthesis coherence, knowledge integration
    4. Document confidence levels for research conclusions and areas of uncertainty
    5. Determine if additional research cycles needed based on information gain thresholds

    Output: memory://research/[topic]/information-gain-report.md Include: Metrics, coverage percentages, quality scores

    Enhanced Thinking
    Tools:SequentialThinking*
    Effort:medium
    Guardrails
    • minimum_gain: Require 20% information gain for success
    • coverage_target: 80% domain coverage for completion
  10. 10.

    📋 Research Deliverable Creation

    🧠 ENHANCED THINKING REQUIRED

    Create comprehensive research report.

    1. Create comprehensive research report with executive summary, methodology, key findings, evidence analysis, and conclusions
    2. Include research journey documentation with information gain progression and topic discovery insights
    3. Document research limitations, confidence levels, and areas for future investigation
    4. Provide actionable insights and practical applications of research findings
    5. Format for target audience with appropriate technical depth and visual clarity

    Output: memory://research/[topic]/research-report.md Include: Executive summary, findings, methodology, actionable insights

    Enhanced Thinking
    Tools:SequentialThinking*WriteMemory*
    Effort:high
    Guardrails
    • completeness: All sections must be populated
    • actionability: Minimum 5 actionable insights
    • wikilink_density: 20+ [[WikiLinks]] in report (e.g., [[research-findings]], [[evidence-analysis]], [[actionable-insights]])
  11. 11.

    ✅ Research Quality Validation

    🧠 ENHANCED THINKING REQUIRED

    Final quality validation and scoring.

    1. Verify research objectives achieved with documented evidence and clear conclusions
    2. Validate methodology rigor including source quality, bias mitigation, and evidence evaluation
    3. Assess synthesis quality with logical coherence, knowledge integration, and insight generation
    4. Confirm knowledge preservation with proper memory entity creation and [[WikiLink]] connections
    5. Document research confidence metrics and limitation acknowledgments
    6. Generate final research validation score and readiness assessment

    Output: memory://research/[topic]/research-validation.md Include: Quality scores, confidence metrics, validation checklist

    Enhanced Thinking
    Tools:SequentialThinking*
    Effort:medium
    Guardrails
    • minimum_score: 7/10 overall quality required
    • mandatory_checks: All validation criteria must be assessed