Synthesis
TeamLoop’s synthesis feature generates structured documents from your knowledge graph. Transform curated subgraphs into ADRs, PRDs, executive briefs, and more.
How Synthesis Works
Section titled “How Synthesis Works”- Create a subgraph with relevant entities
- Select a template (brief, PRD, ADR)
- Start synthesis job
- Poll for completion and get output
Starting a Synthesis Job
Section titled “Starting a Synthesis Job”teamloop_synthesize: subgraph_id: "your-subgraph-uuid" template_type: "adr" additional_context: "Focus on security implications"Parameters:
| Parameter | Required | Description |
|---|---|---|
subgraph_id | Yes | The subgraph to synthesize from |
template_type | Yes | brief, prd, or adr |
additional_context | No | Extra instructions or focus areas |
Checking Job Status
Section titled “Checking Job Status”teamloop_get_synthesis_job: job_id: "abc-123-def-456"Returns job status (pending, processing, completed, failed) and output when complete.
Template Types
Section titled “Template Types”Executive summary of the knowledge in a subgraph.
Best for:
- Leadership updates
- Project summaries
- Quick overviews
PRD (Product Requirements Document)
Section titled “PRD (Product Requirements Document)”Product requirements derived from knowledge.
Best for:
- Feature specifications
- Project scoping
- Planning documents
ADR (Architecture Decision Record)
Section titled “ADR (Architecture Decision Record)”Formal documentation of architectural decisions.
Best for:
- Technical documentation
- Decision records
- Architecture reviews
Workflow Example
Section titled “Workflow Example”- Build Knowledge - Query and extract relevant entities
- Create Focused Subgraph - Group related entities
- Expand if Needed - Add related context
- Synthesize - Generate the document
- Get Result - Poll for completion
Canceling Jobs
Section titled “Canceling Jobs”Cancel pending or in-progress jobs:
teamloop_cancel_synthesis_job: job_id: "abc-123-def-456"Best Practices
Section titled “Best Practices”1. Curate Your Subgraph
Section titled “1. Curate Your Subgraph”Better input = better output. Use focused queries rather than broad ones.
2. Use Additional Context
Section titled “2. Use Additional Context”Guide the synthesis with specific instructions about focus areas or audience.
3. Review and Iterate
Section titled “3. Review and Iterate”Synthesis output is a starting point - review for accuracy, add missing context, and validate technical details.
4. Right Template for Right Purpose
Section titled “4. Right Template for Right Purpose”| Use Case | Template |
|---|---|
| Leadership update | brief |
| New feature spec | prd |
| Technical decision record | adr |
Output Quality
Section titled “Output Quality”Synthesis quality depends on:
- Subgraph richness - Include decisions, rationale, alternatives
- Entity completeness - Fill in descriptions, dates, relationships
- Context clarity - Use additional_context to guide focus
- Temporal coverage - Include historical context
Limitations
Section titled “Limitations”- Synthesis may take 30-120 seconds
- Maximum subgraph size: 100 entities
- Output is AI-generated - always review
- Complex topics may need multiple synthesis runs
Next Steps
Section titled “Next Steps”- Subgraphs - Create better inputs
- Knowledge Graphs - Build richer entities
- MCP Tools Reference - Full tool documentation