A researcher agent without a search tool can only repeat what its model already knows. CrewAI ships built-in tools, including SerperDevTool for web search, and the researcher needs one to find anything current.
Before you start
You need a CrewAI project with the tools package installed, using pip install 'crewai[tools]', and a Serper API key saved in .env. The researcher agent must already exist in agents.yaml or in code.
Import the tool and attach it to the researcher
In crew.py, import SerperDevTool from crewai_tools and add it to the researcher agent tools list. Keep the tool list short: one search tool and one scrape tool is enough for a researcher. A long tool list makes the agent pick the wrong tool.
Test with a question only search can answer
Run the crew with a question about a recent development, for example news from the last week. Check the output cites pages the search returned. If the answer has no sources, the agent did not call the tool, and the task description needs to require a search.
Worked example: Three questions for a fictional research crew
Maple Research is a fictional research desk. Its researcher has a web search tool. The table shows which questions need it.
| Question | Needs web search? | Why |
|---|---|---|
| What happened in the market this week? | Yes | The events are from this week |
| What is the capital of Norway? | No | A stable fact the model already knows |
| Who won the award yesterday? | Yes | The result is from yesterday |
Expected result (UNTESTED): the two recent questions produce answers that cite search results, and the stable fact is answered without a search. We checked the CrewAI documentation summary, which lists SerperDevTool among the built-in tools, but we did not run the crew on this machine.
Limits
Search results can be wrong or stale, so the researcher still needs to check the source before citing it. Each search is a call on top of the model call. For facts that must be exact, give the agent one trusted page to open instead of an open search.
