|
|
CrewAI Multi-Agent Research
Author: Venkata Sudhakar
CrewAI lets you build teams of specialised AI agents where each agent has a defined role, goal, and backstory shaping how it approaches work. Instead of one agent doing everything, you compose a crew: a researcher who gathers information, an analyst who interprets it, and a writer who produces the polished output. Each agent works on its task sequentially, passing output to the next. The crew pattern mirrors how human teams actually work - specialists collaborating with clear handoffs rather than a single generalist trying to do everything at once. A CrewAI crew has three building blocks: agents (specialists with roles, goals, backstories, and optional tools), tasks (specific work items with expected outputs assigned to agents), and a crew object that orchestrates the execution. Tasks set to sequential process run one after another, with each task automatically receiving the previous task output as context. Agents can use tools like web search, file reading, or code execution autonomously as needed to complete their tasks. The below example builds a three-agent competitive analysis crew for a SaaS product team: a researcher gathering competitor data, a strategy analyst identifying opportunities and threats, and a report writer producing an executive brief the CEO can act on.
Defining tasks and running the crew on a real business analysis request,
It gives the following condensed output showing agent handoffs,
[Researcher] Searching: Zoho CRM pricing India 2025...
[Researcher] Searching: Salesforce India CRM pricing features 2025...
[Researcher] Searching: HubSpot CRM India pricing 2025...
[Researcher] Research complete. Handing off to Analyst.
[Analyst] Analysing competitive gaps and strategic position...
[Analyst] Identified 3 key opportunities and 3 threats. Handing off to Writer.
[Writer] Drafting executive report...
=== FINAL COMPETITIVE ANALYSIS REPORT ===
EXECUTIVE SUMMARY
- Zoho CRM leads on price-value ratio in India at Rs 1,300/user/month vs
Salesforce at Rs 5,800+ - a 4x cost advantage for SMB customers.
- Salesforce and HubSpot are expanding India enterprise presence with
dedicated data centres and local support teams in 2025.
- Key opportunity: mid-market segment (50-500 employees) is underserved
by all three competitors on vernacular language support.
COMPETITOR SNAPSHOTS
Salesforce: Dominant in enterprise. Recent 2025 launch of Agentforce AI
platform threatens to widen feature gap at the top end.
HubSpot: Strong inbound marketing + CRM integration. Free tier drives
top-of-funnel adoption that converts to paid aggressively.
Freshsales: Closest direct competitor. Fresher UI, aggressive India pricing,
but weaker analytics than Zoho.
TOP 5 PRIORITISED ACTIONS
1. Launch Hindi/regional language interface - capture underserved SMB segment
2. Build AI assistant feature parity with Salesforce Agentforce
3. Create HubSpot migration tool to capture their churning free-tier users
4. Publish India-specific ROI calculator to counter enterprise deals
5. Expand Chennai/Pune support centres for regional enterprise credibility
# Researcher, Analyst, Writer each did their job independently
# Full report produced autonomously from a single crew.kickoff() call
CrewAI works best when tasks genuinely require different expertise or perspectives. A research task needs factual grounding and tool use; an analysis task needs strategic interpretation; a writing task needs clarity and structure. If all three can be done well by the same system prompt, use a single agent instead. For longer running crews, set memory=True on the crew to allow agents to remember relevant context across tasks. CrewAI also supports hierarchical process where a manager agent can delegate tasks dynamically - useful when you do not know in advance exactly how many research subtasks will be needed.
|
|