Overview
Build a CrewAI crew in which one agent gathers the questions people search for on a topic, another plans an article, a third drafts it, and a human editor reviews it before publishing.
Problem or Objective
- Which agents research and draft articles, newsletters or posts for a person to edit?
- Which agents can upload ads, research keywords and pull marketing numbers for you?
More in Sales, Marketing and Support
AI Agents and Models
Tools and Integrations
- Tools
- CrewAI
- Prerequisites
- Python, CrewAI, an API key for a language model, and an API key for a web search service if the researcher agent searches the web.
How It Works
Install CrewAI and create a crew project. Define four agents, each with a role, goal and backstory: a researcher with a web search tool (this needs an API key for the search service) that collects the questions people ask about your topic and the pages already answering them; a planner that turns those into an outline with a target question, headings and sources; a writer that drafts the article from the outline in your house style; and an editor agent that checks the draft against the outline, flags claims without a source and lists what a person must verify. Chain the tasks in a sequential process and have the last task write the draft and the editor's notes to a Markdown file. Run the crew for one topic, then read the draft yourself, check every fact and link, edit it, and publish it through your own website tools. Nothing is published or sent by the crew.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up CrewAI.
- Connect the toolsConnect the tools this workflow relies on: CrewAI.
- Check the prerequisitesPython, CrewAI, an API key for a language model, and an API key for a web search service if the researcher agent searches the web.
- Gather your detailsCollect what the prompt asks for: Subject area, Who the articles are for, Writing style, Where the draft goes.
- Run the starter promptPaste the starter prompt below into CrewAI and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at github.com before you rely on it.
Practical Starter Prompt: Design an SEO article crew
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Help me set up a CrewAI crew for articles about [Subject area] aimed at [Who the articles are for]. Define four agents: a researcher that uses web search to collect the questions people ask and the pages that answer them; a planner that writes an outline around one target question; a writer that drafts in this style: [Writing style]; and an editor that checks the draft against the outline and lists unsupported claims. Use a sequential process and write the draft and editor notes to [Where the draft goes]. Do not add any publishing or sending step: I will review, fact-check and publish each article myself.Run one topic at a time. Read every draft, check each fact and source, and publish through your own site tools only after a person has edited it.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The CrewAI README supports crews of role-based agents with goals, backstories and tools, sequential task chains, a web search tool and writing a task's result to a file. It says nothing about search rankings or traffic, and the quality of each draft depends on your sources, model and review.
Limitations and Considerations
Keep a person between the crew and your website: the editor agent only flags problems, it does not replace a human edit and fact check. Search tools return other people's pages; do not copy their text, and cite or link sources properly. Each run calls a language model and the search API, so check the costs of both. Publishing systems and search APIs have their own terms; check them before you automate anything further. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Sources
- crewAIInc/crewAI README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 27 Nov 2026, 04:38 UTC
What this source supports
- CrewAI is an open-source Python framework with high-level abstractions and low-level APIs for building production-ready multi-agent workflows.
- Teams of AI agents with true autonomy and agency, working together to accomplish complex tasks through role-based collaboration.
- It gives developers autonomous agent collaboration through Crews and precise, event-driven control through Flows.