DEEP RESEARCH AGENT�EXAMPLES
GEORGI NAYDENOV
SINGLE AGENT WORKFLOW
User
Simple Search Agent
The agent reviews whether it can answer directly or call Perplexity
The agent stores the conversation in its short-term memory.
The model generates a response.
User sends a search request
Send message
SEARCH ORCHESTRATION
Search Planner
The agent processes its system prompt.
Breaks down the user request into specific subtasks
Outputs subtasks in JSON format
User�(Replit Web UI)
Webhook
Receive POST Payload to n8n
/POST
Search Orchestrator
Ingests JSON subtasks.
Task execution is parallelized.
Call Search Worker
Aggregate the JSON Results
LLM�Output Parser�
LLM�Search Worker�Query Results Store
AI Summarizer
Read results JSON
Synthesize insights
Generate Markdown report
LLM
Transform MD to HTML
POST response payload
Render in Replit UI
Send Report
Ship to UI
Search Worker (executed by Orchestrator)
EXA API REQUEST
HTTP POST
SPLIT OUT
Normalize
EDIT FIELDS
Shape JSON
RETURN TO ORCHESTRATOR
Results JSON
Aggregate results
MULTI-AGENT RESEARCH SYSTEM
Form Submission�(n8n form)
Customer Support Agent
Clarify scope
Open AI Model
Simple Memory
Structured Output Parser
Submit Research
Edit Fields
Lead Agent (Orchestrator)
Plan, coordinate 3-7 Search Subagents
Open AI Model
Simple Memory
Think/Parser
Search Subagent
Copywriter Agent
Synthesize, format & deliver
Open AI Model
Think
Think/Parser
Structured Output Praser
HTTP REQUEST (MarkdownMaster)
UPLOAD FILE
Search Subagent
Search the Internet
LLM
Brave Search Agent
Workflow Trigger
Switch Function
Website Fetch
Think
HTTP GET REQUEST
LLM Chain
Gemini 2.5 Lite
Fetch a Website
Output findings in JSON
AGENT SWARM — HIGH-LEVEL ORCHESTRATION
Customer Support Agent
Clarify scope
Open AI Model
Simple Memory
Structured Output Parser
Submit Research
Edit Fields
Planning Orchestrator
Create Research Plan
Deep Seek R1
Split and Merge
Google Sheets Connector
Structured Output Parser
Slack Approval
Human-in-the-loop
Approve
Deny
Request changes
Approve
Request Changes
Reviewer Loop�If changes are requested
Push to Agent Swarm
Agent Swarm (Plan Approved)
Sources Agent
Compiles the final list of agents
LLM
Google Sheets
Merge Function
ToC Agent
Compile the Table of Contents
LLM
Javascript Function
Google Sheets
Sheets-to-PDF
Form Submission�(n8n form)