Library / AI Agents & Assistants
AI Agents & Assistants
Write and Edit Content with a Recursive Multi-Agent OpenAI Template
When a chat message arrives, writing and editing OpenAI agents with memory take turns improving the output until the editor marks it complete.
What it does
## Editing Agent This agent suggest edits to improve the writing output of the writing agent. It then evaluates whether the edits were incorporated into the writing.
The steps
- When chat message received
- Window Buffer Memory
- set variables
- chatInput
- Structured Output Parser
- OpenAI Chat Model
- handle edits
- If Status Complete
- Writing Agent
- Editing Agent
- chatOutput
Similar automations
RAG & Knowledge BasesRecursive Hybrid RAG for Google Drive Files with Supabase23 stepsAI Agents & AssistantsEdit and publish OrbitPage site content with OpenAI chat approval18 stepsContent Writing & GenerationWrite and Publish WordPress Blog Posts with Multi-Agent LLMs37 stepsAI Agents & AssistantsEvaluate Multi-Agent Answers with n8n Evaluation Nodes15 steps