Synthesize Sources
POST /api/agents/research/synthesize
Synthesize analysis across multiple sources.
Routes through :class:LaganResearchSynthesizeHandler after Phase
A12 of the M15 migration; the legacy Lagan-LLM fallback was retired
with the LLM provider stack.
Request Body required
Section titled “Request Body required ”Request to synthesize multiple sources.
Synthesizes information from multiple sources to find agreements, disagreements, and unique insights across sources.
Fields:
sources: List of sources to synthesize (required, minimum 2)synthesis_goal: Goal of synthesis (compare viewpoints, find consensus, etc.)
Synthesis Goals:
- Compare viewpoints: Identify different perspectives
- Find consensus: Identify agreed-upon points
- Identify gaps: Find information gaps
- Extract patterns: Find common patterns
Usage: Used to synthesize multiple research sources.
Integration:
- ResearchRoutes: Request validation for /research/synthesize endpoint
- LaganAgent: Multi-source synthesis processing
object
Sources to synthesize (must have ‘content’ field)
object
Goal of synthesis (e.g., ‘compare viewpoints’, ‘find consensus’)
Responses
Section titled “ Responses ”Successful Response
Response with synthesized analysis across sources.
Provides synthesized analysis including points of agreement, disagreement, and unique insights from each source.
Fields:
success: Whether synthesis was successfulsynthesis: Main synthesized analysis textagreements: Points of agreement across sourcesdisagreements: Points of disagreement between sourcesunique_insights: Unique insights from individual sourcesconfidence: Synthesis quality confidence score (0.0-1.0)
Usage: Returned by source synthesis endpoints.
Integration:
- ResearchRoutes: Response model for /research/synthesize endpoint
- Frontend: Synthesis results display
object
Whether synthesis was successful
Synthesized analysis across all sources
Points of agreement
Points of disagreement
Unique insights from each source
Synthesis confidence
Validation Error