Content Generation Agents
Content Generation Agents
Synthesis leverages a suite of intelligent agents to transform your raw research data and documents into structured outlines, comprehensive papers, and engaging presentations. These Content Generation Agents work collaboratively within an automated pipeline, allowing you to rapidly draft, refine, and disseminate your research findings.
The Agent Pipeline
At the core of content generation is the Agent Pipeline, an orchestrated sequence of AI assistants designed to build upon each other's outputs. When you initiate the pipeline for a project, the orchestrator kicks off a series of tasks, from structuring your thoughts to generating final documents.
To start the pipeline for a project, you typically interact with a button in the UI (e.g., "Run Agents" or "Start Generation"). This action triggers a backend process:
// Example: Starting the agent pipeline for a project
export async function POST(request: NextRequest) {
const { projectId } = await request.json();
// ... validation ...
orchestrator.runPipeline(projectId) // This initiates the sequence of agents
.then(() => console.log(`[Agent Pipeline] Completed for project: ${projectId}`))
.catch(error => console.error(`[Agent Pipeline] Failed for project: ${projectId}`, error));
// ... response ...
}
You can monitor the progress of the pipeline and the individual agents within your project's dashboard, often through an AgentActivityFeed or progress indicators.
Key Content Generation Agents
Synthesis features specialized agents, each designed for a specific stage of content creation:
The Outliner Agent
The Outliner Agent is responsible for establishing the structural framework of your research. It analyzes your documents, hypotheses, and extracted concepts to propose a logical and coherent outline for your paper.
- Purpose: To structure your research, providing a roadmap for the full paper.
- Functionality: Generates a detailed, hierarchical outline, typically including sections like Introduction, Literature Review, Methodology, Results, Discussion, Conclusion, and References.
- Usage: The output of the Outliner Agent is presented in the
Outline Editorwithin your project details, allowing you to review, modify, and refine the proposed structure before the Writer Agent proceeds.
The Writer Agent
The Writer Agent takes the outline generated by the Outliner Agent and populates it with rich, detailed content, effectively drafting your entire research paper. It draws upon the deep understanding of your uploaded documents and synthesized knowledge.
-
Purpose: To generate a complete, well-researched draft of your academic paper.
-
Functionality:
- Generates comprehensive text for each section of the paper, including the title, abstract, introduction, literature review, methodology, results, discussion, and conclusion.
- Synthesizes information from your project's documents, hypotheses, and concept nodes.
- Generates a preliminary list of references.
-
Usage: The drafted paper is viewable and editable in the
Paper Viewer. Synthesis provides a built-in rich text editor, allowing you to make direct modifications to the agent-generated content.// Example: Fetching the paper generated by the writer agent const paper = getLatestAgentOutput('writer'); // Retrieves the output of the writer agentOnce the paper is generated, you can export it in various academic formats:
// Example: Exporting the generated paper await fetch(`/api/export/pdf/${project.id}`); // Download as PDF await fetch(`/api/export/latex/${project.id}`); // Download as LaTeX (.tex) await fetch(`/api/export/docx/${project.id}`); // Download as DOCX await fetch(`/api/export/markdown/${project.id}`); // Download as Markdown
The Presenter Agent
The Presenter Agent transforms your finished research paper into a compelling presentation, ready for seminars, conferences, or team briefings.
-
Purpose: To create a professional presentation based on your research paper.
-
Functionality: Analyzes the key findings, structure, and narrative of your paper to generate a series of slides, often including title, abstract, key sections, and conclusions.
-
Usage: The presentation generated by this agent can be downloaded as a PowerPoint (PPTX) file directly from your project's details view.
// Example: Generating and downloading a presentation const presentation = getLatestAgentOutput('presenter'); // Retrieves presentation slides data if (presentation && presentation.slides) { generateThemedPPT(presentation.slides, `${project.name}_Presentation`); }
By leveraging these agents, Synthesis streamlines the research communication process, helping you move from raw data to publishable insights and presentable findings with unprecedented speed and efficiency.